vault backup: 2025-02-10 17:27:57

This commit is contained in:
2025-02-10 17:27:57 +08:00
parent 60a1c02c6a
commit 5752038f86
159 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
## 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)