diff --git a/tests/auto/gui/CMakeLists.txt b/tests/auto/gui/CMakeLists.txt index e64a697f750..4b93bc2c85d 100644 --- a/tests/auto/gui/CMakeLists.txt +++ b/tests/auto/gui/CMakeLists.txt @@ -11,8 +11,8 @@ if(NOT APPLE_UIKIT) add_subdirectory(rhi) endif() if(QT_FEATURE_opengl AND NOT APPLE_UIKIT AND NOT WINRT) - # add_subdirectory(qopenglconfig) # special case missing project - # add_subdirectory(qopengl) # special case missing project + add_subdirectory(qopenglconfig) + add_subdirectory(qopengl) endif() if(QT_FEATURE_vulkan AND NOT APPLE_UIKIT) # add_subdirectory(qvulkan) # special case missing project diff --git a/tests/auto/gui/qopengl/CMakeLists.txt b/tests/auto/gui/qopengl/CMakeLists.txt new file mode 100644 index 00000000000..d488c808f99 --- /dev/null +++ b/tests/auto/gui/qopengl/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from qopengl.pro. + +##################################################################### +## tst_qopengl Test: +##################################################################### + +add_qt_test(tst_qopengl + SOURCES + tst_qopengl.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui +) + +## Scopes: +##################################################################### + +extend_target(tst_qopengl CONDITION LINUX AND QT_FEATURE_xcb AND QT_FEATURE_xcb_glx_plugin + DEFINES + USE_GLX +) diff --git a/tests/auto/gui/qopenglconfig/CMakeLists.txt b/tests/auto/gui/qopenglconfig/CMakeLists.txt new file mode 100644 index 00000000000..bcac684cf97 --- /dev/null +++ b/tests/auto/gui/qopenglconfig/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from qopenglconfig.pro. + +##################################################################### +## tst_qopenglconfig Test: +##################################################################### + +# Collect test data +list(APPEND test_data "buglist.json") + +add_qt_test(tst_qopenglconfig + SOURCES + tst_qopenglconfig.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Gui + TESTDATA ${test_data} +)