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. Qt Design Studio can not link Qt
QtWS25 Last Chance

Qt Design Studio can not link Qt

Scheduled Pinned Locked Moved Solved Installation and Deployment
16 Posts 8 Posters 3.5k Views
  • 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.
  • SGaistS SGaist

    Hi and welcome to devnet,

    Might be a silly question but did you install at least one Qt version alongside Qt Design Studio ?

    Serhan KarsS Offline
    Serhan KarsS Offline
    Serhan Kars
    wrote on last edited by
    #3

    @SGaist Thanks for the response and welcome :) There is no such thing as a silly question when there is a problem to solve :) Yes I have successfully installed Qt 6.5.1 using Qt online installer. Qt Design Studio's version is 4.2.0.

    1 Reply Last reply
    0
    • Serhan KarsS Offline
      Serhan KarsS Offline
      Serhan Kars
      wrote on last edited by
      #4

      After a reinstall problem still continues.
      And I am really obsessed with "Cannot update Qt version information from /home/sk/anaconda3/bin/qmake: qmake "/home/sk/anaconda3/bin/qmake" is not an executable.." error also There are many qmakes in file system, why does it specifically look for it under this folder?

      SGaistS 1 Reply Last reply
      0
      • Serhan KarsS Serhan Kars

        After a reinstall problem still continues.
        And I am really obsessed with "Cannot update Qt version information from /home/sk/anaconda3/bin/qmake: qmake "/home/sk/anaconda3/bin/qmake" is not an executable.." error also There are many qmakes in file system, why does it specifically look for it under this folder?

        SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #5

        Is that path in your PATH environment variable ?

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

        Serhan KarsS 1 Reply Last reply
        0
        • SGaistS SGaist

          Is that path in your PATH environment variable ?

          Serhan KarsS Offline
          Serhan KarsS Offline
          Serhan Kars
          wrote on last edited by
          #6

          @SGaist No there is nothing in PATH about anaconda

          SGaistS 1 Reply Last reply
          0
          • Serhan KarsS Serhan Kars

            @SGaist No there is nothing in PATH about anaconda

            SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #7

            @Serhan-Kars then it might be a leftover in the Qt Design Studio configuration file. Try to nuke it.

            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
            • Serhan KarsS Offline
              Serhan KarsS Offline
              Serhan Kars
              wrote on last edited by
              #8

              Is it the file in Qt Folder/Tools/QtDesignStudio/bin/qt.conf?
              Its content is:

              [Paths]
              Prefix=../lib/Qt
              Binaries=bin
              Libraries=lib
              Plugins=plugins
              Qml2Imports=qml

              I should again mention that I have uninstalled and installed all the Qt and Qt Tools.
              It is also interesting that Qt Creator detects Qt versions automatically really well, but Qt Design Studio doesn't.

              Thanks for your help.

              1 Reply Last reply
              0
              • Serhan KarsS Offline
                Serhan KarsS Offline
                Serhan Kars
                wrote on last edited by
                #9

                I am not really proud of what I did but I have created a symbolic link :)
                /home/sk/anaconda3/bin/qmake --> /home/sk/Qt/6.5.1/gcc_64/bin/qmake

                So when I execute /Qt/Tools/QtDesignStudio/bin/qtdesignstudio that
                "Cannot update Qt version information from /home/sk/anaconda3/bin/qmake: qmake "/home/sk/anaconda3/bin/qmake" is not an executable.." error is gone.

                But I still got the first warning when I first open Qt Design Studio:

                3cde597f-0422-4726-99ee-1f7a704ee71a-image.png

                And also there is no Kits menu on the left of Edit>Preferences screen. Qt Creator has it, but Qt Design Studio doesn't have.

                R 1 Reply Last reply
                0
                • S Offline
                  S Offline
                  sbrandt
                  wrote on last edited by
                  #10

                  Hi
                  I have the same problem, but on windows. Removed all my (years old) Qt installations, and installed only Qt 6.5.2 msvc2019_64, 5.15.2 msvc2015_32, the default tools, and Qt Design Studio.
                  Still, no way to link the studio with a qt version.

                  Installed into c:\apps\Qt; none of the directories
                  C:\Apps\Qt\6.5.2\msvc2019_64\bin, C:\Apps\Qt\6.5.2\msvc2019_64, C:\Apps\Qt\6.5.2, C:\Apps\Qt, C:\Apps\Qt\Tools allowed me to press "link with qt" .

                  7bd9664d-4295-4180-a330-69d507288c7b-grafik.png

                  Also, "Kits" is missing in settings.

                  350cc5c2-76c2-4f50-9e19-010b6ca9e84e-grafik.png

                  1 Reply Last reply
                  0
                  • JKSHJ Offline
                    JKSHJ Offline
                    JKSH
                    Moderators
                    wrote on last edited by
                    #11

                    Qt Design Studio is meant to use its own "internal" kits, and is not meant to "Link with Qt" outside. This bug will be fixed in the next release: https://bugreports.qt.io/browse/QDS-9933

                    You can install the Qt Design Studio 4.3 preview now, to get a version that doesn't ask you to Link with Qt

                    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                    1 Reply Last reply
                    1
                    • S Offline
                      S Offline
                      sbrandt
                      wrote on last edited by
                      #12

                      Ah, half-completed functionality changes.

                      I actually found with sysinternals process monitor, that it was looking for it's own installation - after giving the same directory the qt design studio is installed in, the message goes away.

                      a9137c26-3b43-4249-94e2-213e1b486423-grafik.png

                      Let's see if it works now ...

                      1 Reply Last reply
                      0
                      • Serhan KarsS Serhan Kars

                        I am not really proud of what I did but I have created a symbolic link :)
                        /home/sk/anaconda3/bin/qmake --> /home/sk/Qt/6.5.1/gcc_64/bin/qmake

                        So when I execute /Qt/Tools/QtDesignStudio/bin/qtdesignstudio that
                        "Cannot update Qt version information from /home/sk/anaconda3/bin/qmake: qmake "/home/sk/anaconda3/bin/qmake" is not an executable.." error is gone.

                        But I still got the first warning when I first open Qt Design Studio:

                        3cde597f-0422-4726-99ee-1f7a704ee71a-image.png

                        And also there is no Kits menu on the left of Edit>Preferences screen. Qt Creator has it, but Qt Design Studio doesn't have.

                        R Offline
                        R Offline
                        raulgd
                        wrote on last edited by
                        #13

                        @Serhan-Kars the fix is simpler than that, what the path is looking for is the design studio installation folder, but on MacOS remember the installation folders are in fact app bundles, so instead, what worked for me was open the Qt Design Studio app bundle properties, select "Get Info", then copy the path to the Contents folder of the app bundle, something like: /Users/YOUR_USER/Qt/QtDesignStudio/Qt Design Studio.app and then copy that path into the "Qt installation path:" text field in the "Choose Qt installation" dialog and the path text will go gray and the "link with Qt" button will enable itself, then will ask you to restart the app and that's it.

                        Raul Guerrero
                        http://jimi.mx

                        J 1 Reply Last reply
                        1
                        • Serhan KarsS Serhan Kars

                          When I open Qt Design Studio it can not locate the Qt binaries. Even when I click "Link with Qt" and select the installation path of Qt (/home/{username}/Qt/) the Link with Qt button on dialog is always disabled.

                          5e66a3a4-b223-4ec1-958e-c74c3ed2e71a-image.png
                          I also saw an error from terminal output:

                          "Cannot update Qt version information from /home/{username}/anaconda3/bin/qmake: qmake "/home/{username}/anaconda3/bin/qmake" is not an executable"

                          I uninstalled anaconda environment. I freshly reinstalled Qt but problem continues. There is no value inside environment variables to specify anaconda folders to look for qmake. From where can I set the correct location? (If it is related to my problem)

                          L Offline
                          L Offline
                          LengTong
                          wrote on last edited by
                          #14

                          @Serhan-Kars You need to choose the installation path for 'qt design studio' instead of 'QT'

                          1 Reply Last reply
                          0
                          • R raulgd

                            @Serhan-Kars the fix is simpler than that, what the path is looking for is the design studio installation folder, but on MacOS remember the installation folders are in fact app bundles, so instead, what worked for me was open the Qt Design Studio app bundle properties, select "Get Info", then copy the path to the Contents folder of the app bundle, something like: /Users/YOUR_USER/Qt/QtDesignStudio/Qt Design Studio.app and then copy that path into the "Qt installation path:" text field in the "Choose Qt installation" dialog and the path text will go gray and the "link with Qt" button will enable itself, then will ask you to restart the app and that's it.

                            J Offline
                            J Offline
                            Juliana
                            wrote on last edited by
                            #15

                            @raulgd thanks,"what the path is looking for is the design studio installation folder",this really help me!

                            L 1 Reply Last reply
                            0
                            • J Juliana

                              @raulgd thanks,"what the path is looking for is the design studio installation folder",this really help me!

                              L Offline
                              L Offline
                              LandmaxJames
                              wrote on last edited by
                              #16

                              @Juliana This is still an issue in 2024. It took a while, but on my Mac, the right path was "/Users/james/Qt-2024/QtDesignStudio/Qt Design Studio.app". BUT, I had to manually enter this URL as the "Picker" would not do it.

                              1 Reply Last reply
                              0
                              • Serhan KarsS Serhan Kars has marked this topic as solved on

                              • Login

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