summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2023-11-28 14:47:23 +0100
committerAlexey Edelev <alexey.edelev@qt.io>2024-03-14 09:12:14 +0100
commite5d7c15086bfb6e694207a020fec6dab59199320 (patch)
tree61632b2f3cd4ae7b24a43193ea7ae27835bc5bb7
parent2606ee612dea16109a5e4e0fc2e9dcb599fd7c52 (diff)
Use NO_GENERATE_CPP_EXPORTS explicitly
Use NO_GENERATE_CPP_EXPORTS explicitly for modules that don't need the autogenerated exports header file. Task-number: QTBUG-90492 Change-Id: I93fd582f2dbec7ac59958c3d3d5d2d733033a4e5 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
-rw-r--r--src/activeqt/CMakeLists.txt1
-rw-r--r--src/activeqt/axbase/CMakeLists.txt1
-rw-r--r--src/activeqt/container/CMakeLists.txt1
-rw-r--r--src/activeqt/control/CMakeLists.txt1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/activeqt/CMakeLists.txt b/src/activeqt/CMakeLists.txt
index bf00469..e0050d3 100644
--- a/src/activeqt/CMakeLists.txt
+++ b/src/activeqt/CMakeLists.txt
@@ -28,6 +28,7 @@ qt_internal_add_module(ActiveQt
control/qaxfactory.h
control/qclassfactory_p.h
shared/qaxtypes_p.h
+ NO_GENERATE_CPP_EXPORTS
)
qt_internal_add_docs(ActiveQt
doc/activeqt.qdocconf
diff --git a/src/activeqt/axbase/CMakeLists.txt b/src/activeqt/axbase/CMakeLists.txt
index 5cb4a9b..aba9ebc 100644
--- a/src/activeqt/axbase/CMakeLists.txt
+++ b/src/activeqt/axbase/CMakeLists.txt
@@ -23,6 +23,7 @@ qt_internal_add_module(AxBasePrivate
Qt::Gui
Qt::GuiPrivate
Qt::Widgets
+ NO_GENERATE_CPP_EXPORTS
)
## Scopes:
diff --git a/src/activeqt/container/CMakeLists.txt b/src/activeqt/container/CMakeLists.txt
index 717b0f4..6458d3e 100644
--- a/src/activeqt/container/CMakeLists.txt
+++ b/src/activeqt/container/CMakeLists.txt
@@ -30,6 +30,7 @@ qt_internal_add_module(AxContainer
Qt::Widgets
ENABLE_AUTOGEN_TOOLS
uic
+ NO_GENERATE_CPP_EXPORTS
)
set_source_files_properties(qaxbase.cpp # defines QT_CHECK_STATE
diff --git a/src/activeqt/control/CMakeLists.txt b/src/activeqt/control/CMakeLists.txt
index e4e5b92..74e4fb7 100644
--- a/src/activeqt/control/CMakeLists.txt
+++ b/src/activeqt/control/CMakeLists.txt
@@ -33,6 +33,7 @@ qt_internal_add_module(AxServer
Qt::Gui
Qt::Widgets
shell32
+ NO_GENERATE_CPP_EXPORTS
)
set_source_files_properties(qaxservermain.cpp # define main()