~ubuntu-filemanager-dev/ubuntu-filemanager-app/trunk

« back to all changes in this revision

Viewing changes to src/plugin/folderlistmodel/folderlistmodel.pro

  • Committer: Bileto Bot
  • Date: 2017-04-04 17:06:41 UTC
  • mfrom: (588.1.19 fix-desktop-file)
  • Revision ID: ci-train-bot@canonical.com-20170404170641-1p15lmx8wodlx2ut
* Rename binary file to ubuntu-filemanager-app
* Join plugin packages into the main package 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
TARGET = nemofolderlistmodel
2
 
 
3
 
PLUGIN_IMPORT_PATH = org/nemomobile/folderlistmodel
4
 
 
5
 
#core:  sources + headers, separated here to use in regression test project
6
 
include (folderlistmodel.pri)
7
 
 
8
 
# Input
9
 
SOURCES += plugin.cpp
10
 
HEADERS += plugin.h
11
 
 
12
 
## QApplication::clipboard() needs gui
13
 
QT += gui
14
 
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
15
 
 
16
 
exists(../plugin.pri) {
17
 
   include(../plugin.pri)
18
 
}
19
 
else {
20
 
    TEMPLATE = lib
21
 
    CONFIG += qt plugin hide_symbols
22
 
    greaterThan(QT_MAJOR_VERSION, 4) {
23
 
       QT += qml quick
24
 
    }
25
 
    else {
26
 
       QT += declarative
27
 
    }
28
 
    target.path = $$[QT_INSTALL_QML]/$$PLUGIN_IMPORT_PATH
29
 
    INSTALLS += target
30
 
    qmldir.files += $$PWD/qmldir
31
 
    qmldir.path +=  $$[QT_INSTALL_QML]/$$$$PLUGIN_IMPORT_PATH
32
 
    INSTALLS += qmldir
33
 
}
34
 
 
35