Re: [Interest] PRO File defines

2016-04-26 Thread Francisco Ares
2016-04-25 21:13 GMT-03:00 Hamish Moffatt : > On 25/04/16 20:58, Francisco Ares wrote: > > > P.S.: by the way, I've been fiddling with some PRO files, and nowadays use > a few tricks, like: > > using one source tree to build different executables, with different > functionality: > > > > op1=$$fin

Re: [Interest] PRO File defines

2016-04-25 Thread Hamish Moffatt
On 25/04/16 20:58, Francisco Ares wrote: P.S.: by the way, I've been fiddling with some PRO files, and nowadays use a few tricks, like: using one source tree to build different executables, with different functionality: op1=$$find(DEFINES,"_REGISTER") count(op1,1){ include(../ModBus/QMo

Re: [Interest] PRO File defines

2016-04-25 Thread Francisco Ares
2016-04-25 2:39 GMT-03:00 Igor Mironchik : > Hi, > > On 25.04.2016 00:29, Gianluca wrote: > > It’s not the first time that I see people knowing some “secrets” of Qmake … > … where is the full documentation of all these details ? > > > I found that here: > > http://doc.qt.io/qt-5/building-from-sour

Re: [Interest] PRO File defines

2016-04-24 Thread Igor Mironchik
Hi, On 25.04.2016 00:29, Gianluca wrote: It’s not the first time that I see people knowing some “secrets” of Qmake … … where is the full documentation of all these details ? I found that here: http://doc.qt.io/qt-5/building-from-source-ios.html *Note:*A default build will include both simula

Re: [Interest] PRO File defines

2016-04-24 Thread Gianluca
ehehehe … cool … there is also an “official” undocumented qmake document: https://wiki.qt.io/Undocumented_QMake :-D Il giorno 24/apr/2016, alle ore 22:31, Olivier B. ha scritto: > Google 'undocumented qmake', or else, qmake source code ? > > Le 24 avr. 2016 23:29, "Gianluca" a écrit : > It’

Re: [Interest] PRO File defines

2016-04-24 Thread Olivier B.
Google 'undocumented qmake', or else, qmake source code ? Le 24 avr. 2016 23:29, "Gianluca" a écrit : > It’s not the first time that I see people knowing some “secrets” of Qmake … > … where is the full documentation of all these details ? > > > Il giorno 24/apr/2016, alle ore 18:47, Igor Mironchi

Re: [Interest] PRO File defines

2016-04-24 Thread Gianluca
It’s not the first time that I see people knowing some “secrets” of Qmake … … where is the full documentation of all these details ? Il giorno 24/apr/2016, alle ore 18:47, Igor Mironchik ha scritto: > Hi, > > For real device you can use: > > ios { > iphoneos { ># Here is the real device

Re: [Interest] PRO File defines

2016-04-24 Thread Igor Mironchik
Hi, For real device you can use: ios { iphoneos { # Here is the real device } } On 24.04.2016 20:45, mark diener wrote: Hello List: Who can tell me how to detect whether a build is for IOS or IOS Simulator in the project PRO file. ios { QMAKE_IOS_DEPLOYMENT_TARGET=8.0 Q

[Interest] PRO File defines

2016-04-24 Thread mark diener
Hello List: Who can tell me how to detect whether a build is for IOS or IOS Simulator in the project PRO file. ios { QMAKE_IOS_DEPLOYMENT_TARGET=8.0 QMAKE_IOS_TARGETED_DEVICE_FAMILY=1,2 } But how to I differentiate between IOS builds and IOS-simulator builds? Thanks, Marco