Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Creator builds application with "UAC Icon" by default
Forum Updated to NodeBB v4.3 + New Features

Qt Creator builds application with "UAC Icon" by default

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    qczek
    wrote on last edited by
    #1

    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_01

    Additional import path used to resolve QML modules in Creator's code model

    QML_IMPORT_PATH =
    QMAKE_CXXFLAGS += -std=gnu++11

    QT =
    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

    MOBILITY +=

    The .cpp file which was generated for your project. Feel free to hack it.

    SOURCES += main.cpp
    firmwareupdaterinterface.cpp

    Installation 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.qml

    HEADERS +=
    firmwareupdaterinterface.h

    INCLUDEPATH +=

    RESOURCES +=
    FirmwareUpdater.qrc
    @

    Thank you in advance.
    Krzysiek

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qczek
      wrote on last edited by
      #2

      Hi,
      Problem solved.
      This is because windows marking everything with update in name as required Admin priviliges. The program name is FirmwareUpdater.exe ...
      Renaming solved the problem :)

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved