[Qt-creator] Qt Creator Clazy Support

2018-03-16 Thread Jeff Tranter

I'm trying to get the new Clazy support in Qt Creator working.

I have Qt Creator 4.6.0 rc1 compiled from source against Qt 5.10.1 on 
Ubuntu Linux.


In Tools / Options, under Analyzer, it shows:

  Clang executable: clang-5.0
  Version: 5.0.0, supported.

Under C++ / Code Model, is says:

"The Clang Code Model is disabled because the corresponding plugin is 
not loaded."


Under Help / About Plugins... it shows ClangStaticAnalyzer loaded, 
version 4.5.83.


I also have clazy built from git and installed and it runs on its own.

I am able to run the Clang static analyzer from Qt Creator but I can't 
seem to run or configure clazy.


Any ideas?

--
Jeff Tranter, Engineering Manager, Integrated Computer Solutions.
Certified Qt Developer, Scrum Master, Scrum Product Owner.
ICS - Creating Smart Devices for a Connected World.
___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Proposal increasing requirement for building Qt Creator 4.7

2018-03-16 Thread Andrzej Telszewski

On 16/03/18 09:05, Eike Ziller wrote:

I can only find Qt 4.8.7 onhttps://packages.slackware.com  ... o.O



I won't got into details ;-) But here is the place to look at:
https://slackbuilds.org/apps/qt5/


Bundling Qt (and actually libclang) into a Qt Creator build: 
“INSTALL_ROOT=/some/install/root make deployqt”
For LLVM you can also try using the builds that we provide 
onhttp://download.qt.io/development_releases/prebuilt/libclang/


I'm familiar with bundling LLVM, but not yet with Qt.

I won't use pre-built binaries.
The point here is to build everything from source.

Using SlackBuilds.org means you generally build everything from source.
There are, too, some packages, which are created out of pre-built binaries.
But, whenever possible, I try to provide the "from source" build option.

--
Best regards,
Andrzej Telszewski
___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Proposal increasing requirement for building Qt Creator 4.7

2018-03-16 Thread Eike Ziller


> On 16. Mar 2018, at 08:38, Andrzej Telszewski  wrote:
> 
> On 16/03/18 07:58, André Hartmann wrote:
>> 5.7 is no option, as it is no LTS and should have reached end-of-life 
>> already.
> 
> That's what I was thinking too.
> 
>> But it's very easy to install a recent Qt version with the online installer 
>> and use that for building Creator. I do it this way on Ubuntu 16.04. Of 
>> course you can also build Qt from sources.
> 
> Yep, I'm thinking about bundling Qt (compiled from source), as is already the 
> case with LLVM.
> The only drawback is going to be compile time: [Qt + LLVM + Qt Creator]
> On my machine it is going to be something like 7 - 10 hours ;-)

I can only find Qt 4.8.7 on https://packages.slackware.com ... o.O

Bundling Qt (and actually libclang) into a Qt Creator build: 
“INSTALL_ROOT=/some/install/root make deployqt”
For LLVM you can also try using the builds that we provide on 
http://download.qt.io/development_releases/prebuilt/libclang/

Br, Eike

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
eike.zil...@qt.io
http://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 
144331 B

___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Proposal increasing requirement for building Qt Creator 4.7

2018-03-16 Thread Andrzej Telszewski

On 16/03/18 07:58, André Hartmann wrote:
5.7 is no option, as it is no LTS and should have reached end-of-life 
already.




That's what I was thinking too.

But it's very easy to install a recent Qt version with the online 
installer and use that for building Creator. I do it this way on Ubuntu 
16.04. Of course you can also build Qt from sources.


Yep, I'm thinking about bundling Qt (compiled from source), as is 
already the case with LLVM.

The only drawback is going to be compile time: [Qt + LLVM + Qt Creator]
On my machine it is going to be something like 7 - 10 hours ;-)

--
Best regards,
Andrzej Telszewski
___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


Re: [Qt-creator] Proposal increasing requirement for building Qt Creator 4.7

2018-03-16 Thread André Hartmann

Hi Andrzej,

Am 15.03.2018 um 23:06 schrieb Andrzej Telszewski:

On 15/03/18 15:08, Eike Ziller wrote:

https://codereview.qt-project.org/223368
Target branch “master” (will be 4.7)

"Increase requirement for building Qt Creator from Qt 5.6.2 to Qt 5.9

Qt 5.11 will be released and Qt 5.9 is the new LTS.
Increasing the requirement allows us to remove some baggage and
workarounds like Utils::asConst, special Q_OVERRIDE header, and
deployment target adaptions on macOS, and simplifies pulling in
proparser changes from Qt.”

This doesn’t affect the Qt that you use to develop your applications 
with.


Br, Eike



If this bump isn't yet strictly necessary, I'd love to stick with 5.7.
I'm on Slackware and 5.9 does not seem to be arriving soon.

But well, if need be, then I can't stop you ;-)


5.7 is no option, as it is no LTS and should have reached end-of-life 
already.


But it's very easy to install a recent Qt version with the online 
installer and use that for building Creator. I do it this way on Ubuntu 
16.04. Of course you can also build Qt from sources.


Regards, André
___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator