Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-72217

Whole Qt get broken after setting "always run as administrator"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 5.10.1
    • Build System
    • None
    • Windows
    • Resolved previously by new versions

    Description

      Hi. My recent Qt apps require to be build and run with administrator privileges, so i added that line to my .pro file about a week ago:

       

      QMAKE_LFLAGS_WINDOWS += /MANIFESTUAC:"level='requireAdministrator'"

       

      Everything was completely fine, so issue not related to that i think. But for compile+runing require Qt also be runned as admin. So i was rightclicking on qt and run as admin manually every time.. How i broke whole Qt framework? Just rightclick on Qt icon->properties->compatability and there activate "always run as admin".

       

      And that was it. After i run Qt - some new kind of errors appear, every variables/functions from any non-qt library become black(not possible include that libraries which was included for months, eg. Windows.h), you can see whole thing at the screenshot from attached file. And here is an error:

      :-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.

       

      I tried to google for solutions, but none of it helped, and btw, it's obvious one bug which should be fixed because every user which will try to set qt as admin will get their framework broken...

       

      P.S. i ofcourse tried to recover everything so i restore "run as admin" setting. But bug did'nt gone, still can't do anything in Qt.

       

      UPDATE: 

      I can't wait weeks for your respond, so i've chosen delete whole Qt and redownload it again. But DAMN IT i can't do it because one more stupid bug. CMON. Second picture.

       

      Attachments

        1. damnqtagain.jpg
          damnqtagain.jpg
          65 kB
        2. qtBullshit.jpg
          qtBullshit.jpg
          22 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            engelard YEVHEN SAVENKO
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes