summaryrefslogtreecommitdiff
path: root/src/src.pro
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2013-01-17 16:48:26 +0100
committerPierre Rossi <pierre.rossi@gmail.com>2013-11-01 13:57:41 +0100
commit1750df648f0ffb52d42c9295fd5cee1e3b45d0af (patch)
treea934bece0f1624289e79d4a9c86b4132532eb436 /src/src.pro
parent66d625c54b659a39d25916da66849c23b56e714a (diff)
downloadqtwebchannel-1750df648f0ffb52d42c9295fd5cee1e3b45d0af.tar.gz
Port src and examples/qtobject to current Qt5
Mostly done by using QML (i.e. QtQuick2) instead of QtDeclarative. Change-Id: I4d4f3d8c30bc10683fd7ad8c12e6198b0d848876 Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Diffstat (limited to 'src/src.pro')
-rw-r--r--src/src.pro6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/src.pro b/src/src.pro
index c7693d4..1f940c6 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -3,7 +3,7 @@ include(src.pri)
TEMPLATE = lib
TARGET = qwebchannel
TARGETPATH = Qt/labs/WebChannel
-QT += declarative
+QT += qml
CONFIG += qt plugin
TARGET = $$qtLibraryTarget($$TARGET)
@@ -31,10 +31,10 @@ OTHER_FILES = qmldir \
PRE_TARGETDEPS += $$copy_qmldir.target
}
-target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
+target.path = $$[QT_INSTALL_QML]/$$TARGETPATH
qmldir.files += $$PWD/qmldir
-qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
+qmldir.path += $$[QT_INSTALL_QML]/$$TARGETPATH
INSTALLS += target qmldir