Qt 4.8: dynamiclayouts.pro Example File (layouts/dynamiclayouts/dynamiclayouts.pro)

Qt Reference Documentation

# dynamiclayouts.pro Example File

layouts/dynamiclayouts/dynamiclayouts.pro

     HEADERS     = dialog.h
     SOURCES     = dialog.cpp \
                   main.cpp

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

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

     symbian: warning(This example might not fully work on Symbian platform)
     maemo5: warning(This example might not fully work on Maemo platform)
     simulator: warning(This example might not fully work on Simulator platform)