Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [QtCreator] Clang code model & <cstdint>
Forum Updated to NodeBB v4.3 + New Features

[QtCreator] Clang code model & <cstdint>

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 455 Views 2 Watching
  • 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.
  • P Offline
    P Offline
    phlf
    wrote on last edited by
    #1

    Hello,

    I'm using Qtcreator 4.4 and I have this strange issue in one of my project where the Clang code model keeps throwing at me:

    0_1504702264251_195f8f8a-5143-4a9d-a190-a95bd76e6a20-image.png

    But the #include <cstdint> is present in my code, so I don't really get what's happening there.
    Here is part of my Qmake file:

    TEMPLATE = app
    CONFIG += console
    CONFIG -= app_bundle
    CONFIG -= qt
    
    QMAKE_CXXFLAGS += -std=c++1z
    QMAKE_CXXFLAGS_RELEASE += -O3
    
    [...]
    
    LIBS += -lSDL2 -lpthread
    

    I also tried with:

    TEMPLATE = app
    CONFIG += console
    CONFIG += c++11
    CONFIG -= app_bundle
    CONFIG -= qt
    
    [...]
    
    QMAKE_CXXFLAGS_RELEASE += -O3
    
    LIBS += -lSDL2 -lpthread
    

    I looked for a solution over the internet, but the best answer I found was "misconfigured kit". which is not really explicit.

    Thanks to anyone able to give some hints about this.

    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