app icons for mac and windows
This commit is contained in:
parent
bda9768b1d
commit
03132e2edd
7 changed files with 10 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
1
cockatrice/cockatrice.rc
Normal file
|
@ -0,0 +1 @@
|
|||
ID1_ICON1 ICON DISCARDABLE "resources/appicon.ico"
|
BIN
cockatrice/resources/appicon.icns
Normal file
BIN
cockatrice/resources/appicon.icns
Normal file
Binary file not shown.
BIN
cockatrice/resources/appicon.ico
Normal file
BIN
cockatrice/resources/appicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 345 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue