Hi,

I have following qt sdk in my computer:

qt 4.7.1 for windows mingw version
qt creator 2.1
qt-mobility1.1 build from source code with mingw32-make,

I have a qml project, which use QtMultimediaKit 1.1, I cannot open this qml 
file from qt creator designer, it complain:

uses incompatible qt library, expected build key "windows msvc release 
full-config", got "windows mingw release full-config"

I google from internet, find some solution: 
http://linux42.org/kb/QT+%28win32%29+Cannot+use+custom+widgets+build+by+itself/?kbid=160

It can be solved three different ways:

1) Build QT Creator from source with MinGW
2) Build the plugin with Visual Studio
3) Build QT Creator with build key checking turned off.


Then I try to rebuild qt creator from source code with mingw, but building 
failed:

./debug\moc_helpviewer.o:moc_helpviewer.cpp:(.rdata$_ZTVN4Help8Internal10HelpViewerE[vtable
 for Help::Internal::HelpViewer]+0xc4): undefined reference
 to `QWebView::inputMethodEvent(QInputMethodEvent*)'
./debug\moc_helpviewer.o:moc_helpviewer.cpp:(.rdata$_ZTVN4Help8Internal10HelpViewerE[vtable
 for Help::Internal::HelpViewer]+0xc8): undefined reference
 to `QWebView::inputMethodQuery(Qt::InputMethodQuery) const'
./debug\moc_helpviewer.o:moc_helpviewer.cpp:(.rdata$_ZTVN4Help8Internal10HelpViewerE[vtable
 for Help::Internal::HelpViewer]+0xcc): undefined reference
 to `QWebView::focusNextPrevChild(bool)'
./debug\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\Helpd.dll] Error 1
mingw32-make[4]: Leaving directory `C:/Temp/qtcreator_build/src/plugins/help'
mingw32-make[3]: *** [debug] Error 2
mingw32-make[3]: Leaving directory `C:/Temp/qtcreator_build/src/plugins/help'
mingw32-make[2]: *** [sub-help-make_default] Error 2
mingw32-make[2]: Leaving directory `C:/Temp/qtcreator_build/src/plugins'
mingw32-make[1]: *** [sub-plugins-make_default-ordered] Error 2
mingw32-make[1]: Leaving directory `C:/Temp/qtcreator_build/src'
mingw32-make: *** [sub-src-make_default-ordered] Error 2

So, anybody can help me how to use qt creator designer to load qml file with 
qtmobility component? Or any workaround.

I don't have visual studio IDE, only have mingw.

Brs,

Jingzhe
_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to