File: plugins.pro

package info (click to toggle)
qtremoteobjects-everywhere-src 5.15.8-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,196 kB
  • sloc: cpp: 23,858; ansic: 39; sh: 35; makefile: 24
file content (30 lines) | stat: -rw-r--r-- 798 bytes parent folder | download | duplicates (2)
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  = qmlqtimeexampleplugin

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