vault backup: 2025-03-04 11:17:00

This commit is contained in:
2025-03-04 11:17:00 +08:00
parent d1e51bfd2f
commit ff12c4f4ca
161 changed files with 1 additions and 2 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)