Added icon

This commit is contained in:
0xFEEDC0DE64
2017-12-03 21:35:44 +01:00
parent d2a5ae37e8
commit 7c3bf6900b
5 changed files with 7 additions and 0 deletions

BIN
icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

BIN
images/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@@ -13,6 +13,10 @@
<property name="windowTitle">
<string>MainWindow</string>
</property>
<property name="windowIcon">
<iconset resource="resources.qrc">
<normaloff>:/zeiterfassung/images/icon.png</normaloff>:/zeiterfassung/images/icon.png</iconset>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout" stretch="0,0">
<item>

View File

@@ -7,5 +7,6 @@
<file>images/quit.png</file>
<file>images/refresh.png</file>
<file>images/today.png</file>
<file>images/icon.png</file>
</qresource>
</RCC>

View File

@@ -14,6 +14,8 @@ DEFINES += QT_DEPRECATED_WARNINGS
# You can also select to disable deprecated APIs only up to a certain version of Qt.
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
RC_ICONS = icon.ico
SOURCES += main.cpp \
zeiterfassung.cpp \
mainwindow.cpp \