Added icon
This commit is contained in:
parent
8d663f858b
commit
addf3ea73e
@ -14,8 +14,8 @@
|
||||
<string>QtRocket</string>
|
||||
</property>
|
||||
<property name="windowIcon">
|
||||
<iconset>
|
||||
<normaloff>resources/qtrocket.png</normaloff>resources/qtrocket.png</iconset>
|
||||
<iconset resource="qtrocket.qrc">
|
||||
<normaloff>:/qtrocket.png</normaloff>:/qtrocket.png</iconset>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<layout class="QVBoxLayout" name="verticalLayout" stretch="2">
|
||||
@ -109,6 +109,8 @@
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources/>
|
||||
<resources>
|
||||
<include location="qtrocket.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
1
main.cpp
1
main.cpp
@ -7,6 +7,7 @@
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication a(argc, argv);
|
||||
a.setWindowIcon(QIcon(":/qtrocket.png"));
|
||||
|
||||
// Start translation component.
|
||||
// TODO: Only support US English at the moment. Anyone want to help translate?
|
||||
|
@ -69,3 +69,6 @@ unix: CONFIG += link_pkgconfig
|
||||
unix: PKGCONFIG += libcurl
|
||||
|
||||
unix: PKGCONFIG += fmt
|
||||
|
||||
RESOURCES += \
|
||||
qtrocket.qrc
|
||||
|
7
qtrocket.qrc
Normal file
7
qtrocket.qrc
Normal file
@ -0,0 +1,7 @@
|
||||
<!DOCTYPE RCC>
|
||||
<RCC version="1.0">
|
||||
<qresource>
|
||||
<file alias="qtrocket.png">resources/qtrocket.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
BIN
resources/qtrocket.ico
Normal file
BIN
resources/qtrocket.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 333 KiB |
Loading…
x
Reference in New Issue
Block a user