diff --git a/.gitignore b/.gitignore index 0b4fdf0..30e0e45 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ 2048-qt.pro.user +.directory diff --git a/2048-qt.pro b/2048-qt.pro index 6717543..0384e62 100644 --- a/2048-qt.pro +++ b/2048-qt.pro @@ -22,8 +22,8 @@ QML_IMPORT_PATH = include(deployment.pri) # Setting the application icon -win32: RC_ICONS = 2048.ico # On Windows -macx: ICON = 2048.ico # On Mac OSX +win32: RC_ICONS = icons/2048-qt.ico # On Windows +macx: ICON = icons/2048-qt.ico # On Mac OSX HEADERS += \ myclass.h \ diff --git a/2048.ico b/2048.ico deleted file mode 100644 index 22109e0..0000000 Binary files a/2048.ico and /dev/null differ diff --git a/icons/16x16/apps/2048-qt.png b/icons/16x16/apps/2048-qt.png new file mode 100644 index 0000000..3a6a4af Binary files /dev/null and b/icons/16x16/apps/2048-qt.png differ diff --git a/icons/2048-qt.ico b/icons/2048-qt.ico new file mode 100644 index 0000000..36c2b90 Binary files /dev/null and b/icons/2048-qt.ico differ diff --git a/icons/256x256/apps/2048-qt.png b/icons/256x256/apps/2048-qt.png new file mode 100644 index 0000000..7e0bbaf Binary files /dev/null and b/icons/256x256/apps/2048-qt.png differ diff --git a/icons/32x32/apps/2048-qt.png b/icons/32x32/apps/2048-qt.png new file mode 100644 index 0000000..6707e4d Binary files /dev/null and b/icons/32x32/apps/2048-qt.png differ diff --git a/icons/48x48/apps/2048-qt.png b/icons/48x48/apps/2048-qt.png new file mode 100644 index 0000000..6cf31eb Binary files /dev/null and b/icons/48x48/apps/2048-qt.png differ diff --git a/icons/scalable/apps/2048-qt.svg b/icons/scalable/apps/2048-qt.svg new file mode 100644 index 0000000..6407657 --- /dev/null +++ b/icons/scalable/apps/2048-qt.svg @@ -0,0 +1,101 @@ + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + 2048 + + + + Qt + + + + diff --git a/icons/svg2png.sh b/icons/svg2png.sh new file mode 100755 index 0000000..633c7d0 --- /dev/null +++ b/icons/svg2png.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +sizes=(16 32 48 256) + +for size in ${sizes[@]}; do + inkscape -z -e 2048-qt_${size}x${size}.png -w $size -h $size scalable/apps/2048-qt.svg + mkdir -p ${size}x${size}/apps + mv 2048-qt_${size}x${size}.png ${size}x${size}/apps/2048-qt.png +done