Qt Creator builds application with "UAC Icon" by default
I just finished my first application, and have only one problem to be solved.
The exe file must be run with Administrators priviliges. When I click it to open in Explorer windows, system shows warning that it can make changes on my PC, ....
I did not use any manifest files :( The sample Qt application work without this problem.
I use MinGW compiler.
The project files looks like following.
@# Add more folders to ship with the application, here
folder_01.source = qml/FirmwareUpdater
folder_01.target = qml
DEPLOYMENTFOLDERS = folder_01
Additional import path used to resolve QML modules in Creator's code model
QMAKE_CXXFLAGS += -std=gnu++11
QT += serialport
QT += qml quick
If your application uses the Qt Mobility libraries, uncomment the following
lines and add the respective components to the MOBILITY variable.
CONFIG += mobility
The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += main.cpp
Please do not modify the following two lines. Required for deployment.
Thank you in advance.
This is because windows marking everything with update in name as required Admin priviliges. The program name is FirmwareUpdater.exe ...
Renaming solved the problem :)