Added icon for Windows (Fix #670) (#674)

* Added icon for Windows

* Fix resource file
This commit is contained in:
xarkes 2018-09-05 18:53:57 +02:00 committed by GitHub
parent 95a7d5f210
commit 2e97d3fa5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

View File

@ -8,11 +8,15 @@ CUTTER_VERSION_PATCH = 1
VERSION = $${CUTTER_VERSION_MAJOR}.$${CUTTER_VERSION_MINOR}.$${CUTTER_VERSION_PATCH} VERSION = $${CUTTER_VERSION_MAJOR}.$${CUTTER_VERSION_MINOR}.$${CUTTER_VERSION_PATCH}
#required QT version # Required QT version
lessThan(QT_MAJOR_VERSION, 5): error("requires Qt 5") lessThan(QT_MAJOR_VERSION, 5): error("requires Qt 5")
# Icon for OS X
ICON = img/cutter.icns ICON = img/cutter.icns
# Icon/resources for Windows
RC_FILE = cutter.rc
QT += core gui widgets svg QT += core gui widgets svg
QT_CONFIG -= no-pkg-config QT_CONFIG -= no-pkg-config
CONFIG += c++11 CONFIG += c++11

1
src/cutter.rc Normal file
View File

@ -0,0 +1 @@
IDI_ICON1 ICON "img/cutter.ico"

BIN
src/img/cutter.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB