Qt 5.11 | Qt Core | Shared Memory Example | sharedmemory.pro Example File

Qt 5.11.3 Reference Documentation

# sharedmemory.pro Example File

ipc/sharedmemory/sharedmemory.pro

      QT += widgets
      requires(qtConfig(filedialog))

      SOURCES += main.cpp \
                 dialog.cpp

      HEADERS += dialog.h

      # Forms and resources
      FORMS += dialog.ui

      EXAMPLE_FILES = *.png

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/corelib/ipc/sharedmemory
      INSTALLS += target