8fe3680193
[ChangeLog][qmake] A new feature "cmdline" was added that implies "CONFIG += console" and "CONFIG -= app_bundle". Task-number: QTBUG-27079 Change-Id: I6e52b07c9341c904bb1424fc717057432f9360e1 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
22 lines
302 B
Prolog
22 lines
302 B
Prolog
QT += core
|
|
QT -= gui
|
|
|
|
TARGET = savegame
|
|
CONFIG += cmdline
|
|
|
|
TEMPLATE = app
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/corelib/serialization/savegame
|
|
INSTALLS += target
|
|
|
|
SOURCES += main.cpp \
|
|
character.cpp \
|
|
game.cpp \
|
|
level.cpp
|
|
|
|
HEADERS += \
|
|
character.h \
|
|
game.h \
|
|
level.h
|