summaryrefslogtreecommitdiff
path: root/src/src.pro
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2013-11-20 16:25:10 +0100
committerMilian Wolff <milian.wolff@kdab.com>2013-12-05 16:23:13 +0100
commitb6158dc3525c1c906d4040b2e88cd20feb21a2b2 (patch)
tree8facd266a1cf306445dc6a6ae6e9e932865286c8 /src/src.pro
parentf75499f5fa5605183d37ddcf1532f7a22e602f60 (diff)
downloadqtwebchannel-b6158dc3525c1c906d4040b2e88cd20feb21a2b2.tar.gz
Optimize and cleanup code by moving WebChannel.qml logic into C++.
By handling more logic on the C++ side, such as serializing the JSON data to QByteArray, we can save up to 6% in the propertyUpdates benchmark. Furthermore, this allows for some more code cleanup and obsoletes the WebChannel.qml file. Also, it is a first step towards removing the QML dependency and making it optional alltogether. Change-Id: Id610b5f2652da4a7ad867aef576fabcc40d3d92c Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Diffstat (limited to 'src/src.pro')
-rw-r--r--src/src.pro6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/src.pro b/src/src.pro
index bc61f5b..5b860ba 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -18,16 +18,14 @@ RESOURCES += \
OTHER_FILES = qmldir \
webchannel.js \
qobject.js \
- MetaObjectPublisher.qml \
- WebChannel.qml
+ MetaObjectPublisher.qml
target.path = $$[QT_INSTALL_QML]/$$TARGETPATH
# extra files that need to be deployed to $$TARGETPATH
DEPLOY_FILES = \
qmldir \
- MetaObjectPublisher.qml \
- WebChannel.qml
+ MetaObjectPublisher.qml
for(FILE, DEPLOY_FILES): qmldir.files += $$PWD/$$FILE
qmldir.path += $$[QT_INSTALL_QML]/$$TARGETPATH