Qt Creator builds application with "UAC Icon" by default
-
Hi,
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_01Additional import path used to resolve QML modules in Creator's code model
QML_IMPORT_PATH =
QMAKE_CXXFLAGS += -std=gnu++11QT =
QT += serialport
QT += qml quickIf your application uses the Qt Mobility libraries, uncomment the following
lines and add the respective components to the MOBILITY variable.
CONFIG += mobility
MOBILITY +=
The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += main.cpp
firmwareupdaterinterface.cppInstallation path
target.path =
Please do not modify the following two lines. Required for deployment.
include(qtquick2applicationviewer/qtquick2applicationviewer.pri)
qtcAddDeployment()OTHER_FILES +=
qml/FirmwareUpdater/MainView.qml
qml/FirmwareUpdater/SelField.qmlHEADERS +=
firmwareupdaterinterface.hINCLUDEPATH +=
RESOURCES +=
FirmwareUpdater.qrc
@Thank you in advance.
Krzysiek