maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Having trouble installing the 'Desktop' Target in Qt Creator .. (https://talk.maemo.org/showthread.php?t=55453)

ahmadka 2010-06-07 15:00

Having trouble installing the 'Desktop' Target in Qt Creator ..
 
Hey all .. I'm having some trouble installing and configuring the Desktop target profile properly in Qt Creator ... The Maemo target is working fine, but I would like to debug my programs on my PC before I test them on my N900 ..

Here's what I've done so far in trying to get the 'Desktop' target working:

1) Installed the Nokia Qt SDK BETA
2) Installed the Qt SDK with MinGW

Now, the settings seem to be automatically set in, in the Tools --> Options --> Qt4 dialog box in Qt Creator ... However, the issue is that when I try to add the target 'Desktop' in 'Projects' pane, there are some issues:

1) The 'Toolchain' field is empty and uneditable
2) There are no 'Make Step' commands ... I can insert these manually, but building the project still doesn't work.

Here are two snapshots of these settings:

http://img31.imageshack.us/img31/5192/settings4.png

http://img375.imageshack.us/img375/4514/settings5.png

Before this, I had even tried installing the Nokia Qt SDK BETA and then Qt libraries for Windows with MinGW, but the end result of that was virtually the same ..

Help desperate help on this people ...

ahmadka 2010-06-07 23:25

Re: Having trouble installing the 'Desktop' Target in Qt Creator ..
 
any help on this guys ... ?

mauricek 2010-06-08 06:27

Re: Having trouble installing the 'Desktop' Target in Qt Creator ..
 
Hi,

which version of the Qt SDK (not Nokia Qt SDK) did you try to install? I assume that this is the one, which contains Qt Creator 1.3.1? Because in that case we had some issues in relation to compatibility of the configuration files.
Could you try removing the qtcreator.ini in your home/AppData/Roaming/Nokia and reenter the Qt Versions after a Creator restart (preferrably the one from the Nokia Qt SDK).

In future releases we will prompt the user about this incompatibility and suggest this step during the installation process.

ahmadka 2010-06-08 10:57

Re: Having trouble installing the 'Desktop' Target in Qt Creator ..
 
Yep, that sort of worked .. :D

The toolchain value got set to MinGW, however the make command field was 'not in the environment' ... I had to manually fine the mingw-make.exe file and pass that into this field to make the build work ... can I set the path for mingw-make.exe in the PATH environment, so that I dont have to do this every time ?


All times are GMT. The time now is 17:25.

vBulletin® Version 3.8.8