aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/.prev_CMakeLists.txt10
-rw-r--r--tests/CMakeLists.txt10
-rw-r--r--tests/auto/.prev_CMakeLists.txt9
-rw-r--r--tests/auto/CMakeLists.txt9
-rw-r--r--tests/auto/qpixmap/CMakeLists.txt22
-rw-r--r--tests/auto/qwinjumplist/CMakeLists.txt13
-rw-r--r--tests/auto/qwinmime/CMakeLists.txt14
-rw-r--r--tests/auto/qwintaskbarbutton/CMakeLists.txt13
-rw-r--r--tests/auto/qwintaskbarprogress/CMakeLists.txt13
-rw-r--r--tests/auto/qwinthumbnailtoolbar/CMakeLists.txt13
-rw-r--r--tests/manual/CMakeLists.txt8
-rw-r--r--tests/manual/dwmfeatures/CMakeLists.txt21
-rw-r--r--tests/manual/imageconversion/CMakeLists.txt19
-rw-r--r--tests/manual/jumplist/CMakeLists.txt21
-rw-r--r--tests/manual/thumbnail/CMakeLists.txt17
15 files changed, 212 insertions, 0 deletions
diff --git a/tests/.prev_CMakeLists.txt b/tests/.prev_CMakeLists.txt
new file mode 100644
index 0000000..aeadb1e
--- /dev/null
+++ b/tests/.prev_CMakeLists.txt
@@ -0,0 +1,10 @@
+# Generated from tests.pro.
+
+if(NOT TARGET Qt::Test)
+ cmake_minimum_required(VERSION 3.15.0)
+ project(QtWinExtrasTests VERSION 6.0.0 LANGUAGES C CXX)
+ find_package(Qt6 ${PROJECT_VERSION} REQUIRED COMPONENTS BuildInternals Core SET_ME_TO_SOMETHING_USEFUL)
+ find_package(Qt6 ${PROJECT_VERSION} OPTIONAL_COMPONENTS SET_ME_TO_SOMETHING_USEFUL)
+ qt_set_up_standalone_tests_build()
+endif()
+qt_build_tests()
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
new file mode 100644
index 0000000..2e1e4c7
--- /dev/null
+++ b/tests/CMakeLists.txt
@@ -0,0 +1,10 @@
+# Generated from tests.pro.
+
+if(NOT TARGET Qt::Test)
+ cmake_minimum_required(VERSION 3.15.0)
+ project(QtWinExtrasTests VERSION 6.0.0 LANGUAGES C CXX)
+ find_package(Qt6 ${PROJECT_VERSION} REQUIRED COMPONENTS BuildInternals Core Test Quick WinExtras Widgets) # special case
+ # find_package(Qt6 ${PROJECT_VERSION} OPTIONAL_COMPONENTS) # special case remove
+ qt_set_up_standalone_tests_build()
+endif()
+qt_build_tests()
diff --git a/tests/auto/.prev_CMakeLists.txt b/tests/auto/.prev_CMakeLists.txt
new file mode 100644
index 0000000..3198e58
--- /dev/null
+++ b/tests/auto/.prev_CMakeLists.txt
@@ -0,0 +1,9 @@
+# Generated from auto.pro.
+
+add_subdirectory(cmake)
+add_subdirectory(qwinthumbnailtoolbar)
+add_subdirectory(qpixmap)
+add_subdirectory(qwintaskbarbutton)
+add_subdirectory(qwintaskbarprogress)
+add_subdirectory(qwinjumplist)
+add_subdirectory(qwinmime)
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt
new file mode 100644
index 0000000..a73c4dc
--- /dev/null
+++ b/tests/auto/CMakeLists.txt
@@ -0,0 +1,9 @@
+# Generated from auto.pro.
+
+# add_subdirectory(cmake) # special case remove
+add_subdirectory(qwinthumbnailtoolbar)
+add_subdirectory(qpixmap)
+add_subdirectory(qwintaskbarbutton)
+add_subdirectory(qwintaskbarprogress)
+add_subdirectory(qwinjumplist)
+add_subdirectory(qwinmime)
diff --git a/tests/auto/qpixmap/CMakeLists.txt b/tests/auto/qpixmap/CMakeLists.txt
new file mode 100644
index 0000000..3fa1407
--- /dev/null
+++ b/tests/auto/qpixmap/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from qpixmap.pro.
+
+#####################################################################
+## tst_qpixmap Test:
+#####################################################################
+
+qt_add_test(tst_qpixmap
+ SOURCES
+ tst_qpixmap.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WinExtras
+)
+
+## Scopes:
+#####################################################################
+
+qt_extend_target(tst_qpixmap CONDITION QT_FEATURE_dynamicgl OR (WIN32 AND NOT TARGET Qt::OpenGL)
+ PUBLIC_LIBRARIES
+ gdi32
+ user32
+)
diff --git a/tests/auto/qwinjumplist/CMakeLists.txt b/tests/auto/qwinjumplist/CMakeLists.txt
new file mode 100644
index 0000000..a300ee8
--- /dev/null
+++ b/tests/auto/qwinjumplist/CMakeLists.txt
@@ -0,0 +1,13 @@
+# Generated from qwinjumplist.pro.
+
+#####################################################################
+## tst_qwinjumplist Test:
+#####################################################################
+
+qt_add_test(tst_qwinjumplist
+ SOURCES
+ tst_qwinjumplist.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WinExtras
+)
diff --git a/tests/auto/qwinmime/CMakeLists.txt b/tests/auto/qwinmime/CMakeLists.txt
new file mode 100644
index 0000000..e502d1f
--- /dev/null
+++ b/tests/auto/qwinmime/CMakeLists.txt
@@ -0,0 +1,14 @@
+# Generated from qwinmime.pro.
+
+#####################################################################
+## tst_qwinmime Test:
+#####################################################################
+
+qt_add_test(tst_qwinmime
+ SOURCES
+ tst_qwinmime.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Widgets
+ Qt::WinExtras
+)
diff --git a/tests/auto/qwintaskbarbutton/CMakeLists.txt b/tests/auto/qwintaskbarbutton/CMakeLists.txt
new file mode 100644
index 0000000..f313e0d
--- /dev/null
+++ b/tests/auto/qwintaskbarbutton/CMakeLists.txt
@@ -0,0 +1,13 @@
+# Generated from qwintaskbarbutton.pro.
+
+#####################################################################
+## tst_qwintaskbarbutton Test:
+#####################################################################
+
+qt_add_test(tst_qwintaskbarbutton
+ SOURCES
+ tst_qwintaskbarbutton.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WinExtras
+)
diff --git a/tests/auto/qwintaskbarprogress/CMakeLists.txt b/tests/auto/qwintaskbarprogress/CMakeLists.txt
new file mode 100644
index 0000000..e218e3e
--- /dev/null
+++ b/tests/auto/qwintaskbarprogress/CMakeLists.txt
@@ -0,0 +1,13 @@
+# Generated from qwintaskbarprogress.pro.
+
+#####################################################################
+## tst_qwintaskbarprogress Test:
+#####################################################################
+
+qt_add_test(tst_qwintaskbarprogress
+ SOURCES
+ tst_qwintaskbarprogress.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WinExtras
+)
diff --git a/tests/auto/qwinthumbnailtoolbar/CMakeLists.txt b/tests/auto/qwinthumbnailtoolbar/CMakeLists.txt
new file mode 100644
index 0000000..ec17682
--- /dev/null
+++ b/tests/auto/qwinthumbnailtoolbar/CMakeLists.txt
@@ -0,0 +1,13 @@
+# Generated from qwinthumbnailtoolbar.pro.
+
+#####################################################################
+## tst_qwinthumbnailtoolbar Test:
+#####################################################################
+
+qt_add_test(tst_qwinthumbnailtoolbar
+ SOURCES
+ tst_qwinthumbnailtoolbar.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::WinExtras
+)
diff --git a/tests/manual/CMakeLists.txt b/tests/manual/CMakeLists.txt
new file mode 100644
index 0000000..7b01593
--- /dev/null
+++ b/tests/manual/CMakeLists.txt
@@ -0,0 +1,8 @@
+# Generated from manual.pro.
+
+if(TARGET Qt::Widgets)
+ add_subdirectory(dwmfeatures)
+ add_subdirectory(jumplist)
+ add_subdirectory(thumbnail)
+ add_subdirectory(imageconversion)
+endif()
diff --git a/tests/manual/dwmfeatures/CMakeLists.txt b/tests/manual/dwmfeatures/CMakeLists.txt
new file mode 100644
index 0000000..0f9b3a2
--- /dev/null
+++ b/tests/manual/dwmfeatures/CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from dwmfeatures.pro.
+
+#####################################################################
+## dwmfeatures Binary:
+#####################################################################
+
+qt_add_manual_test(dwmfeatures
+ GUI
+ SOURCES
+ main.cpp
+ testwidget.cpp testwidget.h testwidget.ui
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Widgets
+ Qt::WinExtras
+ ENABLE_AUTOGEN_TOOLS
+ uic
+)
+
+#### Keys ignored in scope 1:.:.:dwmfeatures.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/tests/manual/imageconversion/CMakeLists.txt b/tests/manual/imageconversion/CMakeLists.txt
new file mode 100644
index 0000000..623561f
--- /dev/null
+++ b/tests/manual/imageconversion/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from imageconversion.pro.
+
+#####################################################################
+## imageconversion Binary:
+#####################################################################
+
+qt_add_manual_test(imageconversion
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Widgets
+ Qt::WinExtras
+ gdi32
+ user32
+)
+
+#### Keys ignored in scope 1:.:.:imageconversion.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/tests/manual/jumplist/CMakeLists.txt b/tests/manual/jumplist/CMakeLists.txt
new file mode 100644
index 0000000..e5b8379
--- /dev/null
+++ b/tests/manual/jumplist/CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from jumplist.pro.
+
+#####################################################################
+## jumplist Binary:
+#####################################################################
+
+qt_add_manual_test(jumplist
+ GUI
+ SOURCES
+ main.cpp
+ testwidget.cpp testwidget.h testwidget.ui
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Widgets
+ Qt::WinExtras
+ ENABLE_AUTOGEN_TOOLS
+ uic
+)
+
+#### Keys ignored in scope 1:.:.:jumplist.pro:<TRUE>:
+# TEMPLATE = "app"
diff --git a/tests/manual/thumbnail/CMakeLists.txt b/tests/manual/thumbnail/CMakeLists.txt
new file mode 100644
index 0000000..0730bc2
--- /dev/null
+++ b/tests/manual/thumbnail/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Generated from thumbnail.pro.
+
+#####################################################################
+## thumbnail Binary:
+#####################################################################
+
+qt_add_manual_test(thumbnail
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Gui
+ Qt::Widgets
+ Qt::WinExtras
+)
+
+#### Keys ignored in scope 1:.:.:thumbnail.pro:<TRUE>:
+# TEMPLATE = "app"