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. Qt creator hangs when trying to open QtBase
Forum Updated to NodeBB v4.3 + New Features

Qt creator hangs when trying to open QtBase

Scheduled Pinned Locked Moved Solved Installation and Deployment
9 Posts 2 Posters 1.4k Views 1 Watching
  • 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.
  • T Offline
    T Offline
    tcee_14007
    wrote on last edited by
    #1

    Hi,
    I tried to set up the environment to modify qt source code as per the instructions provided on the website (here, I did not set up all the flags, but used the ones in the build from git page). However, Qt creator threw a LOT of errors when i used the kit based on qt which i just built manually.
    So I cleaned everything, and set it up again using another version of Qt. It still shows me a lot of errors (all are /home/tanmay/qt5/qtbase/configure.pri:115: error: Function 'prompt' is not implemented mainly on line val = $$lower($$prompt("Which edition of Qt do you want to use? ", false)) & val = $$lower($$prompt("Do you accept the terms of $$affix license? ", false))) , and the system still hangs.
    I had NOT added -confirm-license to the configure command.
    Please suggest any solutions.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #4

      5.15.0 ? You should rather go with the 5.15 branch if you are locked to 5.15.

      In any case, the qtbase module if pretty big, I would rather open the project matching the submodule you want to hack on.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #2

        Hi and welcome to devnet,

        Which version of Qt are you trying to hack on ?
        Did you already successfully build it ?
        Which version of Qt Creator are you using ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1
        • T Offline
          T Offline
          tcee_14007
          wrote on last edited by
          #3

          I'm using Qt 5.15.0.

          Yes, when I use the built Qt in my kit, it does launch a project.

          I'm using Qt Creator 4.14.0 (installed via the online installer)

          I somehow managed to remove the Qtbase project from the IDE, and all of the other projects work just fine.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #4

            5.15.0 ? You should rather go with the 5.15 branch if you are locked to 5.15.

            In any case, the qtbase module if pretty big, I would rather open the project matching the submodule you want to hack on.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1
            • T Offline
              T Offline
              tcee_14007
              wrote on last edited by
              #5

              Erm I chose the above version because I wanted a newer version without it colliding with my current 5.15.2. (Is it alright if I have two of the same?). And for src/gui/painting, I couldn't find a .pro file. How should I open it?

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #6

                You can have as many Qt variants you want, just store them properly in clearly named folders.

                It contains a .pri file. The submodule is gui.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                T 1 Reply Last reply
                1
                • SGaistS SGaist

                  You can have as many Qt variants you want, just store them properly in clearly named folders.

                  It contains a .pri file. The submodule is gui.

                  T Offline
                  T Offline
                  tcee_14007
                  wrote on last edited by
                  #7

                  Yeah, I was going to say that but there's this reputation limit.
                  Anyway, to see my changes, do I need to build the entire qt again using make (and mostly not,still ./configure too)?

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #8

                    The configure step is only mandatory before you build Qt the first time. Or in your case, qtbase. There's no need to build the whole of Qt if you hack only on qtbase.

                    Like any other project, the first build takes the longest. Unless you modify a core class, you will essentially rebuild only the module you touched.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    T 1 Reply Last reply
                    1
                    • SGaistS SGaist

                      The configure step is only mandatory before you build Qt the first time. Or in your case, qtbase. There's no need to build the whole of Qt if you hack only on qtbase.

                      Like any other project, the first build takes the longest. Unless you modify a core class, you will essentially rebuild only the module you touched.

                      T Offline
                      T Offline
                      tcee_14007
                      wrote on last edited by
                      #9

                      Thanks a lot!

                      1 Reply Last reply
                      0

                      • Login

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