qt picks the wrong environment
-
Apart from the fact that it's QtCreator, not Qt - what is wrong in your second screen shot?
-
Apart from the fact that it's QtCreator, not Qt - what is wrong in your second screen shot?
@Christian-Ehrlicher said in qt picks the wrong environment:
Apart from the fact that it's QtCreator, not Qt - what is wrong in your second screen shot?

-
It doesn't help when you post the screenshot twice...
-
It doesn't help when you post the screenshot twice...
@Christian-Ehrlicher The bottom line is that qt selects the wrong folders. I want to select those related to 6.4.0
-
Hi @Idodoqdo, it looks like your Qt 6.4.0 kit is configured to use system environment variables, and one of those is
QTDIRpointing to/usr/local/share/qtwhich does not appear to be where your Qt 6.4.0 is installed.It's possible that, on your host,
/usr/local/share/qtis:- a symlink being managed by some "alternatives" command (
update-alternativesor Brew?), in which case you'd need to use that (external to Qt Creator) command to update the symlink to point to your installed Qt 6.4.0; or - another Qt version not configured in your Qt Creator (its not listed in your kits screenshot), in which case you should remove or override
QTDIRin your kit configuration.
Either way, I suspect you need to update your kit's environment variable/s - either manually overriding
QTDIRto point to the right place, or removing it, or perhaps simply enabling that "Clear system environment" checkbox.The bottom line is that qt selects the wrong folders.
Which "folders" are being selected?
Cheers.
- a symlink being managed by some "alternatives" command (
-
Hi @Idodoqdo, it looks like your Qt 6.4.0 kit is configured to use system environment variables, and one of those is
QTDIRpointing to/usr/local/share/qtwhich does not appear to be where your Qt 6.4.0 is installed.It's possible that, on your host,
/usr/local/share/qtis:- a symlink being managed by some "alternatives" command (
update-alternativesor Brew?), in which case you'd need to use that (external to Qt Creator) command to update the symlink to point to your installed Qt 6.4.0; or - another Qt version not configured in your Qt Creator (its not listed in your kits screenshot), in which case you should remove or override
QTDIRin your kit configuration.
Either way, I suspect you need to update your kit's environment variable/s - either manually overriding
QTDIRto point to the right place, or removing it, or perhaps simply enabling that "Clear system environment" checkbox.The bottom line is that qt selects the wrong folders.
Which "folders" are being selected?
Cheers.
@Paul-Colby hi, i want connect this directory:

but

- a symlink being managed by some "alternatives" command (


