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