Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.0.2, 6.1.0
-
None
-
-
63a812b85191c9cfe0704d400df86ce7961dea12 (qt/qtbase/dev) aa09c472d441a39bdf16e6d89fb700d04cf3e967 (qt/qtbase/6.1) 1b6baf49da204756f5f1f82e6fb2ba48e151a2a1 (qt/qtbase/6.0)
Description
Consider a cross-built Qt, like Qt for Android or Qt for iOS.
Trying to call qmake with the -spec argument will fail:
$ ~/Qt/6.0.3/android_arm64_v8a/bin/qmake -spec android-clang Could not find qmake spec '-qtconf'. Error processing project file: /home/sven/Qt/6.0.3/android_arm64_v8a/bin/target_qt.conf Cannot find file: android-clang.
This happens, because:
- the qmake in Qt for Android is a wrapper script that calls
qmake -qtconf qt_target.conf -spec android-clang - the first stage of command line argument handling in qmake garbles the call to
qmake -spec -qtconf qt_target.conf android-clang
Attachments
For Gerrit Dashboard: QTBUG-93079 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
345404,2 | Fix "qmake -spec foo" call for cross builds | dev | qt/qtbase | Status: MERGED | +2 | 0 |
345437,4 | Fix "qmake -spec foo" call for cross builds | 6.1 | qt/qtbase | Status: MERGED | +2 | 0 |
345438,4 | Fix "qmake -spec foo" call for cross builds | 6.0 | qt/qtbase | Status: MERGED | +2 | 0 |