Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
6.2.4
-
None
-
Mac OS 10.15.7
Description
I try to build Qt Android without accessibility feature but when I configure there is a warning :
.../configure -platform android-clang -prefix .../install-qt-android-arm64-v8a -android-ndk .../ndk/23.1.7779620 -android-sdk .../sdk -qt-host-path .../install-qt-mac -android-abis arm64-v8a -no-feature-accessibility
WARNING: Accessibility disabled. This configuration of Qt is unsupported.
And then when I build there is an error :
.../build-qt-android-arm64-v8a/qtbase/include/QtGui/6.2.4/QtGui/private/../../../../../../../../Src/qtbase/src/gui/accessible/qaccessiblebridgeutils_p.h:59:1: error: static_assert failed due to requirement 'bool(-1 == 1)' "Required feature accessibility for file .../Qt6/6.2.4/custom/build-qt-android-arm64-v8a/qtbase/include/QtGui/6.2.4/QtGui/private/../../../../../../../../Src/qtbase/src/gui/accessible/qaccessiblebridgeutils_p.h not available." QT_REQUIRE_CONFIG(accessibility); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .../build-qt-android-arm64-v8a/qtbase/include/QtCore/../../../../../Src/qtbase/src/corelib/global/qglobal.h:79:36: note: expanded from macro 'QT_REQUIRE_CONFIG' #define QT_REQUIRE_CONFIG(feature) Q_STATIC_ASSERT_X(QT_FEATURE_##feature == 1, "Required feature " #feature " for file " __FILE__ " not available.") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Is it a bug or is it impossible to build Qt6 Android without feature accessibility?