diff options
Diffstat (limited to 'src/activeqt/CMakeLists.txt')
-rw-r--r-- | src/activeqt/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/activeqt/CMakeLists.txt b/src/activeqt/CMakeLists.txt index a9d4193..5787052 100644 --- a/src/activeqt/CMakeLists.txt +++ b/src/activeqt/CMakeLists.txt @@ -8,10 +8,21 @@ add_subdirectory(axbase) add_subdirectory(control) add_subdirectory(container) +# We disable this headersclean check this way, since syncqt adds the header files from the +# subdirectories to the ActiveQt module. This triggers the headersclean rules creation and +# execution, but they fail because ActiveQt module doesn't link the necessary libraries so +# their compile flags and include directories are missing. +# We cannot simply link libraries because the missing include directories belong to the +# AxServer and AxContainer modules which have conflicting object files and cannot be linked in the +# same time. +set(QT_FEATURE_headersclean_BACKUP "${QT_FEATURE_headersclean}") +set(QT_FEATURE_headersclean OFF) qt_internal_add_module(ActiveQt HEADER_MODULE MODULE_INCLUDE_NAME ActiveQt) qt_internal_add_docs(ActiveQt doc/activeqt.qdocconf ) +set(QT_FEATURE_headersclean "${QT_FEATURE_headersclean_BACKUP}") + # special case end ## Scopes: ##################################################################### |