Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    Tools
    2
    3
    550
    Loading More Posts
    • 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.
    • Sudo007
      Sudo007 last edited by

      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 Reply Quote 0
      • C
        CleverFish last edited by

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

        qmake QMAKE_CC=clang QMAKE_CXX=clang

        Sudo007 1 Reply Last reply Reply Quote 0
        • Sudo007
          Sudo007 @CleverFish last edited by

          @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 Reply Quote 0
          • First post
            Last post