Qt Design Studio can not link Qt
-
@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.
-
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? -
Is that path in your PATH environment variable ?
-
@Serhan-Kars then it might be a leftover in the Qt Design Studio configuration file. Try to nuke it.
-
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=qmlI 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.
-
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/qmakeSo 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:
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.
-
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" .Also, "Kits" is missing in settings.
-
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
-
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.
Let's see if it works now ...
-
@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.
-
@Serhan-Kars You need to choose the installation path for 'qt design studio' instead of 'QT'
-