Added icon for macOS
This commit is contained in:
parent
6cb2fb15eb
commit
ed03d6850f
|
@ -19,6 +19,8 @@ macos: {
|
|||
/opt/homebrew/opt/icu4c/include
|
||||
|
||||
QT += gui-private
|
||||
|
||||
ICON = images/RedPandaIDE.icns
|
||||
}
|
||||
|
||||
win32: VERSION = $${APP_VERSION}.0
|
||||
|
@ -38,7 +40,7 @@ gcc {
|
|||
}
|
||||
|
||||
msvc {
|
||||
DEFINES += NOMINMAX
|
||||
DEFINES += NOMINMAX
|
||||
}
|
||||
|
||||
# You can make your code fail to compile if it uses deprecated APIs.
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
input_icon="devcpp.png"
|
||||
output_dir="RedPandaIDE.iconset"
|
||||
|
||||
mkdir $output_dir
|
||||
|
||||
sips -z 16 16 $input_icon --out "${output_dir}/icon_16x16.png"
|
||||
sips -z 32 32 $input_icon --out "${output_dir}/icon_16x16@2x.png"
|
||||
sips -z 32 32 $input_icon --out "${output_dir}/icon_32x32.png"
|
||||
sips -z 64 64 $input_icon --out "${output_dir}/icon_32x32@2x.png"
|
||||
sips -z 128 128 $input_icon --out "${output_dir}/icon_128x128.png"
|
||||
sips -z 256 256 $input_icon --out "${output_dir}/icon_128x128@2x.png"
|
||||
sips -z 256 256 $input_icon --out "${output_dir}/icon_256x256.png"
|
||||
sips -z 512 512 $input_icon --out "${output_dir}/icon_256x256@2x.png"
|
||||
|
||||
iconutil -c icns $output_dir
|
||||
|
||||
rm -R $output_dir
|
Loading…
Reference in New Issue