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



  • 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



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

    qmake QMAKE_CC=clang QMAKE_CXX=clang



  • @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>


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.