diff options
Diffstat (limited to 'examples/opengl/qopenglwidget/CMakeLists.txt')
-rw-r--r-- | examples/opengl/qopenglwidget/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/opengl/qopenglwidget/CMakeLists.txt b/examples/opengl/qopenglwidget/CMakeLists.txt index 586bd7130a..10b30f9461 100644 --- a/examples/opengl/qopenglwidget/CMakeLists.txt +++ b/examples/opengl/qopenglwidget/CMakeLists.txt @@ -15,6 +15,7 @@ find_package(Qt6 COMPONENTS Core) find_package(Qt6 COMPONENTS Gui) find_package(Qt6 COMPONENTS Widgets) find_package(Qt6 COMPONENTS OpenGL) +find_package(Qt6 COMPONENTS OpenGLWidgets) add_qt_gui_executable(qopenglwidget bubble.cpp bubble.h @@ -26,6 +27,7 @@ target_link_libraries(qopenglwidget PUBLIC Qt::Core Qt::Gui Qt::OpenGL + Qt::OpenGLWidgets Qt::Widgets ) |