Can’t setup Qt Components 1.1 on my desktop environment
-
I've been trying to setup Qt Components on my system but I can't make it work.
I have Qt 4.7.4 and I downloaded the Qt Components tar from
https://qt.gitorious.org/qt-components/qt-components/trees/masterI tried to follow these instructions:
http://stackoverflow.com/questions/6298584/installing-qt-quick-components-for-desktop-for-use-with-qt-creatorAfter running configure.bat got this result:
@
Qt Components build configuration:
Configuration .................... demos examples extras tests
MeeGo Style ...................... no
Symbian Style .................... no
Extras ......................... yes
Demos ............................ yes
Examples ......................... yes
Tests ............................ yesQt Components is now configured for building. Just run '(n)make'.
@
Ran nmake and wanted to copy the components directory into C:\QtSDK\Desktop\Qt\4.7.4\msvc2008\imports\Qt\labs
but there is already a components directory there (presumably 1.0).What do I do to update to 1.1?
-
There is generally no need to copy files by hand - just use nmake install. If there is a previous installation of Qt Components use nmake uninstall first.
-
Thanks fot the tip. Still not resolved though. My imports folder (imports/Qt/labs) now has both components and components.1.1 in it.
From my QML I manage to run with:
@import Qt.labs.components.native 1.0@
Now the question is how can I reference 1.1? And also, do I need to? Is this a newer version of the existing components?I can't compile
@import Qt.labs.components.1.1 1.1@
or other variations I tried.