blob: 61fbc79f1018b79d9da24cdd85d9c4b3a6da771d (
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
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
ios {
PRODUCT_NAME = $$TARGET
macx-xcode: PRODUCT_NAME = $${LITERAL_DOLLAR}{PRODUCT_NAME}
INFOPLIST = \
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>" \
"<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">" \
"<plist version=\"1.0\">" \
"<dict>" \
" <key>CFBundleIconFile</key>" \
" <string></string>" \
" <key>CFBundlePackageType</key>" \
" <string>APPL</string>" \
" <key>CFBundleGetInfoString</key>" \
" <string>Created by Qt/QMake</string>" \
" <key>CFBundleSignature</key>" \
" <string>????</string>" \
" <key>CFBundleExecutable</key>" \
" <string>$$TARGET</string>" \
" <key>CFBundleIdentifier</key>" \
" <string>com.digia.$${LITERAL_DOLLAR}{PRODUCT_NAME:rfc1034identifier}</string>" \
" <key>CFBundleDisplayName</key>" \
" <string>$$PRODUCT_NAME</string>" \
" <key>CFBundleName</key>" \
" <string>$$PRODUCT_NAME</string>" \
" <key>CFBundleShortVersionString</key>" \
" <string>1.0</string>" \
" <key>CFBundleVersion</key>" \
" <string>1.0</string>" \
" <key>LSRequiresIPhoneOS</key>" \
" <true/>" \
" <key>UILaunchStoryboardName</key>" \
" <string>LaunchScreen</string>" \
" <key>UISupportedInterfaceOrientations</key>" \
" <array>" \
" <string>UIInterfaceOrientationPortrait</string>" \
" <string>UIInterfaceOrientationPortraitUpsideDown</string>" \
" <string>UIInterfaceOrientationLandscapeLeft</string>" \
" <string>UIInterfaceOrientationLandscapeRight</string>" \
" </array>" \
" <key>NSCameraUsageDescription</key>" \
" <string>Qt Multimedia Example</string>" \
" <key>NSMicrophoneUsageDescription</key>" \
" <string>Qt Multimedia Example</string>" \
" <key>NOTE</key>" \
" <string>This file was generated by Qt/QMake.</string>" \
"</dict>" \
"</plist>"
write_file($$OUT_PWD/Info.plist, INFOPLIST)|error()
QMAKE_INFO_PLIST = $$OUT_PWD/Info.plist
}
macos {
PRODUCT_NAME = $$TARGET
macx-xcode: PRODUCT_NAME = $${LITERAL_DOLLAR}{PRODUCT_NAME}
INFOPLIST = \
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>" \
"<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">" \
"<plist version=\"1.0\">" \
"<dict>" \
" <key>CFBundleIconFile</key>" \
" <string></string>" \
" <key>CFBundlePackageType</key>" \
" <string>APPL</string>" \
" <key>CFBundleGetInfoString</key>" \
" <string>Created by Qt/QMake</string>" \
" <key>CFBundleSignature</key>" \
" <string>????</string>" \
" <key>CFBundleExecutable</key>" \
" <string>$$TARGET</string>" \
" <key>CFBundleIdentifier</key>" \
" <string>com.digia.$${LITERAL_DOLLAR}{PRODUCT_NAME:rfc1034identifier}</string>" \
" <key>CFBundleDisplayName</key>" \
" <string>$$PRODUCT_NAME</string>" \
" <key>CFBundleName</key>" \
" <string>$$PRODUCT_NAME</string>" \
" <key>CFBundleShortVersionString</key>" \
" <string>1.0</string>" \
" <key>CFBundleVersion</key>" \
" <string>1.0</string>" \
" <key>NSPrincipalClass</key>" \
" <string>NSApplication</string>" \
" <key>NSCameraUsageDescription</key>" \
" <string>Qt Multimedia Example</string>" \
" <key>NSMicrophoneUsageDescription</key>" \
" <string>Qt Multimedia Example</string>" \
" <key>NOTE</key>" \
" <string>This file was generated by Qt/QMake.</string>" \
"</dict>" \
"</plist>"
write_file($$OUT_PWD/Info.plist, INFOPLIST)|error()
QMAKE_INFO_PLIST = $$OUT_PWD/Info.plist
}
|