add window icon

This commit is contained in:
Yannik Schmidt
2021-11-07 13:19:35 +01:00
parent 79602900e6
commit 8f821d5d74
6 changed files with 2425 additions and 1 deletions

5
defaultres.qrc Normal file
View File

@@ -0,0 +1,5 @@
<RCC>
<qresource prefix="/.">
<file>icon.png</file>
</qresource>
</RCC>

BIN
icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@@ -10,6 +10,5 @@ int main(int argc, char *argv[])
a.setApplicationName("Speech-To-Text"); a.setApplicationName("Speech-To-Text");
a.setOrganizationName("Potaris IT | Yannik Schmidt"); a.setOrganizationName("Potaris IT | Yannik Schmidt");
a.setOrganizationDomain("potaris.de"); a.setOrganizationDomain("potaris.de");
return a.exec(); return a.exec();
} }

View File

@@ -13,6 +13,9 @@
<property name="windowTitle"> <property name="windowTitle">
<string>MainWindow</string> <string>MainWindow</string>
</property> </property>
<property name="windowIcon">
<iconset theme="icon.png"/>
</property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">QToolTip <string notr="true">QToolTip
{ {

2414
qrc_defaultres.cpp Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -64,3 +64,6 @@ FORMS += \
qnx: target.path = /tmp/$${TARGET}/bin qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target !isEmpty(target.path): INSTALLS += target
RESOURCES += \
defaultres.qrc