summaryrefslogtreecommitdiff
path: root/src/src.pro
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2013-11-21 13:11:03 +0100
committerMilian Wolff <milian.wolff@kdab.com>2013-12-11 13:08:40 +0100
commitacf7f0b1ae956f2fac7182c194e0441cd9c6f4d0 (patch)
tree21420faece9a6c1eca68727c916660c9a286c912 /src/src.pro
parentb6158dc3525c1c906d4040b2e88cd20feb21a2b2 (diff)
downloadqtwebchannel-acf7f0b1ae956f2fac7182c194e0441cd9c6f4d0.tar.gz
Port the MetaObjectPublisher to C++.
This will allow us to create a stand-alone WebChannel C++ library, without any QML dependencies, that can be used to publisher QObjects to remote clients running in any browser engine supporting WebSockets. The patch is large, as working with introspection through the QMetaObject from C++ is more complicated compared to QML. On the other hand, the move to C++ allows a much more performant implementation of quite some parts of the publisher. One thing is that signal and method invocations can be handled via numeric indices, where before we needed to transmit the string identifier of the signal or method. Eventually this can now also be applied to properties, further decreasing the size of messages between server and clients. Note that this patch contains quite some TODOs and rough edges, such as the invokable bench_* helper functions in the public API of the MetaObjectPublisher. These are to be seen as temporary, and will be cleaned up in followup commits later. This is done to prevent a further blow-up of this already big patch. Change-Id: I57e788d8a19edd410651611382d912f9ad6660c9 Reviewed-by: Simon Hausmann <simon.hausmann@digia.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 5b860ba..bd2e3c7 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -17,15 +17,13 @@ RESOURCES += \
OTHER_FILES = qmldir \
webchannel.js \
- qobject.js \
- MetaObjectPublisher.qml
+ qobject.js
target.path = $$[QT_INSTALL_QML]/$$TARGETPATH
# extra files that need to be deployed to $$TARGETPATH
DEPLOY_FILES = \
- qmldir \
- MetaObjectPublisher.qml
+ qmldir
for(FILE, DEPLOY_FILES): qmldir.files += $$PWD/$$FILE
qmldir.path += $$[QT_INSTALL_QML]/$$TARGETPATH