mirror of
https://github.com/leozide/leocad
synced 2025-01-13 08:01:38 +01:00
Added mac document icon.
This commit is contained in:
parent
1bd17a3394
commit
3b83a16aaa
3 changed files with 5 additions and 3 deletions
|
@ -71,10 +71,12 @@ macx {
|
|||
ICON = resources/leocad.icns
|
||||
QMAKE_INFO_PLIST = qt/Info.plist
|
||||
|
||||
document_icon.files += $$_PRO_FILE_PWD_/resources/leocad_document.icns
|
||||
document_icon.path = Contents/Resources
|
||||
library.files += $$_PRO_FILE_PWD_/library.bin
|
||||
library.path = Contents/Resources
|
||||
|
||||
QMAKE_BUNDLE_DATA += library
|
||||
QMAKE_BUNDLE_DATA += document_icon library
|
||||
}
|
||||
|
||||
SOURCES += common/view.cpp \
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<string>leocad</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>leocad.icns</string>
|
||||
<string>leocad_document.icns</string>
|
||||
<key>CFBundleTypeMIMETypes</key>
|
||||
<array>
|
||||
<string>application/vnd.leocad</string>
|
||||
|
@ -35,7 +35,7 @@
|
|||
<string>mpd</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>LDraw Document</string>
|
||||
<string>leocad_document.icns</string>
|
||||
<key>CFBundleTypeMIMETypes</key>
|
||||
<array>
|
||||
<string>application/x-ldraw</string>
|
||||
|
|
BIN
resources/leocad_document.icns
Normal file
BIN
resources/leocad_document.icns
Normal file
Binary file not shown.
Loading…
Reference in a new issue