00eeed234f
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>
23 lines
338 B
Prolog
23 lines
338 B
Prolog
QT += core gui widgets opengl openglwidgets
|
|
|
|
TARGET = cube
|
|
TEMPLATE = app
|
|
|
|
SOURCES += main.cpp
|
|
|
|
SOURCES += \
|
|
mainwidget.cpp \
|
|
geometryengine.cpp
|
|
|
|
HEADERS += \
|
|
mainwidget.h \
|
|
geometryengine.h
|
|
|
|
RESOURCES += \
|
|
shaders.qrc \
|
|
textures.qrc
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/cube
|
|
INSTALLS += target
|