I made a project using Qt creator. After deploying my project every time I open my project there is a popup window showing that warning. I submit my file for malware analysis.Is it possible to remove that warning or first time only show..
This is my manifest file:
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
my Deploy step:
1. Build my project in release mode.
2.Copy static lib in same folder.
3.C:\mt -manifest C:\QtProject\projectName\app.manifest.xml -outputresource:ProjectName.exe;1
4..\windeployqt C:\QtProject\build-PprojectName-Desktop_Qt_5_12_2_MinGW_64_bit-Release\release\projectName.exe
5.Navigate to the deploy/windows folder.
6.C:\Qt\Tools\QtInstallerFramework\4.5\bin\binarycreator -c config/config.xml -p packages -f projectNameSetup
This is because of requireAdministrator in your manifest. You can run Qt Creator as administrator to get rid of this window.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With