Qt 5.11 | Qt OpenGL | Hello GL2 Example | hellogl2.pro Example File

Qt 5.11.3 Reference Documentation

# hellogl2.pro Example File

hellogl2/hellogl2.pro

      HEADERS       = glwidget.h \
                      window.h \
                      mainwindow.h \
                      logo.h
      SOURCES       = glwidget.cpp \
                      main.cpp \
                      window.cpp \
                      mainwindow.cpp \
                      logo.cpp

      QT           += widgets

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/opengl/hellogl2
      INSTALLS += target