Qt 5.6 | Qt Widgets | Application Example | application.pro Example File

Qt 5.6.3 Reference Documentation

# application.pro Example File

mainwindows/application/application.pro

      QT += widgets

      HEADERS       = mainwindow.h
      SOURCES       = main.cpp \
                      mainwindow.cpp
      RESOURCES     = application.qrc

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