File: plugins.pro

package info (click to toggle)
qt6-remoteobjects 6.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,812 kB
  • sloc: cpp: 19,785; ansic: 47; sh: 29; python: 22; makefile: 10
file content (30 lines) | stat: -rw-r--r-- 800 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
QT += qml remoteobjects

TEMPLATE = lib
CONFIG += plugin

REPC_REPLICA += $$PWD/../timemodel.rep

DESTDIR = imports/TimeExample
TARGET  = qmlqrotimeexampleplugin

SOURCES += plugin.cpp

pluginfiles.files += \
    imports/TimeExample/qmldir \
    imports/TimeExample/center.png \
    imports/TimeExample/clock.png \
    imports/TimeExample/Clock.qml \
    imports/TimeExample/hour.png \
    imports/TimeExample/minute.png

qml.files = plugins.qml
qml.path += $$[QT_INSTALL_EXAMPLES]/remoteobjects/plugins
target.path += $$[QT_INSTALL_EXAMPLES]/remoteobjects/plugins/imports/TimeExample
pluginfiles.path += $$[QT_INSTALL_EXAMPLES]/remoteobjects/plugins/imports/TimeExample

INSTALLS += target qml pluginfiles

CONFIG += install_ok # Do not cargo-cult this!

contains(QT_CONFIG, c++11): CONFIG += c++11