diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2020-02-04 11:47:39 +0100 |
---|---|---|
committer | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2020-02-18 09:22:51 +0100 |
commit | 00eeed234f7c4cfc357b17424e0dcd714ff65e70 (patch) | |
tree | 19f93238e01638c519dbf6a15bd20768fab39aa6 /examples/widgets/graphicsview | |
parent | 077959972b6eb6fab55d08f955e4eeade48c09a9 (diff) |
Move QOpenGLWidget from QtOpenGL to its own module
Same pattern as QtQuickWidgets. Gets rid of QtOpenGL's dependency on QtWidgets.
Task-number: QTBUG-74409
Change-Id: I4f9b55c23e25a1e0519734037b768a16e870c7d2
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'examples/widgets/graphicsview')
3 files changed, 3 insertions, 1 deletions
diff --git a/examples/widgets/graphicsview/padnavigator/.prev_CMakeLists.txt b/examples/widgets/graphicsview/padnavigator/.prev_CMakeLists.txt index 748e1e27f3..6514f07a5a 100644 --- a/examples/widgets/graphicsview/padnavigator/.prev_CMakeLists.txt +++ b/examples/widgets/graphicsview/padnavigator/.prev_CMakeLists.txt @@ -53,6 +53,7 @@ qt6_add_resources(padnavigator "padnavigator" if(TARGET Qt::OpenGL) target_link_libraries(padnavigator PUBLIC Qt::OpenGL + Qt::OpenGLWidgets ) endif() diff --git a/examples/widgets/graphicsview/padnavigator/CMakeLists.txt b/examples/widgets/graphicsview/padnavigator/CMakeLists.txt index 7231066b72..a84d3f08d1 100644 --- a/examples/widgets/graphicsview/padnavigator/CMakeLists.txt +++ b/examples/widgets/graphicsview/padnavigator/CMakeLists.txt @@ -54,6 +54,7 @@ qt6_add_resources(padnavigator "padnavigator" if(TARGET Qt::OpenGL) target_link_libraries(padnavigator PUBLIC Qt::OpenGL + Qt::OpenGLWidgets ) endif() diff --git a/examples/widgets/graphicsview/padnavigator/padnavigator.pro b/examples/widgets/graphicsview/padnavigator/padnavigator.pro index 53a57c85d7..d957be4593 100644 --- a/examples/widgets/graphicsview/padnavigator/padnavigator.pro +++ b/examples/widgets/graphicsview/padnavigator/padnavigator.pro @@ -18,7 +18,7 @@ FORMS += \ QT += widgets requires(qtConfig(treewidget)) -qtHaveModule(opengl): QT += opengl +qtHaveModule(opengl): QT += opengl openglwidgets # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview/padnavigator |