application.pro Example File | Qt Widgets 5.12.6

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

Qt 5.12.6 Reference Documentation

# application.pro Example File

mainwindows/application/application.pro

      QT += widgets
      requires(qtConfig(filedialog))

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

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