Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Can't build qt-creator from git
Qt 6.11 is out! See what's new in the release blog

Can't build qt-creator from git

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 3 Posters 643 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    andro
    wrote on last edited by
    #1

    I can build Qt from git just fine. Both 5.13.2 and 5.14.2. But try as I may I am unable to build qt-creator from git no matter what git bracnch I try, I always get C++ compilation errors, either 4.11 or 4.12. I am on Fedora 32 using llvm/clang. At this stage I wont detain people with the errors, just wanting to get a high level understanding of what I am fundamentally missing. What is the correct version tag set fo Qt and qt-creator to get a successful build.

    I don't see many messages here about this sort of failure, so I am very much scratching my head.

    Happy to post error output on request.

    jsulmJ 1 Reply Last reply
    0
    • A andro

      I can build Qt from git just fine. Both 5.13.2 and 5.14.2. But try as I may I am unable to build qt-creator from git no matter what git bracnch I try, I always get C++ compilation errors, either 4.11 or 4.12. I am on Fedora 32 using llvm/clang. At this stage I wont detain people with the errors, just wanting to get a high level understanding of what I am fundamentally missing. What is the correct version tag set fo Qt and qt-creator to get a successful build.

      I don't see many messages here about this sort of failure, so I am very much scratching my head.

      Happy to post error output on request.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @andro Did you see this: https://wiki.qt.io/Building_Qt_Creator_from_Git ?
      As you do not provide any details it is hard to say what the problem is.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • A Offline
        A Offline
        andro
        wrote on last edited by
        #3

        Thanks. I followed that precisely.

        I didn't post the errors yet as I get a different failure with each different combination of git branches. What do versions do you use for a clean build?

        jsulmJ 1 Reply Last reply
        0
        • A andro

          Thanks. I followed that precisely.

          I didn't post the errors yet as I get a different failure with each different combination of git branches. What do versions do you use for a clean build?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @andro I do not build QtCreator by myself as there is no need for me to do so.
          Any stable version should build as this is what QtCompany releases.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi @andro,

            There is a readme file in the source repo: https://code.qt.io/cgit/qt-creator/qt-creator.git/tree/README.md

            I compile Creator myself often on Ubuntu 18.04, as I'm submitting patches to Creator.

            I usually have a Qt version from the online installer (like 5.14.1) and just open qtcreator.pro in the installed Creator and then build. So far this runs very smoothly.

            I do, however exclude the QBS plugin and the Clang Code Model, as I don't have the corresponding development packages installed.

            Maybe you want to try a build without clang first?

            Regards

            Qt has to stay free or it will die.

            1 Reply Last reply
            2

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved