Qt-components-desktop installation problem
I have downloaded qt-components-desktop and i have no idea how to install it:/ In README file from extracted "qt-components-desktop" there is instruction:
bq. "To install the
components into your Qt directory, simply enter the root directory and do: 'qmake && make install' This will compile and copy the plugins and components into your QTDIR/imports folder. "
I have set QTDIR to /home/../../../QtSDk
and how to run qmake? there is no makefile in "qt-components-desktop" folder?
what I did: I build desktop.pro in qtcreator and makefile appears in builded directory, but what next? Or my way to find solution is bad? Could somebody tell step by step how to install these components? I run Ubuntu 11.10 and use qt 4.8
First of all you should set up environment variables, then run qmake, and your make tool.
In my case, I ran batch file:
qmake.exe desktop.pro -r -spec win32-g++ "CONFIG+=release"
It will create QtDesktop folder in %QTDIR%\imports.
Then I can import this module in my qml file: "import QtDesktop 0.1". Actually, it worked after restarting Qt Creator.