Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.1
-
None
-
None
-
de88b9663c01691c64e2677444aab5c1b806c4c2
Description
This part of moc.prf creates a dependency to the moc tool in Symbian makefiles:
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
}
}
In a Symbian platform build this dependency will fail because QTDIR is not fully present, and moc is actually exported to \epoc32\tools\.
The solution is to make the block above not active for Symbian, e.g. via
!symbian:unix:!no_mocdepend { ...
The dependency is introduced because Symbian is considered to be a unix platform due to OpenC
Attachments
Issue Links
- is required for
-
QTBUG-7916 Symbian3_2010_07
- Closed
-
QTBUG-7920 Symbian4_2010_09
- Closed