Commit 73a97ee
qmake: Fix android_16kb_pages check for qmake projects
The qtConfig() check in android.prf used an incorrect feature name
with a QT_FEATURE_ prefix.
This caused an error when configuring any qmake project for Android:
Project ERROR: Could not find feature QT_FEATURE_android_16kb_pages.
Fix the name of the feature in the qtConfig().
Even with the fixed name, the check would never succeed because we
never exported the feature, so we didn't have a
'QT.core.enabled_features' entry for it in the qt_lib_core.pri file.
To ensure we export the feature, mark the it as a CMake PRIVATE
feature (so we don't touch the public qconfig.h header in a patch
release), and then add a qt_feature_config() call to create an entry
in the public QT_CONFIG variable as well as QT.core.enabled_features.
Amends f174e2a
Amends 48dcf5c
Pick-to: 6.10 6.8
Fixes: QTBUG-144166
Change-Id: I96505798ad32f0d31175be7d064e15fca7ddd6c7
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit cfad21c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>1 parent 43d773a commit 73a97ee
2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1306 | 1306 | | |
1307 | 1307 | | |
1308 | 1308 | | |
1309 | | - | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
1310 | 1312 | | |
1311 | 1313 | | |
1312 | 1314 | | |
1313 | 1315 | | |
1314 | 1316 | | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
1315 | 1320 | | |
1316 | 1321 | | |
1317 | 1322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments