Package Details: qtcreator-git v4.9.0.rc1.r328.ged87b74a59-1

Git Clone URL: (read-only)
Package Base: qtcreator-git
Description: Lightweight, cross-platform integrated development environment
Upstream URL:
Licenses: LGPL
Conflicts: qbs, qtcreator
Provides: qbs, qtcreator
Submitter: delor
Maintainer: rodrigo21 (hunger)
Last Packager: rodrigo21
Votes: 31
Popularity: 0.351552
First Submitted: 2009-04-12 14:35
Last Updated: 2019-04-02 22:48

Dependencies (23)

Required by (32)

Sources (3)

Latest Comments

1 2 3 4 5 6 Next › Last »

rodrigo21 commented on 2019-04-02 22:49

Package updated with the patch from @mateste. Thanks for the patch.

mateste commented on 2019-04-02 08:49

Backporting (or is it forwardporting? :) the patch from Arch repo seems to work:

Save it as a .patch file and add it to the PKGBUILD

diff --git a/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp b/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp
index 706c5101a3..0f7af62dba 100644
--- a/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp
+++ b/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp
@@ -511,6 +511,7 @@ private:
         if (tidyMode == Mode::Disabled)

+        m_options.append(CppTools::XclangArgs({"-load", ""}));
         m_options.append(CppTools::XclangArgs({"-add-plugin", "clang-tidy"}));

         if (tidyMode == Mode::File)
@@ -526,8 +527,8 @@ private:
         if (checks.isEmpty())

-        m_options.append(CppTools::XclangArgs({"-add-plugin",
-                                               "clang-lazy",
+        m_options.append(CppTools::XclangArgs({"-load", "",
+                          "-add-plugin", "clazy",
diff --git a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp
index a580704243..42c4319240 100644
--- a/src/plugins/clangtools/clangtidyclazyrunner.cpp
+++ b/src/plugins/clangtools/clangtidyclazyrunner.cpp
@@ -76,6 +76,7 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis

     const ClangDiagnosticConfig::TidyMode tidyMode = m_diagnosticConfig.clangTidyMode();
     if (tidyMode != ClangDiagnosticConfig::TidyMode::Disabled) {
+        arguments << XclangArgs({"-load", ""});
         arguments << XclangArgs({"-add-plugin", "clang-tidy"});
         if (tidyMode != ClangDiagnosticConfig::TidyMode::File) {
             const QString tidyChecks = m_diagnosticConfig.clangTidyChecks();
@@ -85,8 +86,9 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis

     const QString clazyChecks = m_diagnosticConfig.clazyChecks();
     if (!clazyChecks.isEmpty()) {
-        arguments << XclangArgs({"-add-plugin",
-                                 "clang-lazy",
+        arguments << XclangArgs({"-load", "",
+                "-add-plugin",
+                                 "clazy",

lpc123 commented on 2019-03-31 17:03

Getting this error on libClangTools after clang upgrade (7.0.1-1 -> 8.0.0-3) released today:

/usr/lib/qtcreator/plugins/ Cannot load library /usr/lib/qtcreator/plugins/ ( cannot open shared object file: No such file or directory)

Ravenclaw commented on 2018-08-17 18:18

The compiling issue mentioned by txtsd still persists. Btw, at least I'm using clang and llvm(-libs) built from svn aur packages.

txtsd commented on 2018-07-27 20:20

/home/txtsd/.cache/yay/qtcreator-git/src/qt-creator/src/tools/clangbackend/source/clangtranslationunitupdater.cpp: In static member function ‘static uint ClangBackEnd::TranslationUnitUpdater::defaultParseOptions()’:
/home/txtsd/.cache/yay/qtcreator-git/src/qt-creator/src/tools/clangbackend/source/clangtranslationunitupdater.cpp:185:12: error: ‘CXTranslationUnit_IgnoreNonErrorsFromIncludedFiles’ was not declared in this scope
          | CXTranslationUnit_IgnoreNonErrorsFromIncludedFiles
/home/txtsd/.cache/yay/qtcreator-git/src/qt-creator/src/tools/clangbackend/source/clangtranslationunitupdater.cpp:185:12: note: suggested alternative: ‘CXTranslationUnit_SkipFunctionBodies’
          | CXTranslationUnit_IgnoreNonErrorsFromIncludedFiles

fasked commented on 2018-01-11 10:08

The QBS repository URL is invalid. It seems it should be "qbs/qbs.git/".

rodrigo21 commented on 2017-10-14 20:38

Just build in a clean chroot with no errors.
llvm-libs already is a dependency for clang and llvm packages.

Fincer commented on 2017-10-14 18:41

Please add llvm-libs to makedepends. Failed to compile on my system due to missing llvm-libs package (missing libraries).

hunger commented on 2017-07-24 20:34

@newmentos: The URL work for me:-/ Maybe the upstream servers were down when you tried that?

@rodrigo21: Sorry, my CI has not picked up your latest change:-/

Master branch does *NOT* work with any Qbs but the one from git, so system qbs is not an option here. The build currently fails due to that for me.

Qt5-webengine is not recommended. The qtcreator package should ideally also drop that: It is huge and serves no real purpose (and leads to Creator jumping to the wrong places).

I'll push patches once my CI confirms things work again.

newmentos commented on 2017-06-15 19:15

fatal: unable to connect to[0:]: errno=Connection refused