f172b964f6
This makes the code clearer and decouples it from the GLWidget. As a drive-by, add a global shortcut to close. Pick-to: 6.3 6.2 Change-Id: I3469d29bc367acc17c5f8acf9d46219259b8315b Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
14 lines
296 B
Prolog
14 lines
296 B
Prolog
QT += widgets opengl openglwidgets
|
|
|
|
SOURCES += main.cpp \
|
|
glwidget.cpp \
|
|
mainwindow.cpp \
|
|
renderer.cpp
|
|
|
|
HEADERS += glwidget.h \
|
|
mainwindow.h \
|
|
renderer.h
|
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/threadedqopenglwidget
|
|
INSTALLS += target
|