Package Details: qtcreator-git 10.0.0.beta2.r124.gd8dc1c7f0f-1

Git Clone URL: https://aur.archlinux.org/qtcreator-git.git (read-only, click to copy)
Package Base: qtcreator-git
Description: Lightweight, cross-platform integrated development environment
Upstream URL: https://www.qt.io
Licenses: LGPL
Conflicts: qtcreator
Provides: qtcreator
Submitter: delor
Maintainer: None
Last Packager: sr.team
Votes: 32
Popularity: 0.000000
First Submitted: 2009-04-12 14:35 (UTC)
Last Updated: 2023-03-02 14:51 (UTC)

Dependencies (25)

Required by (27)

Sources (2)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

MarsSeed commented on 2023-08-21 00:46 (UTC)

This package should provide a split package, qtcreator-devel-git, containing the development source files, for plugin builds. Just like repo's qtcreator has its corresponding qtcreator-devel.

hunger commented on 2021-09-20 08:30 (UTC)

I disowned the package as I have no time to maintain this.

Sorry for taking so long to do so: I had completely forgotten about this package:-/

SolarAquarion commented on 2020-04-23 23:29 (UTC)

We can move to CMAKE. which is usually "nicer"

xuiqzy commented on 2019-12-13 15:23 (UTC)

error when building latest version:

==> Starting prepare()...
patching file src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp
Hunk #1 FAILED at 511.
Hunk #2 FAILED at 526.
2 out of 2 hunks FAILED -- saving rejects to file src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp.rej
patching file src/plugins/clangtools/clangtidyclazyrunner.cpp
Hunk #1 FAILED at 76.
Hunk #2 succeeded at 63 with fuzz 2 (offset -22 lines).
1 out of 2 hunks FAILED -- saving rejects to file src/plugins/clangtools/clangtidyclazyrunner.cpp.rej
==> ERROR: A failure occurred in prepare().
    Aborting...
Error making: qtcreator-git

hunger commented on 2019-06-06 08:47 (UTC)

The following diff is needed to not pick up the version of Qt Design Studio (which will then break the package):

diff --git a/PKGBUILD b/PKGBUILD index 1823aa7..bd83fd6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -41,7 +41,7 @@ sha256sums=('SKIP' pkgver() { cd qt-creator

  • git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
  • git describe --long --match v* | sed -r 's/([^-]*-g)/r\1/;s/-/./g' }

prepare() {

sleeping commented on 2019-05-03 11:33 (UTC) (edited on 2019-05-03 11:39 (UTC) by sleeping)

Getting this error, patch needs to be removed again I think:

==> Starting prepare()...
patching file src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp
Hunk #2 FAILED at 527.
1 out of 2 hunks FAILED -- saving rejects to file src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp.rej
patching file src/plugins/clangtools/clangtidyclazyrunner.cpp
patch unexpectedly ends in middle of line
Hunk #2 FAILED at 86.
1 out of 2 hunks FAILED -- saving rejects to file src/plugins/clangtools/clangtidyclazyrunner.cpp.rej
==> ERROR: A failure occurred in prepare().
    Aborting...
Error making: qtcreator-git

rodrigo21 commented on 2019-04-02 22:49 (UTC)

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

mateste commented on 2019-04-02 08:49 (UTC) (edited on 2019-04-02 08:49 (UTC) by mateste)

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)
             return;

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

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

-        m_options.append(CppTools::XclangArgs({"-add-plugin",
-                                               "clang-lazy",
+        m_options.append(CppTools::XclangArgs({"-load", "ClazyPlugin.so",
+                          "-add-plugin", "clazy",
                                                "-plugin-arg-clang-lazy",
                                                "enable-all-fixits",
                                                "-plugin-arg-clang-lazy",
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", "libclangTidyPlugin.so"});
         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", "ClazyPlugin.so",
+                "-add-plugin",
+                                 "clazy",
                                  "-plugin-arg-clang-lazy",
                                  "enable-all-fixits",
                                  "-plugin-arg-clang-lazy",

lpc123 commented on 2019-03-31 17:03 (UTC) (edited on 2019-03-31 17:04 (UTC) by lpc123)

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

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