Qt Reference Documentation

flowlayout.pro Example File

layouts/flowlayout/flowlayout.pro
 HEADERS     = flowlayout.h \
               window.h
 SOURCES     = flowlayout.cpp \
               main.cpp \
               window.cpp

 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/layouts/flowlayout
 sources.files = $$SOURCES $$HEADERS *.pro
 sources.path = $$[QT_INSTALL_EXAMPLES]/layouts/flowlayout
 INSTALLS += target sources

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