I'm new to Qt builder and I have many questions about several build configurations. I note one side: my I have Qt Creator 1.3.1 installed on Linux machine.
My QT Creator project requires two configurations. The thing is that they are not only debug and release, but are based on the target architecture - x86 or x64 I came across and something of that The way I was trying to:
Conf_x86 {TARGET = MyApp_x86} Conf_x64 {TARGET = MyApp_x64}
In this way though I think that Not able to use the QT Creator IDE to create each one separately (Think of all build the IDE menu, all reconstruction, etc. options). Is there a way to gain this - can Conf_x86 and Conf_x64 be shown as a new build configuration in QT creator?
Another thing is that QT is 64 bit by me, so by default QT Creator IDE will also be 64 bit. I saw that the effective quem calls in the build phase include the following options - Spec linux-g ++ - 64
. I have also noticed that I should add the -spec linux-g ++ - 32
to 'additional arguments', this is the -spec linux-g ++ - 64
And the resultant target 32 bit.
How can I get to edit the contents of the .pro file? I saw that all these changes are saved in the initial .pro.user file but I do not like it at all.
Any help would be appreciated.
You can use the panel to add your own build configuration. You can set the imagery for each config there. Once you create a new build config, you can use it in the PRO file using config control:
CONFIG (Conf_x86) {# Something} CONFIG (Conf_x64) {# Something else}
Comments
Post a Comment