Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.6.0
-
None
Description
When building for android (on Windows platform) the variable Q_OS_ANDROID is not defined when MOC is run. This can cause problems, in particular if the selection of a base class depends upon this define.
The work around is to modify the makefile, adding -DANDROID to the DEFINES= line.
It would be better if this were added to the appropriate .conf file.
Attachments
Issue Links
- duplicates
-
QTBUG-34593 moc does not know about compiler's built-in defines
-
- Closed
-