savegame.pro Example File | Qt Core 5.6

Qt 5.6 | Qt Core | JSON Save Game Example | savegame.pro Example File

Qt 5.6.2 Reference Documentation

# savegame.pro Example File

json/savegame/savegame.pro

      QT += core
      QT -= gui

      TARGET = savegame
      CONFIG += console
      CONFIG -= app_bundle

      TEMPLATE = app

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/corelib/json/savegame
      INSTALLS += target

      SOURCES += main.cpp \
          character.cpp \
          game.cpp \
          level.cpp

      HEADERS += \
          character.h \
          game.h \
          level.h