Qt Reference Documentation

anchorlayout.pro Example File

graphicsview/anchorlayout/anchorlayout.pro
 SOURCES   = main.cpp

 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/graphicsview/anchorlayout
 sources.files = $$SOURCES $$HEADERS $$RESOURCES anchorlayout.pro
 sources.path = $$[QT_INSTALL_EXAMPLES]/graphicsview/anchorlayout
 INSTALLS += target sources

 TARGET = anchorlayout

 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)