-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathplatform.pri
More file actions
47 lines (39 loc) · 1.05 KB
/
platform.pri
File metadata and controls
47 lines (39 loc) · 1.05 KB
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
# platform specific configurations
macx {
CONFIG += x86
CONFIG += app_bundle
# 10.7 = lion
# 10.8 = mountain lion
# 10.9 = mavericks
# 10.10 = yosemite
# 10.11 = el capitan
# 10.12 = sierra (current minimum supported)
# 10.13 = high sierra
# 10.14 = mojave
# QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.9
# QMAKE_MAC_SDK = macosx
# QMAKE_MAC_SDK.macosx.version = 10.12
# QMAKE_MAC_SDK = macosx10.12
QMAKE_CFLAGS += -gdwarf-2
QMAKE_CXXFLAGS += -gdwarf-2
RESOURCES += $$_PRO_FILE_PWD_/eddypro_mac.qrc
}
win32 {
RESOURCES += $$_PRO_FILE_PWD_/eddypro_win.qrc
}
linux {
RESOURCES += $$_PRO_FILE_PWD_/eddypro_lin.qrc
}
# to copy files in the bundle
#macx {
# jpegtran.path = Contents/MacOS
# jpegtran.files = /Users/maloney/dev/bin/jpegtran
# QMAKE_BUNDLE_DATA += jpegtran
#}
# or in the bin folder
#win32 {
# EXTRA_BINFILES_WIN = ..\\bin\\jpegtran.exe
# for( FILE, EXTRA_BINFILES_WIN ) {
# QMAKE_PRE_LINK += $$quote(cmd /c copy /y $${FILE} $${DEBUG_OR_RELEASE}$$escape_expand(\\n\\t))
# }
#}