Topic: SOLVED: Qt Creator, Qt6 cannot find headers from IDE
Hello everybody,
I have a strange phenomenon, that I would like to understand and get rid of...
There is a fresh installed Debian unstable with QET-Sources from github-branch "qt6-cmake".
From commandline everything compiles fine from cmake, qmake and make.
But sometimes it is much more comfortable to use an IDE to edit sourcefiles and start compilation by clicking a button.
So I installed Qt Creator 15.0.1 based on Qt 6.7.2 (GCC 14.2.0, x86_64) on top of it, imported the QET-codestyle-settings and clicked "compile".
And that's where the phenomenon comes to light: It won't compile, because some header-files cannot be found, see also attachment.
To remember: Everything compiles fine from commandline, so all headers are on the system:
$ dpkg -l | grep libkf6 | grep addons-dev
ii libkf6coreaddons-dev:amd64 6.11.0-1 amd64 KDE Frameworks 6 addons to QtCore - development files
ii libkf6widgetsaddons-dev 6.11.0-1 amd64 development files for kwidgetsaddons
$
So there is a setting in Qt-Creator that has to be adjusted to be able to compile from IDE, but I don't see it!
Is there someone who can help "cleaning my glasses"???