-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQbSsh.pro
44 lines (32 loc) · 1.04 KB
/
QbSsh.pro
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
TEMPLATE = lib
TARGET = QbSsh
QT += qml quick core
QT += widgets gui
CONFIG += plugin c++11
CONFIG -= android_install
INCLUDEPATH += $$PWD
TARGET = $$qtLibraryTarget($$TARGET)
uri = Qb.Ssh
DEFINES+=QSSH_LIBRARY
DEFINES+=BOTAN_LIBRARY
msvc*: DEFINES += _CRT_SECURE_NO_WARNINGS
include(QbSsh.pri)
DISTFILES = qmldir QbSsh.qmltypes
!equals(_PRO_FILE_PWD_, $$OUT_PWD) {
copy_qmldir.target = $$OUT_PWD/qmldir
copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir
copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\"
QMAKE_EXTRA_TARGETS += copy_qmldir
PRE_TARGETDEPS += $$copy_qmldir.target
}
qmltypes.commands = qmlplugindump -nonrelocatable Qb.Ssh 1.0 > $$PWD/QbSsh.qmltypes
QMAKE_EXTRA_TARGETS += qmltypes
qmldir.files = qmldir QbSsh.qmltypes
installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /)
qmldir.path = $$installPath
target.path = $$installPath
INSTALLS += target qmldir
HEADERS += \
qbssh_plugin.h
SOURCES += \
qbssh_plugin.cpp