mirror of
https://github.com/leozide/leocad
synced 2025-01-14 08:01:45 +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
|
ICON = resources/leocad.icns
|
||||||
QMAKE_INFO_PLIST = qt/Info.plist
|
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.files += $$_PRO_FILE_PWD_/library.bin
|
||||||
library.path = Contents/Resources
|
library.path = Contents/Resources
|
||||||
|
|
||||||
QMAKE_BUNDLE_DATA += library
|
QMAKE_BUNDLE_DATA += document_icon library
|
||||||
}
|
}
|
||||||
|
|
||||||
SOURCES += common/view.cpp \
|
SOURCES += common/view.cpp \
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<string>leocad</string>
|
<string>leocad</string>
|
||||||
</array>
|
</array>
|
||||||
<key>CFBundleTypeIconFile</key>
|
<key>CFBundleTypeIconFile</key>
|
||||||
<string>leocad.icns</string>
|
<string>leocad_document.icns</string>
|
||||||
<key>CFBundleTypeMIMETypes</key>
|
<key>CFBundleTypeMIMETypes</key>
|
||||||
<array>
|
<array>
|
||||||
<string>application/vnd.leocad</string>
|
<string>application/vnd.leocad</string>
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
<string>mpd</string>
|
<string>mpd</string>
|
||||||
</array>
|
</array>
|
||||||
<key>CFBundleTypeIconFile</key>
|
<key>CFBundleTypeIconFile</key>
|
||||||
<string>LDraw Document</string>
|
<string>leocad_document.icns</string>
|
||||||
<key>CFBundleTypeMIMETypes</key>
|
<key>CFBundleTypeMIMETypes</key>
|
||||||
<array>
|
<array>
|
||||||
<string>application/x-ldraw</string>
|
<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