Skip to content

Commit 757e65c

Browse files
committed
Added Info.plist file for MacOS
1 parent dd16a87 commit 757e65c

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

Info.plist

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleExecutable</key>
6+
<string>REVERSCREEN</string>
7+
<key>CFBundleIconFile</key>
8+
<string>reverscreen.icns</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>com.pinebit.reverscreen</string>
11+
<key>CFBundlePackageType</key>
12+
<string>APPL</string>
13+
<key>CFBundleShortVersionString</key>
14+
<string>1.0</string>
15+
<key>CFBundleSignature</key>
16+
<string>????</string>
17+
<key>CFBundleVersion</key>
18+
<string>1</string>
19+
<key>LSApplicationCategoryType</key>
20+
<string>public.app-category.utilities</string>
21+
<key>NOTE</key>
22+
<string>This file was generated by Qt/QMake.</string>
23+
<key>NSPrincipalClass</key>
24+
<string>NSApplication</string>
25+
</dict>
26+
</plist>

reverscreen.pro

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ LIBS += -lopencv_core -lopencv_imgproc -lz
7373
ICON = icons/reverscreen.icns
7474
}
7575

76+
osx {
77+
QMAKE_INFO_PLIST = Info.plist
78+
}
79+
7680
QMAKE_CXXFLAGS += -Wno-deprecated-declarations
7781

7882
include(QtAwesome/QtAwesome.pri)

0 commit comments

Comments
 (0)