On Friday 05 December 2014 18:29:02 Jeremy Lainé wrote: > I see some other defines are added by like this: > > QMakeVar add DEFINES QT_NO_MTDEV > > ..which results in this -DQT_NO_MTDEV being passed directly to the compiler > (which works for iOS too). Is this what I should be doing instead?
Please don't do that. That results in this flag getting passed to EVERY SINGLE file, including Qt modules that have nothing to do with mtdev. I could be wrong, but I think it also gets passed to user applications. And you know how some OS have limitations on command-line length. It's preferable to have a shorter line so we can actually read the command-line to reproduce issues. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
