app icons for mac and windows

This commit is contained in:
Max-Wilhelm Bruker 2010-05-08 17:15:40 +02:00
parent bda9768b1d
commit 03132e2edd
7 changed files with 10 additions and 3 deletions

View file

@ -112,4 +112,10 @@ SOURCES += src/counter.cpp \
../common/protocol_datastructures.cpp
TRANSLATIONS += translations/cockatrice_de.ts translations/cockatrice_en.ts
CONFIG += qt debug
win32 {
RC_FILE = cockatrice.rc
}
macx {
ICON = resources/appicon.icns
CONFIG += x86 ppc
}

View file

@ -24,7 +24,7 @@
<file>resources/hr.jpg</file>
<file>translations/cockatrice_de.qm</file>
<file>translations/cockatrice_en.qm</file>
<file>resources/icon.svg</file>
<file>resources/appicon.svg</file>
<file>resources/add_to_sideboard.svg</file>
<file>resources/decrement.svg</file>
<file>resources/increment.svg</file>

1
cockatrice/cockatrice.rc Normal file
View file

@ -0,0 +1 @@
ID1_ICON1 ICON DISCARDABLE "resources/appicon.ico"

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 KiB

View file

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View file

@ -83,7 +83,7 @@ int main(int argc, char *argv[])
MainWindow ui;
qDebug("main(): MainWindow constructor finished");
QIcon icon(":/resources/icon.svg");
QIcon icon(":/resources/appicon.svg");
ui.setWindowIcon(icon);
ui.show();