Qt 4.8: sharedmemory.pro Example File (ipc/sharedmemory/sharedmemory.pro)

Qt Reference Documentation

# sharedmemory.pro Example File

ipc/sharedmemory/sharedmemory.pro

     SOURCES += main.cpp \
                dialog.cpp

     HEADERS += dialog.h

     # Forms and resources
     FORMS += dialog.ui

     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/ipc/sharedmemory
     sources.files = $$SOURCES $$HEADERS $$FORMS $$RESOURCES *.pro *.png
     sources.path = $$[QT_INSTALL_EXAMPLES]/ipc/sharedmemory
     INSTALLS += target sources

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

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