Qt 4.7: simpleanchorlayout.pro Example File (graphicsview/simpleanchorlayout/simpleanchorlayout.pro)

Qt Reference Documentation

# simpleanchorlayout.pro Example File

graphicsview/simpleanchorlayout/simpleanchorlayout.pro

     SOURCES   = main.cpp

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

     TARGET = simpleanchorlayout