vault backup: 2023-01-11 14:32:43

This commit is contained in:
2023-01-11 14:32:43 +08:00
parent 55820a9563
commit 41e789425a
3 changed files with 41 additions and 7 deletions

View File

@@ -19,6 +19,30 @@
} }
} }
}, },
{
"id": "f100a931f2d50826",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "04. Programming/QT/Application Icon.md",
"mode": "source",
"source": true
}
}
},
{
"id": "a57de7511dc77150",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "04. Programming/万字避坑指南C++ 的缺陷与思考(上).md",
"mode": "source",
"source": true
}
}
},
{ {
"id": "521c826b1d4c0b0d", "id": "521c826b1d4c0b0d",
"type": "leaf", "type": "leaf",
@@ -31,7 +55,8 @@
} }
} }
} }
] ],
"currentTab": 2
} }
], ],
"direction": "vertical" "direction": "vertical"
@@ -89,7 +114,7 @@
"state": { "state": {
"type": "backlink", "type": "backlink",
"state": { "state": {
"file": "01. 個人/20230227 - 日本福岡旅遊.md", "file": "04. Programming/万字避坑指南C++ 的缺陷与思考(上).md",
"collapseAll": false, "collapseAll": false,
"extraContext": false, "extraContext": false,
"sortOrder": "alphabetical", "sortOrder": "alphabetical",
@@ -106,7 +131,7 @@
"state": { "state": {
"type": "outline", "type": "outline",
"state": { "state": {
"file": "01. 個人/20230227 - 日本福岡旅遊.md" "file": "04. Programming/万字避坑指南C++ 的缺陷与思考(上).md"
} }
} }
} }
@@ -149,17 +174,17 @@
"periodic-notes:Open today": false "periodic-notes:Open today": false
} }
}, },
"active": "11a9323f8567de8a", "active": "a57de7511dc77150",
"lastOpenFiles": [ "lastOpenFiles": [
"04. Programming/QT/Application Icon.md",
"01. 個人/20230227 - 日本福岡旅遊.md",
"01. 個人/01. Daily/2023年度目標.md", "01. 個人/01. Daily/2023年度目標.md",
"00. Inbox/01. TODO.md", "00. Inbox/01. TODO.md",
"01. 個人/01. Daily/2023-01-08(週日).md", "01. 個人/01. Daily/2023-01-08(週日).md",
"01. 個人/01. Daily/2023-01-02(週一).md", "01. 個人/01. Daily/2023-01-02(週一).md",
"01. 個人/01. Daily/2022/2022年度目標.md", "01. 個人/01. Daily/2022/2022年度目標.md",
"01. 個人/20230227 - 日本福岡旅遊.md",
"01. 個人/01. Daily/2023-01-11(週三).md", "01. 個人/01. Daily/2023-01-11(週三).md",
"01. 個人/01. Daily/2023-01-10(週二).md", "01. 個人/01. Daily/2023-01-10(週二).md",
"02. 工作/01. Logitech/Meetup.md", "02. 工作/01. Logitech/Meetup.md"
"01. 個人/01. Daily/2023-01-09(週一).md"
] ]
} }

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)