remove automatic building of moc from moc.prf
the problem this (probably) tried to solve has been solved via ordered builds a *long* time ago. Change-Id: I84c58076c864735eea4210ec60aa060fe3e5d97e Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
This commit is contained in:
parent
59ae59977b
commit
d6206075be
1
configure
vendored
1
configure
vendored
@ -6731,7 +6731,6 @@ QMAKE_LIBDIR_QT = \$\$QT_BUILD_TREE/lib
|
||||
include(\$\$PWD/mkspecs/qmodule.pri)
|
||||
CONFIG += $QMAKE_CONFIG dylib depend_includepath fix_output_dirs no_private_qt_headers_warning QTDIR_build
|
||||
QMAKE_ABSOLUTE_SOURCE_ROOT = \$\$QT_SOURCE_TREE
|
||||
QMAKE_MOC_SRC = \$\$QT_BUILD_TREE/src/moc
|
||||
|
||||
EOF
|
||||
|
||||
|
@ -97,12 +97,6 @@ equals(MOC_DIR, .) {
|
||||
unix:!no_mocdepend {
|
||||
moc_source.depends += $$first(QMAKE_MOC)
|
||||
moc_header.depends += $$first(QMAKE_MOC)
|
||||
!contains(TARGET, moc) { #auto build moc
|
||||
isEmpty(QMAKE_MOC_SRC):QMAKE_MOC_SRC = "$(QTDIR)/src/tools/moc"
|
||||
make_moc.target = $$first(QMAKE_MOC)
|
||||
make_moc.commands = (cd $$QMAKE_MOC_SRC && $(MAKE))
|
||||
QMAKE_EXTRA_TARGETS += make_moc
|
||||
}
|
||||
}
|
||||
|
||||
#generate a mocclean
|
||||
|
Loading…
Reference in New Issue
Block a user