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 5.2.0 static permissions error
Forum Updated to NodeBB v4.3 + New Features

Qt 5.2.0 static permissions error

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.4k 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.
  • I Offline
    I Offline
    iamnp
    wrote on last edited by
    #1

    I am not able to run programs from Qt Creator, I am always getting error:

    @Starting C:\path\to\executable\program.exe...
    Failed to start program. Path or permissions wrong?
    C:\path\to\executable\program.exe exited with code -1@

    It happened after I built Qt statically. What I did: Installed Qt 5.2.0 with MinGW from official site (including source component), then installed Python 2.7.6 and Perl. Then built Qt statically from path\to\qt\5.2.0\Src and it showed no errors. After this everything was fine. But when I added new path to qmake.exe (in Qt Versions tab, Build & Run Options section) and added new Kit (Kits tab) with this version I started getting this error. Moreover, now all .exe files have yellow shield near the icon in the Explorer (no matter they were built statically or not). It means that they use administrative privileges, but before I added new Kit executables had no yellow shield! For statically built programs it is fine that Creator can't run them because of administrative privileges that the use, but what happened to dynamically linked programs? I didn't touch any other settings except for adding new Kit.

    I am using MinGW on Windows 8.1, qt was configured with this line:
    @configure.exe -release -opensource -c++11 -static -no-opengl -no-angle -no-vcproj -platform win32-g++ -nomake examples -nomake tests@

    1 Reply Last reply
    0
    • I Offline
      I Offline
      iamnp
      wrote on last edited by
      #2

      aaaaaaaaaaaaaaaaaaaaaaaa

      1 Reply Last reply
      0
      • I Offline
        I Offline
        iamnp
        wrote on last edited by
        #3

        heeeeeeeeeeeelp

        1 Reply Last reply
        0
        • B Offline
          B Offline
          brcontainer
          wrote on last edited by
          #4

          Are using Windows? Try running the "QT" with administrator permissions, just to test.

          QT project: https://github.com/brcontainer/qt-helper

          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