Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator problems after update on RHEL8
Forum Updated to NodeBB v4.3 + New Features

QtCreator problems after update on RHEL8

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
18 Posts 6 Posters 2.9k Views 4 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.
  • M Offline
    M Offline
    mchinand
    wrote on last edited by mchinand
    #2

    @Merlino said in QtCreator problems after update on RHEL8:

    /home/teseo/Qt/5.12.8/gcc_64/bin

    Do you have this directory in your path? When you installed Qt via yum, did it install it into a standard system location? Check your PATH environment variable and remove the above directory from it.

    Also, check the location of the QtCreator executable that you are running by typing the following in a terminal:
    which qtcreator

    Actually, I see you are starting qtcreator in the current directory ('./qtcreator') what directory is that?

    M 1 Reply Last reply
    0
    • M mchinand

      @Merlino said in QtCreator problems after update on RHEL8:

      /home/teseo/Qt/5.12.8/gcc_64/bin

      Do you have this directory in your path? When you installed Qt via yum, did it install it into a standard system location? Check your PATH environment variable and remove the above directory from it.

      Also, check the location of the QtCreator executable that you are running by typing the following in a terminal:
      which qtcreator

      Actually, I see you are starting qtcreator in the current directory ('./qtcreator') what directory is that?

      M Offline
      M Offline
      Merlino
      wrote on last edited by Merlino
      #3

      @mchinand

      Thank you for you answer :)
      Unfortunately the directory /home/teseo/Qt/5.12.8/gcc_64/bin isn't in the PATH variable.

      The command which qtcreator return

      [teseo@localhost ~]$ which qtcreator
      /usr/bin/which: no qtcreator in ...
      

      The Qt installation is in the standard folder /home/teseo/Qt/

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mchinand
        wrote on last edited by
        #4

        In your first post, you appear to be logged in as root, do you get the same errors when you are a non-privileged user?

        M 1 Reply Last reply
        0
        • M mchinand

          In your first post, you appear to be logged in as root, do you get the same errors when you are a non-privileged user?

          M Offline
          M Offline
          Merlino
          wrote on last edited by Merlino
          #5

          @mchinand yes, I tried with both users but it didn't work

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

            Hi,

            Since it's written that qmake failed to run, what happens if you run it manually ?

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

            M 1 Reply Last reply
            0
            • SGaistS SGaist

              Hi,

              Since it's written that qmake failed to run, what happens if you run it manually ?

              M Offline
              M Offline
              Merlino
              wrote on last edited by
              #7

              @SGaist it runs normally, whitout errors

              M 1 Reply Last reply
              0
              • M Merlino

                @SGaist it runs normally, whitout errors

                M Offline
                M Offline
                Merlino
                wrote on last edited by Merlino
                #8

                The weird thing is that the same problems appears on a clean RHEL8/Qt installation. I suppose that some os upgrade create a conflict with some QtCreator dependency, but I don't know how to find it.

                This is what I see after QtCreator start on my just installed VM:

                qt.png

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mchinand
                  wrote on last edited by
                  #9

                  Can you click on either of the Kits and see why it's showing a warning for both of them (as indicated by the yellow ⚠ symbol in front of them).

                  M 1 Reply Last reply
                  0
                  • M mchinand

                    Can you click on either of the Kits and see why it's showing a warning for both of them (as indicated by the yellow ⚠ symbol in front of them).

                    M Offline
                    M Offline
                    Merlino
                    wrote on last edited by
                    #10

                    Schermata del 2022-05-30 14-41-07.png Schermata del 2022-05-30 14-32-31.png

                    M 1 Reply Last reply
                    0
                    • M Merlino

                      Schermata del 2022-05-30 14-41-07.png Schermata del 2022-05-30 14-32-31.png

                      M Offline
                      M Offline
                      Merlino
                      wrote on last edited by
                      #11

                      Schermata del 2022-05-30 14-54-00.png

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        mchinand
                        wrote on last edited by
                        #12

                        Can you also show the Qt Versions and Compiler tabs? Although, it looks like you have a compiler installed (gcc), but it would be good to know what QtCreator is finding. Did you install Qt in addition to QtCreator?

                        M 1 Reply Last reply
                        0
                        • M mchinand

                          Can you also show the Qt Versions and Compiler tabs? Although, it looks like you have a compiler installed (gcc), but it would be good to know what QtCreator is finding. Did you install Qt in addition to QtCreator?

                          M Offline
                          M Offline
                          Merlino
                          wrote on last edited by
                          #13

                          @mchinand thank you for your answer. Qt Creator has some problems to find compilers or debuggers, the tabs in QtCreator are empty. I have try several Qt versions: 5.12, 5.15 and 6.2, but nothing changed. Two day ago I have opened a bug report on this issue https://bugreports.qt.io/browse/QTCREATORBUG-27605

                          1 Reply Last reply
                          0
                          • Z Offline
                            Z Offline
                            zeethree50
                            wrote on last edited by
                            #14

                            @mchinand @SGaist
                            I'd really like for this to be addressed, or some guidance!!

                            I am going to elaborate on this issue because it is happening to me.

                            In Redhat 8.5, if I do not yum update, install RHEL development tools, RHEL Extra packages, install gnuradio-devel, download QT creator, install 5.12.2, select GCC for Desktop or w/e and and install. It will install and works FLAWLESSLY.

                            Now, if you decide to yum update, there is some big mini major update that upgrades kernels and other stuff that makes it act like a mini 8.6 even tho u are 8.5.

                            When that happens, my QT creator that was once working, now is very slow, and opens up with a PLUGIN problem, I stopped after to see if it worked but I think it might.

                            Currently, I do not bother to yum update on a fresh install, and I can get my program up and running pretty quickly

                            For fun, I tried to figure it out on RHEL 8.6 straight from the ISO, since it keeps wanting me to UPDATE.
                            The issue now, if anyone has read the updates on 8.6, they changed all kind of stuff. I know how to do things, but I am no expert so I won't explain the updates.

                            I just know QT will install fine, but takes FOREVER to load. Then you run into all kinds of issues, like PLUGIN problems with CLANG, and if u go into OPTIONS it's a black window, and it's just ALL KINDS OF WONKY!!!!!!!

                            * Tue May 17 2022 Thomas Zimmermann <thomas.zimmermann@voestalpine.com> - 4.12.4-9
                            
                            • Rebuild for llvm/clang 13 (RHEL 8.6)

                            Here is a COMMENT from a guy who made some build, I think in an attempt to RESOLVE this issue.
                            https://koji.fedoraproject.org/koji/buildinfo?buildID=1967746

                            Here is the link. The RPM installs EASY. The only issue is once I am about to create a project, I still can't find a kit. I have no idea where to find qmake. I have never been in this situation and I know it's only been a few hours. I'm not saying I've looked hard enough, but as of now, I'm just kind of lost.

                            At this point, I'm still good on 8.5 with NO YUM update. That solution WILL WORK!!!!!
                            In Redhat 8.6, unless you are some kind of WIZARD GOD MASTER THINKER, it is NOT EASY!!!!

                            SOMEONE HELP!!
                            I don't need it, but I just want it to work!!!!

                            F 1 Reply Last reply
                            1
                            • Z zeethree50

                              @mchinand @SGaist
                              I'd really like for this to be addressed, or some guidance!!

                              I am going to elaborate on this issue because it is happening to me.

                              In Redhat 8.5, if I do not yum update, install RHEL development tools, RHEL Extra packages, install gnuradio-devel, download QT creator, install 5.12.2, select GCC for Desktop or w/e and and install. It will install and works FLAWLESSLY.

                              Now, if you decide to yum update, there is some big mini major update that upgrades kernels and other stuff that makes it act like a mini 8.6 even tho u are 8.5.

                              When that happens, my QT creator that was once working, now is very slow, and opens up with a PLUGIN problem, I stopped after to see if it worked but I think it might.

                              Currently, I do not bother to yum update on a fresh install, and I can get my program up and running pretty quickly

                              For fun, I tried to figure it out on RHEL 8.6 straight from the ISO, since it keeps wanting me to UPDATE.
                              The issue now, if anyone has read the updates on 8.6, they changed all kind of stuff. I know how to do things, but I am no expert so I won't explain the updates.

                              I just know QT will install fine, but takes FOREVER to load. Then you run into all kinds of issues, like PLUGIN problems with CLANG, and if u go into OPTIONS it's a black window, and it's just ALL KINDS OF WONKY!!!!!!!

                              * Tue May 17 2022 Thomas Zimmermann <thomas.zimmermann@voestalpine.com> - 4.12.4-9
                              
                              • Rebuild for llvm/clang 13 (RHEL 8.6)

                              Here is a COMMENT from a guy who made some build, I think in an attempt to RESOLVE this issue.
                              https://koji.fedoraproject.org/koji/buildinfo?buildID=1967746

                              Here is the link. The RPM installs EASY. The only issue is once I am about to create a project, I still can't find a kit. I have no idea where to find qmake. I have never been in this situation and I know it's only been a few hours. I'm not saying I've looked hard enough, but as of now, I'm just kind of lost.

                              At this point, I'm still good on 8.5 with NO YUM update. That solution WILL WORK!!!!!
                              In Redhat 8.6, unless you are some kind of WIZARD GOD MASTER THINKER, it is NOT EASY!!!!

                              SOMEONE HELP!!
                              I don't need it, but I just want it to work!!!!

                              F Offline
                              F Offline
                              flashmozzg
                              wrote on last edited by
                              #15

                              @zeethree50 I had the same issue. My Rockly Linux 8.5. updated it's kernel to 8.6 (4.18.0-372.9.1) and Qt Creator became really slow, spamming clangbackend could not be started (timeout after 10000ms), failed to determine git version and other errors/warnings that indicate that most stuff failed after timeout (like complaining about old cmake without fileApi even though it ships with 3.21). I've restarted with the previous kernel and everything works as before.

                              I don't have other Qt 6 applications to test but it might be some Qt 6 bug/perf issue on a newer kernel (or perhaps it's the bug in the kernel itself, either way Qt needs to handle it).

                              1 Reply Last reply
                              0
                              • JKSHJ Offline
                                JKSHJ Offline
                                JKSH
                                Moderators
                                wrote on last edited by
                                #16

                                @Merlino @zeethree50 @flashmozzg Does this version behave better? https://download.qt.io/snapshots/qtcreator_qt5/7.0/7.0.2/173/

                                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                                M 1 Reply Last reply
                                0
                                • JKSHJ JKSH

                                  @Merlino @zeethree50 @flashmozzg Does this version behave better? https://download.qt.io/snapshots/qtcreator_qt5/7.0/7.0.2/173/

                                  M Offline
                                  M Offline
                                  Merlino
                                  wrote on last edited by
                                  #17

                                  @JKSH I have tried with https://download.qt.io/snapshots/qtcreator_qt5/7.0/7.0.3/202/ because your link is no longer available, unfortunately it didn't work for me.

                                  JKSHJ 1 Reply Last reply
                                  0
                                  • M Merlino

                                    @JKSH I have tried with https://download.qt.io/snapshots/qtcreator_qt5/7.0/7.0.3/202/ because your link is no longer available, unfortunately it didn't work for me.

                                    JKSHJ Offline
                                    JKSHJ Offline
                                    JKSH
                                    Moderators
                                    wrote on last edited by
                                    #18

                                    @Merlino said in QtCreator problems after update on RHEL8:

                                    @JKSH I have tried with https://download.qt.io/snapshots/qtcreator_qt5/7.0/7.0.3/202/ because your link is no longer available, unfortunately it didn't work for me.

                                    That's a shame. Thank you for testing.

                                    In your bug report, Christian Maurer mentioned that switching back to kernel-core-4.18.0-348.23.1.el8_5.x86_64 worked for him.

                                    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                                    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