aboutsummaryrefslogtreecommitdiffstats
path: root/src/remotesettings/app/app.pro
blob: e5fd7b68a3e17af2400ffb3a448b35a61b7658ef (plain)
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
VERSION  = 5.15.1
TARGET = neptune-companion-app
DESTDIR = $$BUILD_DIR
QT += quick ivicore ivimedia
CONFIG += c++11
macos: CONFIG -= app_bundle

include($$SOURCE_DIR/config.pri)

load(gitUtils.prf)
DEFINES *= "NEPTUNE_COMPANION_APP_VERSION=$$VERSION"
DEFINES *= NEPTUNE_GIT_REVISION=\""\\\"$$currentGitRevision()\\\""\"

LIBS += -L$$LIB_DESTDIR -l$$qtLibraryTarget(remotesettings)

INCLUDEPATH += $$OUT_PWD/../frontend

SOURCES += main.cpp \
    client.cpp

RESOURCES += qml.qrc \
    app.qrc

target.path = $$INSTALL_PREFIX/neptune3
INSTALLS += target

win32 {
    wrapper.files = neptune-companion-app_wrapper.bat
    wrapper.path = $$INSTALL_PREFIX/neptune3
    INSTALLS += wrapper
}

QMAKE_RPATHDIR += $$QMAKE_REL_RPATH_BASE/$$relative_path($$INSTALL_PREFIX/neptune3/lib, $$INSTALL_PREFIX/neptune3/)

#needed for the android deployment to include additional qml plugins
QML_IMPORT_PATH += $$BUILD_DIR/imports_shared_cpp

android: QT += remoteobjects

HEADERS += \
    client.h