Qt Reference Documentation

recentfiles.pro Example File

mainwindows/recentfiles/recentfiles.pro
 HEADERS       = mainwindow.h
 SOURCES       = main.cpp \
                 mainwindow.cpp

 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/mainwindows/recentfiles
 sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS recentfiles.pro
 sources.path = $$[QT_INSTALL_EXAMPLES]/mainwindows/recentfiles
 INSTALLS += target sources

 symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
 maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)

 simulator: warning(This example might not fully work on Simulator platform)