Harmattan SDK and Qt Creator integration
I don't know if this is the good place for this question but I'll give a try :)
I've installed the SDK using harmattan-sdk-setup.py as described "here":http://www.developer.nokia.com/Community/Wiki/Harmattan:Platform_Guide/Getting_started_with_Harmattan_Platform_SDK/Installing_Harmattan_Platform_SDK . Everything works fine, I can run the Xephyr and compile but I am confused with Qt Creator integration "here":http://www.developer.nokia.com/Community/Wiki/Harmattan:Platform_Guide/Getting_started_with_Harmattan_Platform_SDK/Integrating_Qt_Creator_with_Scratchbox_in_Linux_environment. According to the description I need to use in the custom scirpts (sbox-run, sbox-qmake...) the path to '/usr/bin/scratchbox' which doesn't exist on my workstation (Fedora 15). Could anyone help me with that, please ? Did I miss something ?
Easiest way is to use Madde SDK for Harmattan which comes with QtSDK as experimental stuff.
I have never tried to make Qt Creator compile in SBox but those instructions looks good. You can always check where binary is with @$ whereis scratchbox@
The problem is that Harmattan QtSDK uses Qemu and it is very, very slow on my workstation and I tried with 'whereis' and 'find' and there is no scratchbox executable. It looks like chroot and sbox's bash is used in this case...
currently /usr/bin/scratchbox is a link to /scratchbox/login. Unfortunately, it seems like hamattan sdk intaller doesn't create it on F15. Keep in mind that, to make use of scratchbox on f15, you need to start it previously with /scratchbox/sbin/sbox_ctl start
I've tried with symbolic link to /scratchbox/login (ln -s /scratchbox/login /usr/bin/scratchbox) but I get the message "Could not determine the patch to the binaries of the Qt installation, maybe the qmake path is wrong?" when I point 'qmake location' to my /usr/bin/sbox-qmake.
sbox-qmake from wiki doesn't work for me. The thing is that you need to cheat qtcreator to thing that qmake is a valid one. Pastebin somewhere your sbox-qmake file and tell me if you are using qtcreator from fedora or from Nokia SDK. if so, where it's installed :)
My sbox-qmake is exactly the same like from wiki (with valid SBOX_USER). I am using Qt Creator from Qt SDK installed in /home/$USER/Programs/QtSDK :)
Ok. Add something like this
<init stuff goes here>
lets check the command line arguments
if [ $1 == "--version" ]; then
lets execute the sbox-qmake -version on host machine
if [ $1 == "-query" ]; then
lets execute sbox-qmake -query on host machine
<scratchbox command goes here>
Also point qmake to a valid one in you are using QtSDK
The sbox-qmake called from command line works fine - --version returns installed version, -query returns correct values - but Qt Creator shows still the same error: “Could not determine the patch to the binaries of the Qt installation, maybe the qmake path is wrong?".