puzzle.pro Example File | Qt Widgets 5.6

Qt 5.6 | Qt Widgets | Item Views Puzzle Example | puzzle.pro Example File

Qt 5.6.2 Reference Documentation

# puzzle.pro Example File

itemviews/puzzle/puzzle.pro

      QT += widgets

      HEADERS     = mainwindow.h \
                    piecesmodel.h \
                    puzzlewidget.h
      RESOURCES   = puzzle.qrc
      SOURCES     = main.cpp \
                    mainwindow.cpp \
                    piecesmodel.cpp \
                    puzzlewidget.cpp

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

      wince* {
         DEPLOYMENT_PLUGIN += qjpeg qgif
      }