summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-04-28 12:21:03 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-05-12 09:11:33 +0200
commit0f1ff389235018f51c3a5e287896bc4ee3e7c1e9 (patch)
tree32891bdbc417fa78f0a1761605b92c917a4eb0cb
parenta8284209f33eee8a5ecdbb2cce7798e689bc8b5d (diff)
Initial port to cmake
Port the 2 main libraries, examples and tests. Task-number: QTBUG-78167 Change-Id: I0d00c9fa352a96dcd0e1f42d52e6f15680abd9ed Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r--.cmake.conf1
-rw-r--r--CMakeLists.txt20
-rw-r--r--examples/CMakeLists.txt7
-rw-r--r--examples/activeqt/CMakeLists.txt17
-rw-r--r--examples/activeqt/comapp/CMakeLists.txt37
-rw-r--r--examples/activeqt/hierarchy/CMakeLists.txt38
-rw-r--r--examples/activeqt/mediaplayer/CMakeLists.txt39
-rw-r--r--examples/activeqt/menus/CMakeLists.txt38
-rw-r--r--examples/activeqt/multiple/CMakeLists.txt39
-rw-r--r--examples/activeqt/opengl/CMakeLists.txt43
-rw-r--r--examples/activeqt/qutlook/CMakeLists.txt42
-rw-r--r--examples/activeqt/simple/CMakeLists.txt37
-rw-r--r--examples/activeqt/simpleqml/CMakeLists.txt54
-rw-r--r--examples/activeqt/wrapper/CMakeLists.txt37
-rw-r--r--src/CMakeLists.txt6
-rw-r--r--src/activeqt/CMakeLists.txt17
-rw-r--r--src/activeqt/axbase/CMakeLists.txt36
-rw-r--r--src/activeqt/container/CMakeLists.txt35
-rw-r--r--src/activeqt/control/CMakeLists.txt47
-rw-r--r--src/tools/CMakeLists.txt3
-rw-r--r--src/tools/idc/CMakeLists.txt16
-rw-r--r--tests/CMakeLists.txt7
-rw-r--r--tests/auto/CMakeLists.txt9
-rw-r--r--tests/auto/conversion/CMakeLists.txt13
-rw-r--r--tests/auto/dumpcpp/CMakeLists.txt20
-rw-r--r--tests/auto/qaxobject/CMakeLists.txt13
-rw-r--r--tests/auto/qaxscript/CMakeLists.txt12
-rw-r--r--tests/manual/CMakeLists.txt5
-rw-r--r--tests/manual/axviewer/CMakeLists.txt69
-rw-r--r--tests/manual/dumpcpp/CMakeLists.txt26
-rw-r--r--tests/manual/testcontrol/CMakeLists.txt20
-rw-r--r--tools/CMakeLists.txt10
-rw-r--r--tools/dumpcpp/CMakeLists.txt23
-rw-r--r--tools/dumpdoc/CMakeLists.txt18
-rw-r--r--tools/testcon/CMakeLists.txt53
35 files changed, 907 insertions, 0 deletions
diff --git a/.cmake.conf b/.cmake.conf
new file mode 100644
index 0000000..9305480
--- /dev/null
+++ b/.cmake.conf
@@ -0,0 +1 @@
+set(QT_REPO_MODULE_VERSION "6.0.0")
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..14352ff
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from qtactiveqt.pro.
+
+cmake_minimum_required(VERSION 3.15.0)
+
+include(".cmake.conf")
+project(QtActiveQt # special case
+ VERSION "${QT_REPO_MODULE_VERSION}"
+ DESCRIPTION "Qt Active Qt Libraries" # special case
+ HOMEPAGE_URL "https://qt.io/"
+ LANGUAGES CXX C
+)
+
+find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Gui Widgets PrintSupport) # special case
+find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Qml Quick) # special case
+
+if(NOT TARGET Qt::Widgets)
+ message(NOTICE "Skipping the build as the condition \"TARGET Qt::Widgets\" is not met.")
+ return()
+endif()
+qt_build_repo()
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
new file mode 100644
index 0000000..362d2da
--- /dev/null
+++ b/examples/CMakeLists.txt
@@ -0,0 +1,7 @@
+# Generated from examples.pro.
+
+qt_examples_build_begin()
+
+add_subdirectory(activeqt)
+
+qt_examples_build_end()
diff --git a/examples/activeqt/CMakeLists.txt b/examples/activeqt/CMakeLists.txt
new file mode 100644
index 0000000..c71db69
--- /dev/null
+++ b/examples/activeqt/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from activeqt.pro.
+
+add_subdirectory(comapp)
+add_subdirectory(hierarchy)
+add_subdirectory(menus)
+add_subdirectory(multiple)
+add_subdirectory(simple)
+add_subdirectory(wrapper)
+if(MINGW OR QT_BUILD_SHARED_LIBS)
+ add_subdirectory(mediaplayer)
+endif()
+if(TARGET Qt6::OpenGLWidgets AND QT_FEATURE_opengl AND NOT QT_FEATURE_opengles2) # special case
+ add_subdirectory(opengl)
+endif()
+if(TARGET Qt::QuickControls2)
+ add_subdirectory(simpleqml)
+endif()
diff --git a/examples/activeqt/comapp/CMakeLists.txt b/examples/activeqt/comapp/CMakeLists.txt
new file mode 100644
index 0000000..d2100be
--- /dev/null
+++ b/examples/activeqt/comapp/CMakeLists.txt
@@ -0,0 +1,37 @@
+# Generated from comapp.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(comapp LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+if(NOT DEFINED INSTALL_EXAMPLESDIR)
+ set(INSTALL_EXAMPLESDIR "examples")
+endif()
+
+set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/activeqt/comapp")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS AxServer)
+find_package(Qt6 COMPONENTS Widgets)
+
+add_qt_gui_executable(comapp
+ main.cpp
+)
+target_link_libraries(comapp PUBLIC
+ Qt::AxServer
+ Qt::Core
+ Qt::Gui
+ Qt::Widgets
+)
+
+install(TARGETS comapp
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/activeqt/hierarchy/CMakeLists.txt b/examples/activeqt/hierarchy/CMakeLists.txt
new file mode 100644
index 0000000..0d6d006
--- /dev/null
+++ b/examples/activeqt/hierarchy/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from hierarchy.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(hierarchyax LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+if(NOT DEFINED INSTALL_EXAMPLESDIR)
+ set(INSTALL_EXAMPLESDIR "examples")
+endif()
+
+set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/activeqt/hierarchy")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 COMPONENTS AxServer)
+
+add_qt_gui_executable(hierarchyax
+ main.cpp
+ objects.cpp objects.h
+)
+target_link_libraries(hierarchyax PUBLIC
+ Qt::AxServer
+ Qt::Core
+ Qt::Gui
+ Qt::Widgets
+)
+
+install(TARGETS hierarchyax
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/activeqt/mediaplayer/CMakeLists.txt b/examples/activeqt/mediaplayer/CMakeLists.txt
new file mode 100644
index 0000000..317ea40
--- /dev/null
+++ b/examples/activeqt/mediaplayer/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from mediaplayer.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(mediaplayer LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+if(NOT DEFINED INSTALL_EXAMPLESDIR)
+ set(INSTALL_EXAMPLESDIR "examples")
+endif()
+
+set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/activeqt/mediaplayer")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 COMPONENTS AxContainer)
+
+add_qt_gui_executable(mediaplayer
+ main.cpp
+ mainwindow.ui
+ mediaaxwidget.h
+)
+target_link_libraries(mediaplayer PUBLIC
+ Qt::AxContainer
+ Qt::Core
+ Qt::Gui
+ Qt::Widgets
+)
+
+install(TARGETS mediaplayer
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/activeqt/menus/CMakeLists.txt b/examples/activeqt/menus/CMakeLists.txt
new file mode 100644
index 0000000..1bf6a6b
--- /dev/null
+++ b/examples/activeqt/menus/CMakeLists.txt
@@ -0,0 +1,38 @@
+# Generated from menus.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(menusax LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+if(NOT DEFINED INSTALL_EXAMPLESDIR)
+ set(INSTALL_EXAMPLESDIR "examples")
+endif()
+
+set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/activeqt/menus")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 COMPONENTS AxServer)
+
+add_qt_gui_executable(menusax
+ main.cpp
+ menus.cpp menus.h
+)
+target_link_libraries(menusax PUBLIC
+ Qt::AxServer
+ Qt::Core
+ Qt::Gui
+ Qt::Widgets
+)
+
+install(TARGETS menusax
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/activeqt/multiple/CMakeLists.txt b/examples/activeqt/multiple/CMakeLists.txt
new file mode 100644
index 0000000..ac9f8a9
--- /dev/null
+++ b/examples/activeqt/multiple/CMakeLists.txt
@@ -0,0 +1,39 @@
+# Generated from multiple.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(multipleax LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+if(NOT DEFINED INSTALL_EXAMPLESDIR)
+ set(INSTALL_EXAMPLESDIR "examples")
+endif()
+
+set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/activeqt/multiple")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 COMPONENTS AxServer)
+
+add_qt_gui_executable(multipleax
+ ax1.h
+ ax2.h
+ main.cpp
+)
+target_link_libraries(multipleax PUBLIC
+ Qt::AxServer
+ Qt::Core
+ Qt::Gui
+ Qt::Widgets
+)
+
+install(TARGETS multipleax
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/activeqt/opengl/CMakeLists.txt b/examples/activeqt/opengl/CMakeLists.txt
new file mode 100644
index 0000000..5c08b0c
--- /dev/null
+++ b/examples/activeqt/opengl/CMakeLists.txt
@@ -0,0 +1,43 @@
+# Generated from opengl.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(openglax LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+if(NOT DEFINED INSTALL_EXAMPLESDIR)
+ set(INSTALL_EXAMPLESDIR "examples")
+endif()
+
+set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/activeqt/opengl")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 COMPONENTS AxServer)
+find_package(Qt6 COMPONENTS OpenGL)
+find_package(Qt6 COMPONENTS OpenGLWidgets)
+
+add_qt_gui_executable(openglax
+ glbox.cpp glbox.h
+ globjwin.cpp globjwin.h
+ main.cpp
+)
+target_link_libraries(openglax PUBLIC
+ Qt::AxServer
+ Qt::Core
+ Qt::Gui
+ Qt::OpenGL
+ Qt::OpenGLWidgets
+ Qt::Widgets
+)
+
+install(TARGETS openglax
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/activeqt/qutlook/CMakeLists.txt b/examples/activeqt/qutlook/CMakeLists.txt
new file mode 100644
index 0000000..3373330
--- /dev/null
+++ b/examples/activeqt/qutlook/CMakeLists.txt
@@ -0,0 +1,42 @@
+# Generated from qutlook.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(qutlook LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+if(NOT DEFINED INSTALL_EXAMPLESDIR)
+ set(INSTALL_EXAMPLESDIR "examples")
+endif()
+
+set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/activeqt/qutlook")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 COMPONENTS AxContainer)
+
+)
+target_link_libraries(qutlook PUBLIC
+ Qt::AxContainer
+ Qt::Core
+ Qt::Gui
+ Qt::Widgets
+)
+
+if(NOT TYPELIBS_ISEMPTY)
+ target_sources(qutlook PUBLIC
+ addressview.cpp addressview.h
+ main.cpp
+ )
+endif()
+
+install(TARGETS qutlook
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/activeqt/simple/CMakeLists.txt b/examples/activeqt/simple/CMakeLists.txt
new file mode 100644
index 0000000..600defb
--- /dev/null
+++ b/examples/activeqt/simple/CMakeLists.txt
@@ -0,0 +1,37 @@
+# Generated from simple.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(simpleax LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+if(NOT DEFINED INSTALL_EXAMPLESDIR)
+ set(INSTALL_EXAMPLESDIR "examples")
+endif()
+
+set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/activeqt/simple")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 COMPONENTS AxServer)
+
+add_qt_gui_executable(simpleax
+ main.cpp
+)
+target_link_libraries(simpleax PUBLIC
+ Qt::AxServer
+ Qt::Core
+ Qt::Gui
+ Qt::Widgets
+)
+
+install(TARGETS simpleax
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/activeqt/simpleqml/CMakeLists.txt b/examples/activeqt/simpleqml/CMakeLists.txt
new file mode 100644
index 0000000..bc293ad
--- /dev/null
+++ b/examples/activeqt/simpleqml/CMakeLists.txt
@@ -0,0 +1,54 @@
+# Generated from simpleqml.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(simpleqmlax LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+if(NOT DEFINED INSTALL_EXAMPLESDIR)
+ set(INSTALL_EXAMPLESDIR "examples")
+endif()
+
+set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/activeqt/simpleqml")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 COMPONENTS AxServer)
+find_package(Qt6 COMPONENTS Quick)
+find_package(Qt6 COMPONENTS QuickWidgets)
+
+add_qt_gui_executable(simpleqmlax
+ main.cpp
+)
+target_link_libraries(simpleqmlax PUBLIC
+ Qt::AxServer
+ Qt::Core
+ Qt::Gui
+ Qt::Quick
+ Qt::QuickWidgets
+ Qt::Widgets
+)
+
+
+# Resources:
+set(simpleqml_resource_files
+ "main.qml"
+)
+
+qt6_add_resources(simpleqmlax "simpleqml"
+ PREFIX
+ "/"
+ FILES
+ ${simpleqml_resource_files}
+)
+
+install(TARGETS simpleqmlax
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/activeqt/wrapper/CMakeLists.txt b/examples/activeqt/wrapper/CMakeLists.txt
new file mode 100644
index 0000000..4a43092
--- /dev/null
+++ b/examples/activeqt/wrapper/CMakeLists.txt
@@ -0,0 +1,37 @@
+# Generated from wrapper.pro.
+
+cmake_minimum_required(VERSION 3.14)
+project(wrapperax LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+if(NOT DEFINED INSTALL_EXAMPLESDIR)
+ set(INSTALL_EXAMPLESDIR "examples")
+endif()
+
+set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/activeqt/wrapper")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 COMPONENTS AxServer)
+
+add_qt_gui_executable(wrapperax
+ main.cpp
+)
+target_link_libraries(wrapperax PUBLIC
+ Qt::AxServer
+ Qt::Core
+ Qt::Gui
+ Qt::Widgets
+)
+
+install(TARGETS wrapperax
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..f7e72c9
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Generated from src.pro.
+
+add_subdirectory(activeqt)
+if(WIN32 AND NOT WINRT)
+ add_subdirectory(tools)
+endif()
diff --git a/src/activeqt/CMakeLists.txt b/src/activeqt/CMakeLists.txt
new file mode 100644
index 0000000..13c5283
--- /dev/null
+++ b/src/activeqt/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from activeqt.pro.
+
+# special case begin
+add_subdirectory(axbase)
+add_subdirectory(control)
+add_subdirectory(container)
+# special case end
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:activeqt.pro:WIN32 AND NOT WINRT:
+# SUBDIRS = "axbase" "control" "container" "activeqt"
+# TEMPLATE = "subdirs"
+# activeqt.file = "activeqt.prx"
+
+#### Keys ignored in scope 3:.:.:activeqt.pro:else:
+# TEMPLATE = "aux"
diff --git a/src/activeqt/axbase/CMakeLists.txt b/src/activeqt/axbase/CMakeLists.txt
new file mode 100644
index 0000000..787d240
--- /dev/null
+++ b/src/activeqt/axbase/CMakeLists.txt
@@ -0,0 +1,36 @@
+# Generated from axbase.pro.
+
+#####################################################################
+## AxBase Module:
+#####################################################################
+
+qt_add_module(AxBase
+ STATIC
+ INTERNAL_MODULE
+ SOURCES
+ qaxtypefunctions.cpp qaxtypefunctions_p.h
+ qaxutils.cpp qaxutils_p.h
+ LIBRARIES
+ advapi32
+ gdi32
+ ole32
+ oleaut32
+ user32
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::GuiPrivate
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 1:.:.:axbase.pro:<TRUE>:
+# MODULE = "axbase"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(AxBase CONDITION MINGW
+ LIBRARIES
+ uuid
+)
diff --git a/src/activeqt/container/CMakeLists.txt b/src/activeqt/container/CMakeLists.txt
new file mode 100644
index 0000000..f9b72b4
--- /dev/null
+++ b/src/activeqt/container/CMakeLists.txt
@@ -0,0 +1,35 @@
+# Generated from container.pro.
+
+#####################################################################
+## AxContainer Module:
+#####################################################################
+
+qt_add_module(AxContainer
+ STATIC
+ QMAKE_MODULE_CONFIG dumpcpp
+ SOURCES
+ ../control/qaxaggregated.h
+ ../shared/qaxtypes.cpp ../shared/qaxtypes_p.h
+ qaxbase.cpp qaxbase.h qaxbase_p.h
+ qaxdump.cpp
+ qaxobject.cpp qaxobject.h
+ qaxscript.cpp qaxscript.h
+ qaxscriptwrapper.cpp
+ qaxselect.cpp qaxselect.h qaxselect.ui
+ qaxwidget.cpp qaxwidget.h
+ LIBRARIES
+ Qt::AxBasePrivate
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::WidgetsPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Widgets
+ ENABLE_AUTOGEN_TOOLS
+ uic
+)
+
+#### Keys ignored in scope 1:.:.:container.pro:<TRUE>:
+# MODULE = "axcontainer"
+# MODULE_CONFIG = "dumpcpp"
diff --git a/src/activeqt/control/CMakeLists.txt b/src/activeqt/control/CMakeLists.txt
new file mode 100644
index 0000000..c33411d
--- /dev/null
+++ b/src/activeqt/control/CMakeLists.txt
@@ -0,0 +1,47 @@
+# Generated from control.pro.
+
+#####################################################################
+## AxServer Module:
+#####################################################################
+
+qt_add_module(AxServer
+ STATIC
+ QMAKE_MODULE_CONFIG idcidl force_import_plugins
+ SOURCES
+ ../shared/qaxtypes.cpp ../shared/qaxtypes_p.h
+ qaxaggregated.cpp qaxaggregated.h
+ qaxbindable.cpp qaxbindable.h
+ qaxfactory.cpp qaxfactory.h
+ qaxmain.cpp
+ qaxserver.cpp
+ qaxserverbase.cpp
+ qaxserverdll.cpp
+ qaxservermain.cpp
+ qclassfactory_p.h
+ DEFINES
+ QAX_SERVER
+ PUBLIC_DEFINES
+ QAXSERVER
+ LIBRARIES
+ Qt::AxBasePrivate
+ Qt::CorePrivate
+ Qt::GuiPrivate
+ Qt::WidgetsPrivate
+ PUBLIC_LIBRARIES
+ Qt::Core
+ Qt::Gui
+ Qt::Widgets
+ shell32
+)
+
+#### Keys ignored in scope 1:.:.:control.pro:<TRUE>:
+# MODULE = "axserver"
+# MODULE_CONFIG = "idcidl" "force_import_plugins"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(AxServer CONDITION MINGW
+ DEFINES
+ QT_NEEDS_QMAIN
+)
diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt
new file mode 100644
index 0000000..28a5f42
--- /dev/null
+++ b/src/tools/CMakeLists.txt
@@ -0,0 +1,3 @@
+# Generated from tools.pro.
+
+add_subdirectory(idc)
diff --git a/src/tools/idc/CMakeLists.txt b/src/tools/idc/CMakeLists.txt
new file mode 100644
index 0000000..607404f
--- /dev/null
+++ b/src/tools/idc/CMakeLists.txt
@@ -0,0 +1,16 @@
+# Generated from idc.pro.
+
+#####################################################################
+## idc Tool:
+#####################################################################
+
+qt_add_tool(idc
+# BOOTSTRAP # special case
+ TOOLS_TARGET AxContainer # special case
+ SOURCES
+ main.cpp
+)
+
+#### Keys ignored in scope 1:.:.:idc.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "Active Qt Interface Description Compiler"
+# _OPTION = "host_build"
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
new file mode 100644
index 0000000..2214137
--- /dev/null
+++ b/tests/CMakeLists.txt
@@ -0,0 +1,7 @@
+# Generated from tests.pro.
+
+if(QT_BUILD_STANDALONE_TESTS)
+ # Add qt_find_package calls for extra dependencies that need to be found when building
+ # the standalone tests here.
+endif()
+qt_build_tests()
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt
new file mode 100644
index 0000000..8537f4f
--- /dev/null
+++ b/tests/auto/CMakeLists.txt
@@ -0,0 +1,9 @@
+# Generated from auto.pro.
+
+add_subdirectory(conversion)
+add_subdirectory(qaxobject)
+# add_subdirectory(dumpcpp) (needs typelib target) # special case
+#add_subdirectory(cmake) # special case
+if(NOT GCC)
+ add_subdirectory(qaxscript)
+endif()
diff --git a/tests/auto/conversion/CMakeLists.txt b/tests/auto/conversion/CMakeLists.txt
new file mode 100644
index 0000000..4aab821
--- /dev/null
+++ b/tests/auto/conversion/CMakeLists.txt
@@ -0,0 +1,13 @@
+# Generated from conversion.pro.
+
+#####################################################################
+## conversion Test:
+#####################################################################
+
+qt_add_test(conversion
+ SOURCES
+ tst_conversion.cpp
+ PUBLIC_LIBRARIES
+ Qt::AxContainer
+ Qt::Gui
+)
diff --git a/tests/auto/dumpcpp/CMakeLists.txt b/tests/auto/dumpcpp/CMakeLists.txt
new file mode 100644
index 0000000..91da6c3
--- /dev/null
+++ b/tests/auto/dumpcpp/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from dumpcpp.pro.
+
+#####################################################################
+## tst_dumpcpp Test:
+#####################################################################
+
+qt_add_test(tst_dumpcpp
+ SOURCES
+ tst_dumpcpp.cpp
+ PUBLIC_LIBRARIES
+ Qt::AxContainer
+ Qt::Gui
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 1:.:.:dumpcpp.pro:<TRUE>:
+# TYPELIBS = "$$(SystemRoot)\\system32\\ieframe.dll"
+
+## Scopes:
+#####################################################################
diff --git a/tests/auto/qaxobject/CMakeLists.txt b/tests/auto/qaxobject/CMakeLists.txt
new file mode 100644
index 0000000..7c07415
--- /dev/null
+++ b/tests/auto/qaxobject/CMakeLists.txt
@@ -0,0 +1,13 @@
+# Generated from qaxobject.pro.
+
+#####################################################################
+## qaxobject Test:
+#####################################################################
+
+qt_add_test(qaxobject
+ SOURCES
+ tst_qaxobject.cpp
+ PUBLIC_LIBRARIES
+ Qt::AxContainer
+ Qt::Gui
+)
diff --git a/tests/auto/qaxscript/CMakeLists.txt b/tests/auto/qaxscript/CMakeLists.txt
new file mode 100644
index 0000000..4312217
--- /dev/null
+++ b/tests/auto/qaxscript/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Generated from qaxscript.pro.
+
+#####################################################################
+## qaxscript Test:
+#####################################################################
+
+qt_add_test(qaxscript
+ SOURCES
+ tst_qaxscript.cpp
+ PUBLIC_LIBRARIES
+ Qt::AxContainer
+)
diff --git a/tests/manual/CMakeLists.txt b/tests/manual/CMakeLists.txt
new file mode 100644
index 0000000..048232d
--- /dev/null
+++ b/tests/manual/CMakeLists.txt
@@ -0,0 +1,5 @@
+# Generated from manual.pro.
+
+add_subdirectory(axviewer)
+add_subdirectory(dumpcpp)
+add_subdirectory(testcontrol)
diff --git a/tests/manual/axviewer/CMakeLists.txt b/tests/manual/axviewer/CMakeLists.txt
new file mode 100644
index 0000000..4974bcf
--- /dev/null
+++ b/tests/manual/axviewer/CMakeLists.txt
@@ -0,0 +1,69 @@
+# Generated from axviewer.pro.
+
+#####################################################################
+## axviewer Binary:
+#####################################################################
+
+qt_add_manual_test(axviewer
+ SOURCES
+ ../shared/metaobjectdump.cpp ../shared/metaobjectdump.h
+ ../shared/textdialog.cpp ../shared/textdialog.h
+ main.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::AxContainer
+ Qt::Gui
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 1:.:.:axviewer.pro:<TRUE>:
+# DIAGLIB = "../../../../qtbase/tests/manual/diaglib"
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(axviewer CONDITION EXISTS _ss_DIAGLIB
+ SOURCES
+ ../../../../qtbase/tests/manual/diaglib/eventfilter.cpp ../../../../qtbase/tests/manual/diaglib/eventfilter.h
+ ../../../../qtbase/tests/manual/diaglib/nativewindowdump.h
+ ../../../../qtbase/tests/manual/diaglib/qwindowdump.cpp ../../../../qtbase/tests/manual/diaglib/qwindowdump.h
+ ../../../../qtbase/tests/manual/diaglib/textdump.cpp ../../../../qtbase/tests/manual/diaglib/textdump.h
+ DEFINES
+ QT_DIAG_LIB
+ INCLUDE_DIRECTORIES
+ ../../../../qtbase/tests/manual/diaglib
+ PUBLIC_LIBRARIES
+ Qt::CorePrivate
+ Qt::GuiPrivate
+)
+
+qt_extend_target(axviewer CONDITION (EXISTS _ss_DIAGLIB) AND (WIN32 AND NOT WINRT)
+ SOURCES
+ ../../../../qtbase/tests/manual/diaglib/nativewindowdump_win.cpp
+ PUBLIC_LIBRARIES
+ user32
+)
+
+qt_extend_target(axviewer CONDITION (EXISTS _ss_DIAGLIB) AND (NOT (WIN32 AND NOT WINRT))
+ SOURCES
+ ../../../../qtbase/tests/manual/diaglib/nativewindowdump.cpp
+)
+
+qt_extend_target(axviewer CONDITION (EXISTS _ss_DIAGLIB) AND (QT_FEATURE_widgets)
+ SOURCES
+ ../../../../qtbase/tests/manual/diaglib/debugproxystyle.cpp ../../../../qtbase/tests/manual/diaglib/debugproxystyle.h
+ ../../../../qtbase/tests/manual/diaglib/logwidget.cpp ../../../../qtbase/tests/manual/diaglib/logwidget.h
+ ../../../../qtbase/tests/manual/diaglib/qwidgetdump.cpp ../../../../qtbase/tests/manual/diaglib/qwidgetdump.h
+ PUBLIC_LIBRARIES
+ Qt::WidgetsPrivate
+)
+
+qt_extend_target(axviewer CONDITION (EXISTS _ss_DIAGLIB) AND (QT_FEATURE_opengl)
+ SOURCES
+ ../../../../qtbase/tests/manual/diaglib/glinfo.cpp ../../../../qtbase/tests/manual/diaglib/glinfo.h
+ PUBLIC_LIBRARIES
+ Qt::OpenGL
+ Qt::OpenGLWidgets
+)
diff --git a/tests/manual/dumpcpp/CMakeLists.txt b/tests/manual/dumpcpp/CMakeLists.txt
new file mode 100644
index 0000000..bc681d9
--- /dev/null
+++ b/tests/manual/dumpcpp/CMakeLists.txt
@@ -0,0 +1,26 @@
+# Generated from dumpcpp.pro.
+
+#####################################################################
+## dumpcpp Binary:
+#####################################################################
+
+qt_add_executable(dumpcpp
+ SOURCES
+ ../shared/metaobjectdump.cpp ../shared/metaobjectdump.h
+ ../shared/textdialog.cpp ../shared/textdialog.h
+ main.cpp
+ INCLUDE_DIRECTORIES
+ ../shared
+ PUBLIC_LIBRARIES
+ Qt::AxContainer
+ Qt::Gui
+ Qt::Test
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 1:.:.:dumpcpp.pro:<TRUE>:
+# TEMPLATE = "app"
+# TYPELIBS = "$$(SystemRoot)\\system32\\ieframe.dll"
+
+## Scopes:
+#####################################################################
diff --git a/tests/manual/testcontrol/CMakeLists.txt b/tests/manual/testcontrol/CMakeLists.txt
new file mode 100644
index 0000000..3115e4d
--- /dev/null
+++ b/tests/manual/testcontrol/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Generated from testcontrol.pro.
+
+#####################################################################
+## testcontrol Binary:
+#####################################################################
+
+qt_add_executable(testcontrol
+ GUI
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::AxServer
+ Qt::Gui
+ Qt::Widgets
+)
+qt_disable_warnings(testcontrol)
+
+#### Keys ignored in scope 1:.:.:testcontrol.pro:<TRUE>:
+# RC_FILE = "testcontrol.rc"
+# TEMPLATE = "app"
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
new file mode 100644
index 0000000..c41b17e
--- /dev/null
+++ b/tools/CMakeLists.txt
@@ -0,0 +1,10 @@
+# Generated from tools.pro.
+
+
+qt_exclude_tool_directories_from_default_target(
+ testcon
+)
+
+add_subdirectory(dumpdoc)
+add_subdirectory(dumpcpp)
+add_subdirectory(testcon)
diff --git a/tools/dumpcpp/CMakeLists.txt b/tools/dumpcpp/CMakeLists.txt
new file mode 100644
index 0000000..6c13386
--- /dev/null
+++ b/tools/dumpcpp/CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from dumpcpp.pro.
+
+#####################################################################
+## dumpcpp Tool:
+#####################################################################
+
+qt_add_tool(dumpcpp
+ TOOLS_TARGET AxContainer # special case
+ SOURCES
+ main.cpp
+ moc.cpp moc.h
+ DEFINES
+ QT_ASCII_CAST_WARNINGS
+ QT_NO_CAST_TO_ASCII
+ PUBLIC_LIBRARIES
+ Qt::AxContainer
+ Qt::CorePrivate
+ Qt::Gui
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 1:.:.:dumpcpp.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "Active Qt DumpCpp"
diff --git a/tools/dumpdoc/CMakeLists.txt b/tools/dumpdoc/CMakeLists.txt
new file mode 100644
index 0000000..5ee059e
--- /dev/null
+++ b/tools/dumpdoc/CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from dumpdoc.pro.
+
+#####################################################################
+## dumpdoc Tool:
+#####################################################################
+
+qt_add_tool(dumpdoc
+ TOOLS_TARGET AxContainer # special case
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::AxContainer
+ Qt::Gui
+ Qt::Widgets
+)
+
+#### Keys ignored in scope 1:.:.:dumpdoc.pro:<TRUE>:
+# QMAKE_TARGET_DESCRIPTION = "Active Qt DumpDoc"
diff --git a/tools/testcon/CMakeLists.txt b/tools/testcon/CMakeLists.txt
new file mode 100644
index 0000000..1a34519
--- /dev/null
+++ b/tools/testcon/CMakeLists.txt
@@ -0,0 +1,53 @@
+# Generated from testcon.pro.
+
+#####################################################################
+## testcon Binary:
+#####################################################################
+
+qt_add_executable(testcon
+ GUI
+# OUTPUT_DIRECTORY "$$[QT_INSTALL_BINS]" # special case
+# INSTALL_DIRECTORY "$$[QT_INSTALL_BINS]" # special case
+ SOURCES
+ ambientproperties.cpp ambientproperties.h ambientproperties.ui
+ changeproperties.cpp changeproperties.h changeproperties.ui
+ controlinfo.cpp controlinfo.h controlinfo.ui
+ docuwindow.cpp docuwindow.h
+ invokemethod.cpp invokemethod.h invokemethod.ui
+ main.cpp
+ mainwindow.cpp mainwindow.h mainwindow.ui
+ PUBLIC_LIBRARIES
+ Qt::AxContainer
+ Qt::AxContainerPrivate
+ Qt::AxServer
+ Qt::Gui
+ Qt::PrintSupport
+ Qt::Widgets
+ ENABLE_AUTOGEN_TOOLS
+ uic
+)
+
+# Resources:
+set(testcon_resource_files
+ "images/controlmethods.png"
+ "images/controlproperties.png"
+ "images/filenew.png"
+)
+
+qt_add_resource(testcon "testcon"
+ PREFIX
+ "/"
+ FILES
+ ${testcon_resource_files}
+)
+
+
+#### Keys ignored in scope 1:.:.:testcon.pro:<TRUE>:
+# RC_FILE = "testcon.rc"
+# TEMPLATE = "app"
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:testcon.pro:NOT mingw:
+# QMAKE_POST_LINK = "midl" "$$shell_quote($$shell_path $$PWD/testcon.idl)" "&&" "move" "testcon.tlb" "$(TARGETDIR)"