summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/cmake/test_qx11_module/CMakeLists.txt8
-rw-r--r--tests/auto/cmake/test_qx11_module/main.cpp6
-rw-r--r--tests/auto/qx11info/qx11info.pro2
3 files changed, 8 insertions, 8 deletions
diff --git a/tests/auto/cmake/test_qx11_module/CMakeLists.txt b/tests/auto/cmake/test_qx11_module/CMakeLists.txt
index d6f050e..016cf5f 100644
--- a/tests/auto/cmake/test_qx11_module/CMakeLists.txt
+++ b/tests/auto/cmake/test_qx11_module/CMakeLists.txt
@@ -6,14 +6,14 @@ project(test_qx11_module)
find_package(Qt5Core REQUIRED)
find_package(Qt5Gui REQUIRED)
-find_package(Qt5X11Support REQUIRED)
+find_package(Qt5X11Extras REQUIRED)
include_directories(
- ${Qt5X11Support_INCLUDE_DIRS}
+ ${Qt5X11Extras_INCLUDE_DIRS}
)
add_definitions(
- ${Qt5X11Support_DEFINITIONS}
+ ${Qt5X11Extras_DEFINITIONS}
)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Core_EXECUTABLE_COMPILE_FLAGS}")
@@ -21,5 +21,5 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Core_EXECUTABLE_COMPILE_FLAGS}")
add_executable(mainapp main.cpp)
target_link_libraries(mainapp
- ${Qt5X11Support_LIBRARIES}
+ ${Qt5X11Extras_LIBRARIES}
)
diff --git a/tests/auto/cmake/test_qx11_module/main.cpp b/tests/auto/cmake/test_qx11_module/main.cpp
index 932521f..41f22da 100644
--- a/tests/auto/cmake/test_qx11_module/main.cpp
+++ b/tests/auto/cmake/test_qx11_module/main.cpp
@@ -1,8 +1,8 @@
#include <QX11Info>
-#include <QtX11Support/QX11Info>
-#include <QtX11Support/QtX11Support>
-#include <QtX11Support>
+#include <QtX11Extras/QX11Info>
+#include <QtX11Extras/QtX11Extras>
+#include <QtX11Extras>
int main(int argc, char **argv)
{
diff --git a/tests/auto/qx11info/qx11info.pro b/tests/auto/qx11info/qx11info.pro
index 2833705..9059baa 100644
--- a/tests/auto/qx11info/qx11info.pro
+++ b/tests/auto/qx11info/qx11info.pro
@@ -1,4 +1,4 @@
CONFIG += testcase
TARGET = tst_qx11info
-QT += x11support widgets testlib
+QT += x11extras widgets testlib
SOURCES += tst_qx11info.cpp