Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Issues with autocomplete-clang for Atom IDE
Forum Updated to NodeBB v4.3 + New Features

Issues with autocomplete-clang for Atom IDE

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sklum
    wrote on last edited by
    #1

    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_complete file like this:

    -I/Users/scott/Qt/5.5.1/clang_64/lib/QtCore.framework/Headers
    -I/Users/scott/Qt/5.5.1/clang_64/lib/
    

    However, in the Atom console I'm getting an error from including <QDataStream> in one of my files, because the qdatastream.h file includes <QtCore/qscopedpointer.h>, but while there is a qscopedpointer.h in QtCore.framework/Headers, there is no QtCore folder. 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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved