aboutsummaryrefslogtreecommitdiffstats
path: root/src/src.pro
blob: cc3493723584b2609e269a5bac6b05ce2118d609 (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
TEMPLATE = app
TARGET   = triton-ui

include(../config.pri)

macos:CONFIG -= app_bundle
CONFIG *= no_private_qt_headers_warning link_pkgconfig

QT *= appman_main-private testlib gui-private

DEFINES *= TRITON_VERSION=\\\"$$VERSION\\\"

SOURCES = main.cpp

unix:!macos:system($$pkgConfigExecutable() --libs x11 xi xcb) {
    PKGCONFIG *= xcb x11 xi
    SOURCES += MouseTouchAdaptor.cpp
    HEADERS += MouseTouchAdaptor.h
    DEFINES += TRITON_ENABLE_TOUCH_EMULATION
}

DESTDIR = $$OUT_PWD/../

DEFINES += "TRITON_ICONS_PATH=$$INSTALL_PREFIX/triton/imports/assets/icons"

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