[Qgis-developer] Does trunk now require 4.2? Link error

Magnus Homann magnus at homann.se
Thu Sep 28 16:08:16 EDT 2006


Hello!

Trying to compile trunk with Qt4.1.2 on dapper/Linux. Do I need Qt4.2 
instead?

I got the following link error:
******************************
g++ -shared -nostdlib 
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/crti.o 
/usr/lib/gcc/i486-linux-gnu/4.0.3/crtbeginS.o 
.libs/libqgis_core_la-qgis.o .libs/libqgis_core_la-qgsapplication.o 
.libs/libqgis_core_la-qgsbookmarkitem.o 
.libs/libqgis_core_la-qgsclipper.o .libs/libqgis_core_la-qgscolortable.o 
.libs/libqgis_core_la-qgscontexthelp.o 
.libs/libqgis_core_la-qgscustomsymbol.o 
.libs/libqgis_core_la-qgsdatamanager.o 
.libs/libqgis_core_la-qgsdatasource.o 
.libs/libqgis_core_la-qgsdistancearea.o 
.libs/libqgis_core_la-qgsexception.o .libs/libqgis_core_la-qgsfeature.o 
.libs/libqgis_core_la-qgsfeatureattribute.o 
.libs/libqgis_core_la-qgsfield.o .libs/libqgis_core_la-qgsgeometry.o 
.libs/libqgis_core_la-qgsgeometryvertexindex.o 
.libs/libqgis_core_la-qgslabelattributes.o 
.libs/libqgis_core_la-qgsline.o .libs/libqgis_core_la-qgslinesymbol.o 
.libs/libqgis_core_la-qgslogger.o .libs/libqgis_core_la-qgsmaptopixel.o 
.libs/libqgis_core_la-qgsmarkercatalogue.o 
.libs/libqgis_core_la-qgsmarkersymbol.o 
.libs/libqgis_core_la-qgsnumericsortlistviewitem.o 
.libs/libqgis_core_la-qgspluginitem.o 
.libs/libqgis_core_la-qgspluginregistry.o 
.libs/libqgis_core_la-qgspoint.o 
.libs/libqgis_core_la-qgspolygonsymbol.o 
.libs/libqgis_core_la-qgsprojectproperty.o 
.libs/libqgis_core_la-qgsprovidercountcalcevent.o 
.libs/libqgis_core_la-qgsproviderextentcalcevent.o 
.libs/libqgis_core_la-qgsprovidermetadata.o 
.libs/libqgis_core_la-qgsproviderregistry.o 
.libs/libqgis_core_la-qgsrangerenderitem.o 
.libs/libqgis_core_la-qgsrasterdataprovider.o 
.libs/libqgis_core_la-qgsrect.o .libs/libqgis_core_la-qgsrenderer.o 
.libs/libqgis_core_la-qgsrenderitem.o 
.libs/libqgis_core_la-qgsscalecalculator.o 
.libs/libqgis_core_la-qgssearchstring.o 
.libs/libqgis_core_la-qgssearchstringlexer.o 
.libs/libqgis_core_la-qgssearchstringparser.o 
.libs/libqgis_core_la-qgssearchtreenode.o 
.libs/libqgis_core_la-qgssymbol.o 
.libs/libqgis_core_la-qgssymbologyutils.o 
.libs/libqgis_core_la-qgsvectordataprovider.o 
.libs/libqgis_core_la-qgscontexthelp.moc.o 
.libs/libqgis_core_la-qgsdataprovider.moc.o 
.libs/libqgis_core_la-qgsrasterdataprovider.moc.o  -L/usr/lib 
/usr/lib/libQtCore.so /usr/lib/libQt3Support.so /usr/lib/libQtGui.so 
/usr/lib/libQtNetwork.so /usr/lib/libQtXml.so /usr/lib/libQtSvg.so 
/usr/lib/libQtTest.so -lQtDesigner /usr/lib/libgdal.so 
/usr/lib/libgeos.so /usr/lib/libsqlite3.so -lutil 
-L/usr/lib/gcc/i486-linux-gnu/4.0.3 
-L/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib 
-L/usr/lib/gcc/i486-linux-gnu/4.0.3/../../.. -L/lib/../lib 
-L/usr/lib/../lib -lstdc++ -lm -lc -lgcc_s 
/usr/lib/gcc/i486-linux-gnu/4.0.3/crtendS.o 
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/crtn.o  -Wl,-soname 
-Wl,libqgis_core.so.0 -o .libs/libqgis_core.so.0.0.1
/usr/bin/ld: cannot find -lQtDesigner
collect2: ld returned 1 exit status


******************************


-- 
Magnus Homann
magnus at homann.se
+46 702 399 558



More information about the Qgis-developer mailing list