summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/UicNoGui/NoQt
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2018-11-27 12:06:21 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2018-11-28 12:06:05 (GMT)
commit0814d74548cda4e2e10183ed84ed8d0c4ff058fb (patch)
tree9953aebfcb90357ffbbde90ccae84cf949c1ebba /Tests/QtAutogen/UicNoGui/NoQt
parent2ef640819fcf9ca741b3ebcb543b9a01ffb40689 (diff)
downloadCMake-0814d74548cda4e2e10183ed84ed8d0c4ff058fb.zip
CMake-0814d74548cda4e2e10183ed84ed8d0c4ff058fb.tar.gz
CMake-0814d74548cda4e2e10183ed84ed8d0c4ff058fb.tar.bz2
Autogen: Add QtAutogen.UicNoGui test
Adds a Qt core only test that has ``AUTOUIC`` enabled targets that don't link against QtXWidgets or Qt at all.
Diffstat (limited to 'Tests/QtAutogen/UicNoGui/NoQt')
-rw-r--r--Tests/QtAutogen/UicNoGui/NoQt/CMakeLists.txt2
-rw-r--r--Tests/QtAutogen/UicNoGui/NoQt/main.cpp4
2 files changed, 6 insertions, 0 deletions
diff --git a/Tests/QtAutogen/UicNoGui/NoQt/CMakeLists.txt b/Tests/QtAutogen/UicNoGui/NoQt/CMakeLists.txt
new file mode 100644
index 0000000..f2bf3ee
--- /dev/null
+++ b/Tests/QtAutogen/UicNoGui/NoQt/CMakeLists.txt
@@ -0,0 +1,2 @@
+# Library doesn't use or link against Qt at all
+add_library(noQt main.cpp)
diff --git a/Tests/QtAutogen/UicNoGui/NoQt/main.cpp b/Tests/QtAutogen/UicNoGui/NoQt/main.cpp
new file mode 100644
index 0000000..0052cc8
--- /dev/null
+++ b/Tests/QtAutogen/UicNoGui/NoQt/main.cpp
@@ -0,0 +1,4 @@
+
+void noQt()
+{
+}