application.pro Example Filemainwindows/application/application.pro HEADERS = mainwindow.h
SOURCES = main.cpp \
mainwindow.cpp
RESOURCES = application.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/application
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS application.pro images
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/mainwindows/application
INSTALLS += target sources
QT += widgets
simulator: warning(This example might not fully work on Simulator platform)
|