Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.6
-
None
-
be0e81d49 (dev), fc08f7c6b (6.6)
Description
Configuring latest qtbase results in a warning:
CMake Warning (dev) at qtbase/cmake/QtModuleHelpers.cmake:1234 (message): Condition is ignored when adding the following header file(s) to the Gui module: File: accessible/qaccessible.h Condition: QT_FEATURE_accessibility File: accessible/qplatformaccessibility.h Condition: QT_FEATURE_accessibility The usage of the file(s) is not properly isolated in this or other modules according to the condition. This warning is for the Qt maintainers. Please make sure that file include(s) are guarded with the appropriate macros in the Qt code. If files should be added to the module unconditionally, please move them to the common SOURCES section in the qt_internal_add_module call. Call Stack (most recent call first): qtbase/cmake/QtModuleHelpers.cmake:879 (qt_internal_collect_module_headers) qtbase/cmake/QtScopeFinalizerHelpers.cmake:24:EVAL:1 (qt_finalize_module) qtbase/src/gui/CMakeLists.txt:DEFERRED This warning is for project developers. Use -Wno-dev to suppress it.
Attachments
Issue Links
- is duplicated by
-
QTBUG-116422 QtModuleHelpers.cmake: Condition is ignored when adding header
-
- Closed
-