Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
4.6.3, 4.7.0
-
None
-
None
-
Linux Ubuntu 10.04, Qt-4.6.3/4.7.0
Description
On Linux (Ubuntu 10.04) with both 4.6.3 and 4.7.0 the static build crashes:
g++ -Wl,-rpath-link,/home/gib/qt-4.7.0/lib -fno-exceptions -Wl,-O1 -Wl,-rpath,/usr/local/Trolltech/Qt-4.7.0-static/lib -Wl,-rpath,/usr/local/Trolltech/Qt-4.7.0-static/lib -o ../../../../bin/assistant .obj/release-static/fontpanel.o .obj/release-static/aboutdialog.o .obj/release-static/bookmarkdialog.o .obj/release-static/bookmarkfiltermodel.o .obj/release-static/bookmarkitem.o .obj/release-static/bookmarkmanager.o .obj/release-static/bookmarkmanagerwidget.o .obj/release-static/bookmarkmodel.o .obj/release-static/centralwidget.o .obj/release-static/cmdlineparser.o .obj/release-static/contentwindow.o .obj/release-static/findwidget.o .obj/release-static/filternamedialog.o .obj/release-static/helpenginewrapper.o .obj/release-static/helpviewer.o .obj/release-static/indexwindow.o .obj/release-static/installdialog.o .obj/release-static/main.o .obj/release-static/mainwindow.o .obj/release-static/preferencesdialog.o .obj/release-static/qtdocinstaller.o .obj/release-static/remotecontrol.o .obj/release-static/searchwidget.o .obj/release-static/topicchooser.o .obj/release-static/xbelsupport.o .obj/release-static/collectionconfiguration.o .obj/release-static/helpviewer_qtb.o .obj/release-static/moc_fontpanel.o .obj/release-static/moc_aboutdialog.o .obj/release-static/moc_bookmarkdialog.o .obj/release-static/moc_bookmarkfiltermodel.o .obj/release-static/moc_bookmarkmanager.o .obj/release-static/moc_bookmarkmanagerwidget.o .obj/release-static/moc_bookmarkmodel.o .obj/release-static/moc_centralwidget.o .obj/release-static/moc_contentwindow.o .obj/release-static/moc_findwidget.o .obj/release-static/moc_filternamedialog.o .obj/release-static/moc_helpenginewrapper.o .obj/release-static/moc_indexwindow.o .obj/release-static/moc_installdialog.o .obj/release-static/moc_mainwindow.o .obj/release-static/moc_preferencesdialog.o .obj/release-static/moc_qtdocinstaller.o .obj/release-static/moc_remotecontrol.o .obj/release-static/moc_searchwidget.o .obj/release-static/moc_topicchooser.o .obj/release-static/moc_helpviewer_qtb.o .obj/release-static/qrc_assistant.o .obj/release-static/qrc_assistant_images.o -L/home/gib/qt-4.7.0/lib -L/home/gib/qt-4.7.0/plugins/sqldrivers -lQtHelp -L/home/gib/qt-4.7.0/lib -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -L/usr/X11R6/lib -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -lQtCLucene -pthread -pthread -L/usr/local/Trolltech/Qt-4.7.0-static/plugins/sqldrivers -lqsqlite -lQtSql -pthread -pthread -lQtXml -pthread -pthread -lQtGui -ljpeg -pthread -pthread -pthread -lpng -pthread -lgobject-2.0 -lSM -lICE -lXrender -lfontconfig -lfreetype -lXext -lX11 -lQtNetwork -pthread -pthread -lQtCore -lz -lm -ldl -pthread -lgthread-2.0 -lrt -lglib-2.0 -lpthread
.obj/release-static/main.o: In function `global constructors keyed to main':
main.cpp.text+0x9): undefined reference to `qt_plugin_instance_qsqlite()'
collect2: ld returned 1 exit status
make[4]: *** [../../../../bin/assistant] Error 1
make[4]: Leaving directory `/home/gib/qt-4.7.0/tools/assistant/tools/assistant'
Here is the configure command:
./configure -static -release -prefix /usr/local/Trolltech/Qt-4.7.0-static -opensource -platform linux-g++ -no-exceptions -nomake examples -nomake demos -no-phonon -no-multimedia -no-javascript-jit -no-xmlpatterns -no-qt3support -no-svg -no-webkit -no-scripttools -no-accessibility -no-audio-backend -no-phonon-backend
Including -system-sqlite makes no difference.
Attachments
Issue Links
- relates to
-
QTBUG-13944 Current 4.7 branch fails to build with -static
-
- Closed
-