Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Issues with autocomplete-clang for Atom IDE
sklum last edited by
I'm trying to get the autocomplete-clang package in the Atom IDE to work with a project in which I use Qt. A minimal reproducing example involves a
.clang_completefile like this:
However, in the Atom console I'm getting an error from including
<QDataStream>in one of my files, because the
qdatastream.hfile includes <QtCore/qscopedpointer.h>, but while there is a
QtCore.framework/Headers, there is no
QtCorefolder. So, clang-provider.coffee throws an error.
I'm not clear on why these files have this include, nor do I understand how Qt compiles with them, unless the directory structure when building from source as opposed to the online installers is different.
Any help or guidance would be appreciated here.