forked from machinekit/QtQuickVcp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
paths.pri
69 lines (65 loc) · 2.86 KB
/
paths.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Modify these paths to your needs and then build the project
# Add here the paths that are not in the global PATH or INCLUDEPATH
# environment variables usually for mobile OS
android: {
ZEROMQ_INCLUDE_PATH = /opt/zeromq-android/include
ZEROMQ_LIB_PATH = /opt/zeromq-android/lib
ZEROMQ_LIB_FLAGS = -Bstatic
PROTOBUF_INCLUDE_PATH = /opt/protobuf-android/include
PROTOBUF_LIB_PATH = /opt/protobuf-android/lib
PROTOBUF_LIB_FLAGS = -Bstatic
}
ios: {
ZEROMQ_INCLUDE_PATH = /opt/zeromq-ios/include
ZEROMQ_LIB_PATH = /opt/zeromq-ios/lib
ZEROMQ_LIB_FLAGS = -Bstatic
PROTOBUF_INCLUDE_PATH = /opt/protobuf-ios/include
PROTOBUF_LIB_PATH = /opt/protobuf-ios/lib
PROTOBUF_LIB_FLAGS = -Bstatic
PROTOBUF_PROTOC = /opt/protobuf-ios/bin/protoc
LIBSODIUM_LIB_PATH = /opt/libsodium-ios/lib
}
macx: {
ZEROMQ_INCLUDE_PATH = /opt/local/include
ZEROMQ_LIB_PATH = /opt/local/lib
ZEROMQ_LIB_FLAGS = -Bstatic
PROTOBUF_INCLUDE_PATH = /opt/local/include
PROTOBUF_LIB_PATH = /opt/local/lib
PROTOBUF_PROTOC = /opt/local/bin/protoc
PROTOBUF_LIB_FLAGS = -Bstatic
}
win32-msvc2013 | win32-msvc2015 {
PROTOBUF_INCLUDE_PATH = $$(HOMEDRIVE)$$(HOMEPATH)\bin\protobuf\src
ZEROMQ_INCLUDE_PATH = $$(HOMEDRIVE)$$(HOMEPATH)\bin\zeromq4-x\include
contains(QMAKE_TARGET.arch, x86_64) {
ZEROMQ_LIB_PATH = $$(HOMEDRIVE)$$(HOMEPATH)\bin\zeromq4-x\lib\x64
PROTOBUF_LIB_PATH = $$(HOMEDRIVE)$$(HOMEPATH)\bin\protobuf\vsprojects\x64\Release
PROTOBUF_PROTOC = $$(HOMEDRIVE)$$(HOMEPATH)\bin\protobuf\vsprojects\x64\Release\protoc.exe
}
else {
ZEROMQ_LIB_PATH = $$(HOMEDRIVE)$$(HOMEPATH)\bin\zeromq4-x\lib\Win32
PROTOBUF_LIB_PATH = $$(HOMEDRIVE)$$(HOMEPATH)\bin\protobuf\vsprojects\Release
PROTOBUF_PROTOC = $$(HOMEDRIVE)$$(HOMEPATH)\bin\protobuf\vsprojects\Release\protoc.exe
}
}
win32-g++ {
ZEROMQ_INCLUDE_PATH = $$(HOMEDRIVE)$$(HOMEPATH)\bin\MinGW\include
ZEROMQ_LIB_PATH = $$(HOMEDRIVE)$$(HOMEPATH)\bin\MinGW\lib
PROTOBUF_INCLUDE_PATH = $$(HOMEDRIVE)$$(HOMEPATH)\bin\MinGW\include
PROTOBUF_LIB_PATH = $$(HOMEDRIVE)$$(HOMEPATH)\bin\MinGW\lib
PROTOBUF_PROTOC = $$(HOMEDRIVE)$$(HOMEPATH)\bin\MinGW\bin\protoc.exe
}
linux: !android: {
PROTOBUF_INCLUDE_PATH=/usr/include
}
# Qt SDK directory - autodetected based on qmake path
QTSDK_DIR=$$absolute_path($$[QT_INSTALL_PREFIX]/../..)
# Qt Creator paths for the Qt Quick Designer plugin
# Path to the Qt Creator source - not needed anymore
# QTCREATOR_SOURCE_DIR=/home/alexander/bin/qt-creator
# Path to installed Qt Creator (where the plugin should be installed to)
QTCREATOR_INSTALL_DIR=$$QTSDK_DIR/Tools/QtCreator
# Qt documentation directory containing Qt documentation with .index files
# -> somehow only the Android toolchain comes with .index files
# install one of the Android toolchains to work properly
QT_DOC_DIR = $$[QT_INSTALL_DOCS]