diff options
Diffstat (limited to 'tests/auto/opengl/qgl/CMakeLists.txt')
-rw-r--r-- | tests/auto/opengl/qgl/CMakeLists.txt | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/auto/opengl/qgl/CMakeLists.txt b/tests/auto/opengl/qgl/CMakeLists.txt new file mode 100644 index 0000000000..6af8834473 --- /dev/null +++ b/tests/auto/opengl/qgl/CMakeLists.txt @@ -0,0 +1,42 @@ +# Generated from qgl.pro. + +if(NOT TARGET Qt::OpenGL) + return() +endif() + +##################################################################### +## tst_qgl Test: +##################################################################### + +add_qt_test(tst_qgl + SOURCES + tst_qgl.cpp + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::OpenGLPrivate + Qt::WidgetsPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::OpenGL + Qt::Widgets +) + +# Resources: +set_source_files_properties("../../gui/image/qpixmap/images/designer.png" + PROPERTIES QT_RESOURCE_ALIAS "designer.png" +) +set(qgl_resource_files + "../../gui/image/qpixmap/images/designer.png" +) + +add_qt_resource(tst_qgl "qgl" + PREFIX + "/" + FILES + ${qgl_resource_files} +) + + +#### Keys ignored in scope 1:.:.:qgl.pro:<TRUE>: +# _REQUIREMENTS = "qtHaveModule(opengl)" |