10 lines
597 B
Markdown
10 lines
597 B
Markdown
## Add icon of application
|
||
1. Create a `*.ico` file of whatever you want to use as a logo. I called mine `favicon.ico`.
|
||
2. Create a file named `yourapplication.rc`.
|
||
3. Add the following line to `yourapplication.rc`: `IDI_ICON1 ICON DISCARDABLE "favicon.ico"`.
|
||
4. Add the `*.rc` file to your buildsystem as a source file.
|
||
5. Make sure that your `*.exe` ships along side the `favicon.ico` file.
|
||
|
||
### Source
|
||
- [c++ - Set icon for Qt application built in Visual Studio - Stack Overflow](https://stackoverflow.com/questions/65818269/set-icon-for-qt-application-built-in-visual-studio)
|