added QMAKE_MOC_OPTIONS variable to qmake
Merge-request: 41 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Change-Id: I8d492e9fbdbeeffa9f702a3a1f2fab314586809f Reviewed-on: http://codereview.qt-project.org/4375 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
parent
f41c900f0c
commit
b2780e60c7
3
dist/changes-5.0.0
vendored
3
dist/changes-5.0.0
vendored
@ -128,6 +128,9 @@ Qt for Windows CE
|
||||
|
||||
- qmake
|
||||
|
||||
* QMAKE_MOC_OPTIONS variable is now available for passing additional parameters
|
||||
to the moc.
|
||||
|
||||
|
||||
- configure
|
||||
|
||||
|
@ -45,10 +45,10 @@ defineReplace(mocCmdBase) {
|
||||
contains(TEMPLATE, "vc.*") {
|
||||
RET += $$mocinclude.commands
|
||||
}
|
||||
RET += $$QMAKE_MOC $(DEFINES) @$$WIN_INCLUDETEMP $$join(QMAKE_COMPILER_DEFINES, " -D", -D)
|
||||
RET += $$QMAKE_MOC $(DEFINES) @$$WIN_INCLUDETEMP $$join(QMAKE_COMPILER_DEFINES, " -D", -D) $$QMAKE_MOC_OPTIONS
|
||||
return($$RET)
|
||||
}
|
||||
return($$QMAKE_MOC $(DEFINES) $(INCPATH) $$join(QMAKE_COMPILER_DEFINES, " -D", -D))
|
||||
return($$QMAKE_MOC $(DEFINES) $(INCPATH) $$join(QMAKE_COMPILER_DEFINES, " -D", -D) $$QMAKE_MOC_OPTIONS)
|
||||
}
|
||||
|
||||
#moc headers
|
||||
|
Loading…
Reference in New Issue
Block a user