forked from kanryu/quickviewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
QVproject.pri
44 lines (39 loc) · 1.09 KB
/
QVproject.pri
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
## Comment out if you don't need to change brightness/contrast/gamma support
DEFINES += QV_WITH_LUMINOR
## Comment out if you need OpenGL support
DEFINES += QV_WITHOUT_OPENGL
## Define when asking for portable operation.
## When off, the installation will be done by OS standard method
## Installation destination when not portable:
## Windows: "C:\Program Files" or "C:\Users\[user]\Appdata\Roaming"
## Linux: "/usr/local"
DEFINES += QV_PORTABLE
!contains(DEFINES, QV_PORTABLE) {
QV_BIN_PATH = /usr/local/bin
QV_LIB_PATH = /usr/local/lib
QV_SHARED_PATH = /usr/local/shared
}
greaterThan(QT_MAJOR_VERSION, 4) {
TARGET_ARCH=$${QT_ARCH}
} else {
TARGET_ARCH=$${QMAKE_HOST.arch}
}
win32 {
contains(TARGET_ARCH, x86_64) {
TARGET_ARCH = x64
} else {
TARGET_ARCH = x86
}
LUMINOR_BIN_PATH = luminor-msvc2015-$${TARGET_ARCH}
}
unix {
contains(TARGET_ARCH, x86_64) {
TARGET_ARCH = x64
} else {
TARGET_ARCH = x86
}
LUMINOR_BIN_PATH = luminor-linux-$${TARGET_ARCH}
}
macos {
LUMINOR_BIN_PATH = luminor-macos-$${TARGET_ARCH}
}