Qt deployment start menu shortcut icon not working
Unsolved
Installation and Deployment
-
Hello,
I have deployed an app with Qt and have a script running to add the app to the start menu but the icon does not show up. I have tried a few different variations "iconPath" as well as adding in the actual icon to the deployed app but it still did not work.
Here is my code
function Component() { // default constructor } Component.prototype.createOperations = function() { component.createOperations(); if (systemInfo.productType === "windows") { component.addOperation("CreateShortcut", "@TargetDir@/win64/app.exe", "@StartMenuDir@/app.lnk", "workingDirectory=@TargetDir@", "iconPath=@TargetDir@\\win64\\logo.ico", "iconId=1", "description=Launch app"); } }
The icon file sits in the TargetDir/win64 folder, just double checked.
The icon just appears as a blank file icon instead of the desired icon for the application.
First time deploying an app so any help would be appreciated. If you need anymore information please let me know