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. Qt Creator's Clang Static Code Analyzer does not work for my code-base.
QtWS25 Last Chance

Qt Creator's Clang Static Code Analyzer does not work for my code-base.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 771 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.
  • Sudo007S Offline
    Sudo007S Offline
    Sudo007
    wrote on last edited by
    #1

    Hi
    Good day !!

    My Qt application incorporates C++ and Qt source Code.
    When i start Clang Static Analyzer in Qt Creator ,after some time it gets hang.
    Could you help me to run clang .

    Qt version : 5.3 64bit
    Qt Creator version : Qt Creator 4.1.0

    1 Reply Last reply
    0
    • C Offline
      C Offline
      CleverFish
      wrote on last edited by
      #2

      may be you may try build you project using the following command

      qmake QMAKE_CC=clang QMAKE_CXX=clang

      Sudo007S 1 Reply Last reply
      0
      • C CleverFish

        may be you may try build you project using the following command

        qmake QMAKE_CC=clang QMAKE_CXX=clang

        Sudo007S Offline
        Sudo007S Offline
        Sudo007
        wrote on last edited by
        #3

        @CleverFish I want to run Qt creator's Clang tool. however i run the above command in the terminal, i got following error:
        In file included from ../timesys/imx6q_camaro/toolchain/include/features.h:388:
        ../timesys/imx6q_camaro/toolchain/include/gnu/stubs.h:7:11: fatal error: 'gnu/stubs-soft.h' file not found

        include <gnu/stubs-soft.h>

        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