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>
29 lines
508 B
Prolog
29 lines
508 B
Prolog
QT += core
|
|
QT -= gui
|
|
|
|
TARGET = convert
|
|
CONFIG += cmdline
|
|
|
|
TEMPLATE = app
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/corelib/serialization/convert
|
|
INSTALLS += target
|
|
|
|
SOURCES += main.cpp \
|
|
cborconverter.cpp \
|
|
jsonconverter.cpp \
|
|
datastreamconverter.cpp \
|
|
textconverter.cpp \
|
|
xmlconverter.cpp \
|
|
nullconverter.cpp
|
|
|
|
HEADERS += \
|
|
converter.h \
|
|
cborconverter.h \
|
|
jsonconverter.h \
|
|
datastreamconverter.h \
|
|
textconverter.h \
|
|
xmlconverter.h \
|
|
nullconverter.h
|