summaryrefslogtreecommitdiffstats
path: root/examples/remoteobjects/clientapp/clientapp.pro
diff options
context:
space:
mode:
authorØystein Heskestad <oystein.heskestad@qt.io>2023-06-28 18:45:22 +0200
committerØystein Heskestad <oystein.heskestad@qt.io>2023-07-06 09:35:15 +0200
commit1e1807220c61861a4077ef35b553e7dd74d85d69 (patch)
tree8ab88cef91dcb2e5ed9b04ee7635502950b140e8 /examples/remoteobjects/clientapp/clientapp.pro
parentc4317ff10cae425e47c3636351e749f007195f2f (diff)
Revamp clientapp and remoteobjects_server examples
Merge clientapp and plugins into a single stand-alone example. Add documentation of clientapp and remoteobjects_server. Task-number: QTBUG-112850 Pick-to: 6.6 6.5 Change-Id: I03340d3208fac7448f7de5d7720a61d2eeaf5a0a Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'examples/remoteobjects/clientapp/clientapp.pro')
-rw-r--r--examples/remoteobjects/clientapp/clientapp.pro16
1 files changed, 12 insertions, 4 deletions
diff --git a/examples/remoteobjects/clientapp/clientapp.pro b/examples/remoteobjects/clientapp/clientapp.pro
index 6d5a25d..4808fe5 100644
--- a/examples/remoteobjects/clientapp/clientapp.pro
+++ b/examples/remoteobjects/clientapp/clientapp.pro
@@ -1,9 +1,17 @@
-SOURCES += main.cpp
+QT += remoteobjects quick
-RESOURCES += \
- clientapp.qrc
+CONFIG += qmltypes
-QT += remoteobjects quick
+REPC_REPLICA += $$PWD/../timemodel.rep
+TARGET = clientapp
+
+QML_IMPORT_NAME = TimeExample
+QML_IMPORT_MAJOR_VERSION = 1
+
+SOURCES += main.cpp plugin.cpp
+HEADERS += plugin.h
+
+RESOURCES += clientapp.qrc
contains(QT_CONFIG, c++11): CONFIG += c++11