Hello all, Ok, I just tried again with the Creator 2.1 RC1, same problems as before.
I use the Qt 4.7.1 from here: http://get.qt.nokia.com/qt/source/qt-win-opensource-4.7.1-mingw.exeI attached the .qmake.cache from it's root directory, I didn't find a configure.cache.
Any ideas? Thanks in advance, André Am 29.11.2010 02:49, schrieb Bill King:
Interesting, it looks like webkit has been disabled. Did you build this manually? I double checked with the released qt 4.7.0 and 4.7.1 binary releases, and both contain webkit built in to them, also at the bottom of the help.pro project file is: contains(QT_CONFIG, webkit) { QT += webkit } which will include the necessary pieces to link if webkit has been built for your target qt. Could you include a copy of your .qmake.cache and configure.cache files from the qt build directory please? Maybe we can see something there. Regards, Bill. On 11/29/2010 06:16 AM, ext Alex Oransky wrote:Hello, I tried to build Qt Creator 2.1 RC1 with Qt Framework 4.7.1 on Windows. The Qt framework was for VC 2008, taken from http://qt.nokia.com/downloads. I got similar problems- there were 90 LINK2019 errors, all related to WebKit and generated while building help.pro<http://help.pro>. I have put a fragment of the compile output below. I also got similar errors when building Qt Creator 2.1 beta 2 and also 2.0.1. Note that building with Qt Framework 4.7.0 does not yield any errors for Qt Creator 2.0.1 or any 2.1. Is there some macro that needs to be defined or undefined for building with Qt 4.7.1? Or, Qt 4.7.1 needs to be configured in a certain way in order to build Qt Creator? Thanks in advance! Alex Creating library ..\..\..\lib\qtcreator\plugins\Nokia\Helpd.lib and object ..\..\..\lib\qtcreator\plugins\Nokia\Helpd.exp centralwidget.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall QWebView::print(class QPrinter *)const " (__imp_?pr...@qwebview@@QBEXPAVQPrinter@@@Z) referenced in function "public: void __thiscall Help::Internal::CentralWidget::print(void)" (?pr...@centralwidget@inter...@help@@QAEXXZ) generalsettingspage.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __thiscall QWebSettings::fontSize(enum QWebSettings::FontSize)const " (__imp_?fonts...@qwebsettings@@qbehw4fonts...@1@@Z) referenced in function "public: __thiscall Help::Internal::GeneralSettingsPage::GeneralSettingsPage(void)" (??0generalsettingsp...@internal@Help@@q...@xz) helpviewer_qwv.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall QWebSettings::fontSize(enum QWebSettings::FontSize)const " (__imp_?fonts...@qwebsettings@@qbehw4fonts...@1@@Z) generalsettingspage.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class QWebSettings * __cdecl QWebSettings::globalSettings(void)" (__imp_?globalsetti...@qwebsettings@@sap...@xz) referenced in function "public: __thiscall Help::Internal::GeneralSettingsPage::GeneralSettingsPage(void)" (??0generalsettingsp...@internal@Help@@q...@xz) helpviewer_qwv.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class QWebSettings * __cdecl QWebSettings::globalSettings(void)" (__imp_?globalsetti...@qwebsettings@@sap...@xz) helpplugin.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QAction * __thiscall QWebView::pageAction(enum QWebPage::WebAction)const " (__imp_?pageact...@qwebview@@QBEPAVQAction@@w4webact...@qwebpage@@@Z) referenced in function "private: void __thiscall Help::Internal::HelpPlugin::createRightPaneContextViewer(void)" (?createrightpanecontextvie...@helpplugin@inter...@help@@AAEXXZ) helpviewer_qwv.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QAction * __thiscall QWebView::pageAction(enum QWebPage::WebAction)const " (__imp_?pageact...@qwebview@@QBEPAVQAction@@w4webact...@qwebpage@@@Z) helpplugin.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall QWebFrame::scrollToAnchor(class QString const&)" (__imp_?scrolltoanc...@qwebframe@@QAEXABVQString@@@Z) referenced in function "private: void __thiscall Help::Internal::HelpPlugin::activateContext(void)" (?activatecont...@helpplugin@inter...@help@@AAEXXZ) helpplugin.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QWebFrame * __thiscall QWebPage::mainFrame(void)const " (__imp_?mainfr...@qwebpage@@QBEPAVQWebFrame@@XZ) referenced in function "private: void __thiscall Help::Internal::HelpPlugin::activateContext(void)" (?activatecont...@helpplugin@inter...@help@@AAEXXZ) helpplugin.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QWebPage * __thiscall QWebView::page(void)const " (__imp_?p...@qwebview@@QBEPAVQWebPage@@XZ) referenced in function "private: void __thiscall Help::Internal::HelpPlugin::activateContext(void)" (?activatecont...@helpplugin@inter...@help@@AAEXXZ) <skip> moc_helpviewer.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual void * __thiscall QWebView::qt_metacast(char const *)" (__imp_?qt_metac...@qwebview@@uaepax...@z) referenced in function "public: virtual void * __thiscall Help::Internal::HelpViewer::qt_metacast(char const *)" (?qt_metac...@helpviewer@inter...@help@@uaepax...@z) moc_helpviewer.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual int __thiscall QWebView::qt_metacall(enum QMetaObject::Call,int,void * *)" (__imp_?qt_metac...@qwebview@@uaehw4c...@qmetaobject@@hpa...@z) referenced in function "public: virtual int __thiscall Help::Internal::HelpViewer::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metac...@helpviewer@inter...@help@@uaehw4c...@qmetaobject@@hpa...@z) moc_helpviewer.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static struct QMetaObject const QWebView::staticMetaObject" (__imp_?staticmetaobj...@qwebview@@2UQMetaObject@@B) ..\..\..\lib\qtcreator\plugins\Nokia\Helpd.dll : fatal error LNK1120: 90 unresolved externals On Wed, Nov 10, 2010 at 2:11 AM, André Hartmann <andre.hartm...@iseg-hv.de<mailto:andre.hartm...@iseg-hv.de>> wrote: Hi again, I'm trying to build QtCreator 2.1 Beta2 with Qt Framework 4.7.1 on Windows XP. The mingw is from Qt SDK 2010.02.1 (gcc 4.4.0). When building the help plugin, I got a lot of errors (shortened here, because of size) and the build stops. Any ideas? Thanks, Andre Führe Build-Schritte für Projekt qtcreator aus... Starte "c:/qt/4.7.1/bin/qmake.exe" D:/Daten/Tools.qt/qt-creator-2.1.0-beta2-src/qtcreator.pro <http://qtcreator.pro> -r -spec win32-g++ CONFIG+=release [...] mingw32-make[4]: Entering directory `d:/Daten/Tools.qt/qtcreator-build-desktop/src/plugins/help' cp ../../../../qt-creator-2.1.0-beta2-src/src/plugins/help/Help.pluginspec ../../../lib/qtcreator/plugins/Nokia/Help.pluginspec [...] ./release/centralwidget.o:centralwidget.cpp:(.text+0x46c): undefined reference to `_imp___ZNK8QWebView5printEP8QPrinter' ./release/centralwidget.o:centralwidget.cpp:(.text+0xf74): undefined reference to `_imp___ZNK8QWebView5printEP8QPrinter' ./release/generalsettingspage.o:generalsettingspage.cpp:(.text+0x262): undefined reference to `_imp___ZN12QWebSettings14globalSettingsEv' ./release/generalsettingspage.o:generalsettingspage.cpp:(.text+0x273): undefined reference to `_imp___ZNK12QWebSettings8fontSizeENS_8FontSizeE' [...] /release/helpviewer_qwv.o:helpviewer_qwv.cpp:(.rdata$_ZTV8HelpPage[vtable for HelpPage]+0x8): undefined reference to `QWebPage::metaObject() const' ./release/helpviewer_qwv.o:helpviewer_qwv.cpp:(.rdata$_ZTV8HelpPage[vtable for HelpPage]+0xc): undefined reference to `QWebPage::qt_metacast(char const*)' ./release/helpviewer_qwv.o:helpviewer_qwv.cpp:(.rdata$_ZTV8HelpPage[vtable for HelpPage]+0x10): undefined reference to `QWebPage::qt_metacall(QMetaObject::Call, int, void**)' ./release/helpviewer_qwv.o:helpviewer_qwv.cpp:(.rdata$_ZTV8HelpPage[vtable for HelpPage]+0x1c): undefined reference to `QWebPage::event(QEvent*)' [...] Creating library file: d:/Daten/Tools.qt/qtcreator-build-desktop/lib/qtcreator/plugins/Nokia/libHelp.a mingw32-make[4]: Leaving directory `d:/Daten/Tools.qt/qtcreator-build-desktop/src/plugins/help' mingw32-make[3]: Leaving directory `d:/Daten/Tools.qt/qtcreator-build-desktop/src/plugins/help' ./release/moc_helpviewer.o:moc_helpviewer.cpp:(.rdata$_ZTVN4Help8Internal10HelpViewerE[vtable for Help::Internal::HelpViewer]+0xe8): undefined reference to `QWebView::createWindow(QWebPage::WebWindowType)' collect2: ld returned 1 exit status mingw32-make[4]: *** [../../../lib/qtcreator/plugins/Nokia/Help.dll] Error 1 mingw32-make[3]: *** [release] Error 2 mingw32-make[2]: Leaving directory `d:/Daten/Tools.qt/qtcreator-build-desktop/src/plugins' mingw32-make[2]: *** [sub-help-make_default] Error 2 mingw32-make[1]: Leaving directory `d:/Daten/Tools.qt/qtcreator-build-desktop/src' mingw32-make[1]: *** [sub-plugins-make_default-ordered] Error 2 mingw32-make: Leaving directory `D:/Daten/Tools.qt/qtcreator-build-desktop' mingw32-make: *** [sub-src-make_default-ordered] Error 2 Der Prozess "C:/Qt/2010.02.1/mingw/bin/mingw32-make.exe" wurde mit dem Rückgabewert %2 beendet. Fehler beim Erstellen des Projekts qtcreator(Ziel: Desktop) Bei der Ausführung von Build-Schritt 'Make' _______________________________________________ Qt-creator mailing list Qt-creator@trolltech.com<mailto:Qt-creator@trolltech.com> http://lists.trolltech.com/mailman/listinfo/qt-creator
-- Best regards / Mit freundlichen Grüßen André Hartmann, Dipl.-Ing. (FH) Software Project Manager iseg Spezialelektronik GmbH | phone: ++49 (0)351 26996-43 Bautzner Landstr. 23 | fax: ++49 (0)351 26996-21 D-01454 Radeberg / Rossendorf | web: www.iseg-hv.com Geschäftsführer / Managing director: Dr. F. Gleisberg, Dr. J. Pöthig Amtsgericht / Lower district court: Dresden HRB 16250 Ust.-Id.-Nr. / VAT-ID: DE812508942 Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
qmake.cache
Description: chemical/cache
_______________________________________________ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator