[Qt-creator] cross platform compiling

Daniel Teske daniel.teske at nokia.com
Fri Nov 21 10:50:43 CET 2008


> For what it's worth, I have a project that I have been working on both
> on Mac OSX 10.5.5 and Windows XP. I am actually sharing the same
> source directory/pro file between the two, and it works fine, using
> QtCreator to build on both sides. I just have to make sure to do a
> clean when switching from one platform to the other, or else it gets
> confused :)


You can also try shadow building. That is have two different subdirectories 
for different builds. Clean the build directory first, then go to the Build 
Settings, there is a Shadow Build checkbox and a line edit to enter the 
directory. You need to create another build configuration for each different 
build directory. And you need to remember to switch build configurations while 
switching platforms.

daniel



More information about the Qt-creator-old mailing list