summaryrefslogtreecommitdiffstats
path: root/basicsuite/shared/shared_plugin.pri
blob: 825920033423c24e5234583c02660b3651cb9092 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pluginfiles.files += qmldir

CONFIG(cross_compile) {
    message("Building for target")
    B2QT_DEPLOYPATH = /data/user/qt/qmlplugins/$$QML_MODULENAME
    target.path += $$B2QT_DEPLOYPATH
    pluginfiles.path += $$B2QT_DEPLOYPATH
} else {
    message("Building for Desktop")
    DESTDIR = $$top_builddir/qmlplugins/$$QML_MODULENAME
    target.path += $$DESTDIR
    pluginfiles.path += $$DESTDIR
    DEFINES += DESKTOP_BUILD
    COPIES += target pluginfiles
}

INSTALLS += target pluginfiles