Menu

#5 Installation problems

1.0
closed
nobody
None
2015-07-12
2015-06-17
No

Hi,
I'm trying to install the plugin for my Qt Creator 3.4.1 on Kubuntu 15.04 64bit.
I've downloaded the QtcCppcheck-3.4.0-linux-x64.tar.gz and unpacked it to ~/Qt/Tools/QtCreator

After relaunching QtCreator there is no new tab in Tools\Options\Analyzer.
Am I doing something wrong?

Discussion

  • Alexander Trufanov

    Ok, it seems the plugin is disabled by default and must be enabled in Help\About plugins before it can be used.

    Could you please add installation notes somewhere.

     
  • Alexander Trufanov

    Well, it still doesn't work.

    I've installed plugin before cppcheck so its binary path setting was empty.
    If you try to open file selection window for this setting it hangs and you have to kill QtCreator process.
    I've installed cppcheck from official repository and specified a path to it manually: /usr/bin/cppcheck

    Now whenever I try to run cppcheck from QtCreator manually of automatically - nothing happens. I can't see any output that could proof that plugin tries to launch cppcheck at all.

     
  • Alexander Trufanov

    Ok, and finally I got that "Show binary's output" is about cppcheck output and it's disabled by default. With this setting on it works.

    So everything seems to work except binary file selection dialog.

     
  • Gres

    Gres - 2015-06-25

    Hi.
    Sorry for not responding - was away.
    Just tested it on ubuntu 15.04 (should be no big difference with Kubuntu) - file selection dialog works fine. Maybe it's configuration specific bug..
    About output: if cppcheck fins some error/warning -plugin will put it into tasks pane. So there is no need to monitor cppcheck's output.

     
  • Gres

    Gres - 2015-07-12
    • status: open --> closed
     

Log in to post a comment.