I don't know what I did to break my QtCreator but "suddenly" all my compiler issues (warnings/errors) are not displayed in the issues-panel any more but only in the "Compile output" panel (where I can't use them to jump to the erroneous code just by clicking).
In the "Issues" panel only the compile target (e.g. an object file) is being displayed like this:
[path/to/makefile:89: path/to/object/file.cpp.o] Error 1
I'm using Creator together with CMake (with Makefiles) and GCC. The compiler output itself seems not to be the problem (another tool which outputs <file>:<linenr>: <description> shows the same result).
What are the requirements for Creator to correctly parse and display issues printed by the compiler (or any other tool)? How can I investigate what's going on?
I'm using QtCreator 4.6.2 on Fedora 27 (and I tried 4.8.0-beta1 as well with the same result)
I don't know the technical reason but for me creating a new build-folder solved the problem.
Possibly a CMake or Qt-Creator update introduced some new elements in the environment in an incompatible way..
For what it's worth, I was able to resolve a similar issue by resetting the compilers for each of my build and run configurations under Preferences > Build & Run > Kits in Qt Creator.
These had been set to <No compiler> for some reason, probably related to careless tracking of various CMake files while passing the project back and forth between different architectures.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With