diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-02-14 16:08:00 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-02-23 07:51:50 +0000 |
commit | 6282948e96659bbf718ec1df29a8f7bb2a5db464 (patch) | |
tree | ffe16cc2acd47cbcd909a99b7f7d3b3745dfdb83 /src/plugins/platforms/android/qandroidplatformopenglcontext.cpp | |
parent | 8c1f147eaf2769f84fa5ae8425394eb315949395 (diff) |
Add CONFIG += no_moc_predefs to allow one to escape problems
Sometimes, users need to add compiler flags to QMAKE_CXXFLAGS that
aren't supposed to be passed to the predefs dump. That's especially true
for -include options, as that would change completely what's
defined. Not to mention that -include is a preprocessor option and
shouldn't be in CXXFLAGS in the first place (Automake has CPPFLAGS, but
qmake only has INCLUDEPATH and DEFINES).
[ChangeLog][qmake] Added the ability to suppress the collection of the
compiler predefined macros for moc's use. To disable the collection, use
CONFIG += no_moc_predefs.
Task-number: QTBUG-58857
Change-Id: I4139d5f93dcb4b429ae9fffd14a34d49825d9b85
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/plugins/platforms/android/qandroidplatformopenglcontext.cpp')
0 files changed, 0 insertions, 0 deletions