| 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 |
|