Cannot link QtCreator to existing Qt installation.
-
I have a Qt 6.11.1 installation, build from sources, installed in /usr/local/qt-6.11.1. My application uses this installation and it works all fine. In configuring the qt-build, I leave out the qtweb* modules,
basically because when trying to build it, this invariably fails (for the last couple of versions. I have never managed to find out why not and have given up trying to build it). As I don't use these modules in my application, I have skipped qtweb* from the build.As I want to experiment with Qt-creator, I downloaded the binary from the qt-site. The installation of it went ok, but now I need to tell Qt Creator where the Qt installation resides. This seems impossible. The dialog that is supposed to do this does not accept the qt 6.11.1 installation directory. The only button that is clickable is Cancel...
What can I do to activate QT-creator?
-
You need to create a Kit for your setup. In the Kit you will have to configure:
- a c/c++ compiler
- a qt version
- a debugger
This is needed because you have built Qt yourself. If you download Qt via the Qt Installer, you only have to say Link with Qt... in "Preferences > Kits > Qt Versions" and point to the path where you installed Qt.
-
@cristian-adam Ah, yes, that did the trick. Thanks!