Harmattan SDK and Qt Creator integration
-
Hi,
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 ?
-
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 :)
-
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
qmake $@@
@else
if [ $1 == "-query" ]; thenlets execute sbox-qmake -query on host machine
qmake $@@
@else
<scratchbox command goes here>
fi
fi
@
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?".