summaryrefslogtreecommitdiffstats
path: root/examples/corelib/serialization/convert/convert.pro
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2018-01-19 15:30:24 -0800
committerThiago Macieira <thiago.macieira@intel.com>2018-07-04 03:03:47 +0000
commit9be00330af639043961f4d7b8ee1d3511e787931 (patch)
tree0d20ddfb74b2bee20863bad5b6846f44b4bb69e4 /examples/corelib/serialization/convert/convert.pro
parente3ed2281c0c891cf3b15c95f9f7cdae42e9f233a (diff)
Examples: add an example that converts between different file formats
This example converts to and from: - Binary JSON - CBOR - CBOR Diagnostic notation (output only) - JSON - Null (output only) - QDataStream - QVariant dump (output only) - Text - XML Change-Id: Ibab69e0efefb40bdbf94fffd150b59f8c0da3174 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'examples/corelib/serialization/convert/convert.pro')
-rw-r--r--examples/corelib/serialization/convert/convert.pro29
1 files changed, 29 insertions, 0 deletions
diff --git a/examples/corelib/serialization/convert/convert.pro b/examples/corelib/serialization/convert/convert.pro
new file mode 100644
index 0000000000..d9b1de41e3
--- /dev/null
+++ b/examples/corelib/serialization/convert/convert.pro
@@ -0,0 +1,29 @@
+QT += core
+QT -= gui
+
+TARGET = convert
+CONFIG += console
+CONFIG -= app_bundle
+
+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