Created attachment 156612 [details] screenshot of some errors appearing in default template In default QT Widgets template a filename.ui file is created, which is supposed to be translated to a ui_filename.h header file by uic when project is being built. Qt Creator understands this process and doesn't complain about autogenerated header missing. KDevelop, unfortunately, doesn't. It thinks that this file is supposed to exist in project directory. This raises plenty of errors and doesn't allow for code completition. I think it would be fairly easy to add support for this feature and make it work like in Qt Creator. Thank you.
Hi, this works if you properly open your project with build system support, e.g CMake or qmake. That will configure your build folder as include dir, which does contain this file. KDevelop will then find it there.
(In reply to Sven Brauch from comment #1) > Hi, this works if you properly open your project with build system support, > e.g CMake or qmake. That will configure your build folder as include dir, > which does contain this file. KDevelop will then find it there. Huh, it really works. For some reason it didn't work at the first try with my project and also didn't work immediately with a new one... might be a bug or I'm just stupid. Thanks.
You need to trigger a build once (just once ever) so your build system generates the files in the beginning, it will only work after that.