diff --git a/QtRocket.ui b/QtRocket.ui index 9cfd349..4dc9439 100644 --- a/QtRocket.ui +++ b/QtRocket.ui @@ -14,8 +14,8 @@ QtRocket - - resources/qtrocket.pngresources/qtrocket.png + + :/qtrocket.png:/qtrocket.png @@ -109,6 +109,8 @@ 1 - + + + diff --git a/main.cpp b/main.cpp index 845cef4..e0c4bb5 100644 --- a/main.cpp +++ b/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? diff --git a/qtrocket.pro b/qtrocket.pro index c3c5d16..280cfa8 100644 --- a/qtrocket.pro +++ b/qtrocket.pro @@ -69,3 +69,6 @@ unix: CONFIG += link_pkgconfig unix: PKGCONFIG += libcurl unix: PKGCONFIG += fmt + +RESOURCES += \ + qtrocket.qrc diff --git a/qtrocket.qrc b/qtrocket.qrc new file mode 100644 index 0000000..32c6ffd --- /dev/null +++ b/qtrocket.qrc @@ -0,0 +1,7 @@ + + + + resources/qtrocket.png + + + diff --git a/resources/qtrocket.ico b/resources/qtrocket.ico new file mode 100644 index 0000000..3a268df Binary files /dev/null and b/resources/qtrocket.ico differ