Tetrix Example | Qt Widgets 5.13.0

Qt 5.13 | Qt Widgets | Tetrix Example

Qt 5.13.0 Reference Documentation

# Tetrix Example

      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