Qt Creator target platform

Qt Creator target platform

Bild des Benutzers dmitry-rizshkov
Hi! I trying to create one project file to build app for several platforms (win, meego, maemo). How to detect meego inside a PRO file? I have try unix:!symbian { meego5 { ... } } but with no success. Any other ways to do that?
6 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers Bob Duffy (Intel)

This sounds interesting Dmitry and I thought I heard this was possible. I'll ask our TME's see if they know anyone doing this.

Bild des Benutzers dmitry-rizshkov

Thank you for reply!

For now i'm just use different project files, but this is not so elegant way.

Bild des Benutzers Bob Duffy (Intel)

Just a thought, could you have two projects that share the same files. You open Qt Creator with both projects but really only edit one set of files. When you compile for MeeGo vs Windows you just select the different projects then and compile for each

Bild des Benutzers dmitry-rizshkov

Yes, but in that case if decide add files to the project i need add files to both project files. But... Less chances to broke Windows release while creating MeeGo release... Should to think about this. Maybe this is a really good idea :)

Bild des Benutzers Jure Repinc

All I could find in the qmake documentation was this:
http://doc.qt.nokia.com/latest/qmake-advanced-usage.html#platform-scope-values
So one has to search for existing spec files in mkspecs folder to see how it is possible to test for platform.

Melden Sie sich an, um einen Kommentar zu hinterlassen.