Qt 5.11 | Qt Widgets | Tetrix Example | tetrix.pro Example File

Qt 5.11.3 Reference Documentation

# tetrix.pro Example File

widgets/tetrix/tetrix.pro

      QT += widgets

      HEADERS       = tetrixboard.h \
                      tetrixpiece.h \
                      tetrixwindow.h
      SOURCES       = main.cpp \
                      tetrixboard.cpp \
                      tetrixpiece.cpp \
                      tetrixwindow.cpp

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/tetrix
      INSTALLS += target