Qt-Components + Qt Creator Design mode
-
Oh, thanks, it's working now.
I had to download the Qt 4.7.3 sources with the SDKMaintanceTool, because it didn't cover all the files that "gri posted":http://developer.qt.nokia.com/forums/viewthread/5267/#33193 .
Then compiled it manually from terminal, because in my Qt Creator->Settings->Qt4->Tools, the QML Dump's build button is disabled (I don't now why ...).
Finally it's working but has got "this bug":http://bugreports.qt.nokia.com/browse/QTCREATORBUG-4634.I will try to compile qt-creator from git later, and see whether it fixes it or not :) Thanks for you help :)
- It's a little bit tricky to make qt-components work these days, but QtQuick and QML is quite powerful, so it worths it. I hope it will be fully supported soon in the upcoming QtSDKs :)
-
Since the support for Qt Quick Components is not official (yet) in the Visual Designer, getting them to work is not straight forward.
The main problem is that for C++ to be able to load a plugin the compilers and Qt versions have to be compatible. We build Qt Creator with MSVC on Windows, but many people will use another compiler for Qt and the Components. So even setting QT_IMPORT_PATH does not work.
To solve this we moved the QML stuff to another process called qmlpuppet.
For Qt Creator 2.2 the only way to specify another qmlpuppet then the one, provided together with Qt Creator, is setting QTCREATOR_QMLPUPPET_PATH.To build a custom qmlpuppet just build src\tools\qmlpuppet (in the Qt Creator source) with the Qt version you want to use and
set QTCREATOR_QMLPUPPET_PATH.Another solution is to just build Qt Creator yourself with the Qt Version you want to use for Qt Components.
For the future we will make this easier of course.