Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Problems with windeployqt after installing 5.11.1
Forum Updated to NodeBB v4.3 + New Features

Problems with windeployqt after installing 5.11.1

Scheduled Pinned Locked Moved Solved Installation and Deployment
8 Posts 4 Posters 2.2k 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.
  • F Offline
    F Offline
    flashmozzg
    wrote on last edited by
    #1

    I've had 5.9.2 before. I've installed 5.11.1 and now, when I try to windeploqt my app I get only
    Unable to read c:\Users\qt\work\install\mkspecs\qconfig.pri
    In the output. But I don't have that folder. I don't even have drive C!

    jsulmJ 1 Reply Last reply
    1
    • F flashmozzg

      I've had 5.9.2 before. I've installed 5.11.1 and now, when I try to windeploqt my app I get only
      Unable to read c:\Users\qt\work\install\mkspecs\qconfig.pri
      In the output. But I don't have that folder. I don't even have drive C!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @flashmozzg Did you rebuild your app with Qt 5.11.1? Did you call windeployqt from your Qt 5.11.1 installation?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      F 1 Reply Last reply
      0
      • jsulmJ jsulm

        @flashmozzg Did you rebuild your app with Qt 5.11.1? Did you call windeployqt from your Qt 5.11.1 installation?

        F Offline
        F Offline
        flashmozzg
        wrote on last edited by
        #3

        @jsulm said in Problems with windeployqt after installing 5.11.1:

        @flashmozzg Did you rebuild your app with Qt 5.11.1? Did you call windeployqt from your Qt 5.11.1 installation?

        Yes. The full command is: F:\Qt\5.11.1\msvc2017_64\bin\windeployqt --no-angle --no-opengl-sw --no-svg --no-translations --no-quick "path\to.exe"

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          Where exactly are you calling the executable from ?
          Do you have your environnement variables modified ?
          Do you have a qt.conf file in that folder ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          F 1 Reply Last reply
          0
          • SGaistS SGaist

            Hi,

            Where exactly are you calling the executable from ?
            Do you have your environnement variables modified ?
            Do you have a qt.conf file in that folder ?

            F Offline
            F Offline
            flashmozzg
            wrote on last edited by flashmozzg
            #5

            @SGaist said in Problems with windeployqt after installing 5.11.1:

            Hi,

            Where exactly are you calling the executable from ?
            Do you have your environnement variables modified ?
            Do you have a qt.conf file in that folder ?

            I'm using full paths and it finds the executable, why should that matter? I've tried calling it from different folders, including the one with exe I'm trying to deploy.

            No. I didn't mess with the environment. The same setup worked flawlessly with 5.9. It all broke down when I tried to install 5.11.1 with QtC 4.7.0

            As I said, this folder never existed. There is no user called qt and there is usually no drive C. It feels like some hardcoded value that's left in the binary.

            EDIT: looks like broken Maintenance Tool has butchered my installation. Had to do complete reinstall (which was quite painful due to QTIFW-975 ). Works fine now.

            1 Reply Last reply
            1
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Glad you found out the source of trouble and thanks for sharing !

              Since you have it working now, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • Q Offline
                Q Offline
                qt_keith
                wrote on last edited by qt_keith
                #7

                I got this same issue on 5.12.3. Reinstallation (this time 5.12.1) didn't help.
                The below message occurs at Make/jom time:

                error: Unable to read <my-source_dir\..>\mkspecs\qconfig.pri: The system cannot find the path specified.
                

                (Edited error message for (hopefully) clarity. <my-source_dir\..> is actually an absolute path on my system (D drive, no spaces).)

                No clue. All the instances of string 'qconfig.pri' in the generated makefiles use its (correct) absolute path.

                Q 1 Reply Last reply
                0
                • Q qt_keith

                  I got this same issue on 5.12.3. Reinstallation (this time 5.12.1) didn't help.
                  The below message occurs at Make/jom time:

                  error: Unable to read <my-source_dir\..>\mkspecs\qconfig.pri: The system cannot find the path specified.
                  

                  (Edited error message for (hopefully) clarity. <my-source_dir\..> is actually an absolute path on my system (D drive, no spaces).)

                  No clue. All the instances of string 'qconfig.pri' in the generated makefiles use its (correct) absolute path.

                  Q Offline
                  Q Offline
                  qt_keith
                  wrote on last edited by qt_keith
                  #8

                  If I add into my <pro file dir>\.. folder some junctions to %QTDIR%\bin, %QTDIR%\mkspec, %QTDIR%\plugins, and %QTDIR%\translations, windeployqt stops complaining and finishes successfully. This hack is the only thing that's worked so far -- even hacking PATH doesn't work.

                  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