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 6.0 can't start
Forum Updated to NodeBB v4.3 + New Features

QTCreator 6.0 can't start

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
53 Posts 7 Posters 19.2k 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.
  • C Offline
    C Offline
    cyniu88
    wrote on last edited by cyniu88
    #44

    @JoeCFD said in QTCreator 6.0 can't start:

    Actually it is good enough for you to use 6.0 qt creator.

    maybe yes, unfortunately qtcreator 6.0 ....

    do you plan to install it at your PC and check if you have the same problem as me ?
    Are You working for Qt Group?

    1 Reply Last reply
    0
    • JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by JoeCFD
      #45

      Just installed the new ubuntu 22 and Qt 6.2.2 in a virtual machine for a spin. Qt Creator works fine. Since you like new stuff, move on to Qt6.2.2. I have no more interest in Qt6.2.1.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cyniu88
        wrote on last edited by
        #46

        yes on virtual machine it works fine, unfortunately on WSL Ubuntu it does not work

        1 Reply Last reply
        0
        • hskoglundH Online
          hskoglundH Online
          hskoglund
          wrote on last edited by
          #47

          Hi, only Qt6 has problems in WSL Ubuntu, you can use the online Maintenance Tool in WSL to remove Qt6.21 and Qt6.2.2 and instead install Qt 5.15.2 or 5.12.12, they both work fine in WSL Ubuntu.

          However since the latest release of Qt Creator (6.0.0) is based on Qt 6 it will not work on WSL Ubuntu. Instead you can you an older version of Qt Creator, for example 5.0.3:
          https://download.qt.io/official_releases/qtcreator/5.0/5.0.3/
          (almost at the end of the list)
          this one is based on Qt5 so it will work fine :-)

          1 Reply Last reply
          0
          • C Offline
            C Offline
            cyniu88
            wrote on last edited by
            #48

            Is there any plan to support QT 6 on WSL Ubuntu ?

            jsulmJ JoeCFDJ 2 Replies Last reply
            0
            • C cyniu88

              Is there any plan to support QT 6 on WSL Ubuntu ?

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

              @cyniu88 said in QTCreator 6.0 can't start:

              Is there any plan to support QT 6 on WSL Ubuntu ?

              This is something to ask on Qt developers mailing list

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

              1 Reply Last reply
              0
              • C cyniu88

                Is there any plan to support QT 6 on WSL Ubuntu ?

                JoeCFDJ Offline
                JoeCFDJ Offline
                JoeCFD
                wrote on last edited by JoeCFD
                #50

                @cyniu88 Qt Creator is a stand alone app. It may not matter much if you use Qt5 or Qt6. It is supposed to work for any C++ projects. Try it out to use Qt5 creator for Qt6.

                1 Reply Last reply
                0
                • hskoglundH Online
                  hskoglundH Online
                  hskoglund
                  wrote on last edited by
                  #51

                  Hi, note that no Qt6 program can run on WSL Ubuntu currently, for example if you build a vanilla widget Hello World app for Qt 6.2.2, it will not start on WSL Ubuntu, you have to build it using Qt 5.15.2 or Qt 5.12.12.
                  (I have the same problem on Windows 7, only Qt5-based programs will run.)

                  1 Reply Last reply
                  1
                  • JoeCFDJ Offline
                    JoeCFDJ Offline
                    JoeCFD
                    wrote on last edited by
                    #52

                    @hskoglund said in QTCreator 6.0 can't start:

                    WSL Ubuntu

                    is it gcc/g++ issue? What is gcc version on WSL Ubuntu? Qt 6 needs C++17.

                    hskoglundH 1 Reply Last reply
                    0
                    • JoeCFDJ JoeCFD

                      @hskoglund said in QTCreator 6.0 can't start:

                      WSL Ubuntu

                      is it gcc/g++ issue? What is gcc version on WSL Ubuntu? Qt 6 needs C++17.

                      hskoglundH Online
                      hskoglundH Online
                      hskoglund
                      wrote on last edited by
                      #53

                      @JoeCFD Found the solution by googling, this post contains an "atomic bomb", an ELF stripping/cleaning command:

                      strip --remove-section=.note.ABI-tag libQt6Core.so.6.2.2
                      

                      To get Qt Creator 6.0.0 to work on Ubuntu WSL, use this stripping command:

                      strip --remove-section=.note.ABI-tag ~/Qt/Tools/QtCreator/lib/Qt/lib/libQt6Core.so.6.2.1
                      

                      and then to be able to build and run a Qt6 program, apply the same patch on the core dll for Qt 6.2.2 itself:

                      strip --remove-section=.note.ABI-tag ~/Qt/6.2.2/gcc_64/lib/libQt6Core.so.6.2.2
                      
                      1 Reply Last reply
                      4

                      • Login

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