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 cyniu88

    @JoeCFD said in QTCreator 6.0 can't start:

    locate libQt6Core.so.6 to check if there are duplicate libQt6Core

    I don't understand,

    what am I supposed to do?

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

    @cyniu88 locate is a command.
    locate libQt6Core.so.6

    You may need to reinstall qt creator. Link with relative path is broken. If you reinstall it and it has the same problem, it might be a Qt build problem. I will try it out at home to see I have the same problem.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cyniu88
      wrote on last edited by
      #22
      locate libQt6Core.so.6
      

      return nothing

      I reinstalled QT many times, still the result is the same.
      I took another PC (Windows 10 WSL Ubuntu 20) but qtcreator does not start for the same reason :(

      on PC with DEBIAN qtcreatro 6.0 worsk well

      JoeCFDJ JonBJ 2 Replies Last reply
      0
      • C cyniu88
        locate libQt6Core.so.6
        

        return nothing

        I reinstalled QT many times, still the result is the same.
        I took another PC (Windows 10 WSL Ubuntu 20) but qtcreator does not start for the same reason :(

        on PC with DEBIAN qtcreatro 6.0 worsk well

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

        @cyniu88 Then try to use 6.0 one. Qt creator is stand alone. I will let you know if I have the same problem tomorrow.

        1 Reply Last reply
        0
        • C cyniu88

          @JoeCFD said in QTCreator 6.0 can't start:

          locate libQt6Core.so.6 to check if there are duplicate libQt6Core

          I don't understand,

          what am I supposed to do?

          Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #24

          @cyniu88 said in QTCreator 6.0 can't start:

          what am I supposed to do?

          find / -name libQt6Core.so.6

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          JonBJ 1 Reply Last reply
          0
          • Christian EhrlicherC Christian Ehrlicher

            @cyniu88 said in QTCreator 6.0 can't start:

            what am I supposed to do?

            find / -name libQt6Core.so.6

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by
            #25

            @Christian-Ehrlicher said in QTCreator 6.0 can't start:

            find / -name libQt6Core.so.6

            ...will be ghostly silent ;-) I think the OP should try

            find / -name libQt6Core.so.6 -ls     ## or `-print` instead of `-ls` in the unlikely case your Linux doesn't accept it
            
            1 Reply Last reply
            0
            • C Offline
              C Offline
              cyniu88
              wrote on last edited by
              #26

              comand "find" found only one place

              /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib/Qt/lib/libQt6Core.so.6
              
              
              1 Reply Last reply
              0
              • C cyniu88
                locate libQt6Core.so.6
                

                return nothing

                I reinstalled QT many times, still the result is the same.
                I took another PC (Windows 10 WSL Ubuntu 20) but qtcreator does not start for the same reason :(

                on PC with DEBIAN qtcreatro 6.0 worsk well

                JonBJ Offline
                JonBJ Offline
                JonB
                wrote on last edited by
                #27

                @cyniu88
                There has been an on-going topic, unresolved so far, at https://forum.qt.io/topic/132524/cannot-get-any-query-output-from-executable-opt-qt-6-2-2-gcc_64-bin-qmake. It is to do with Qt Creator reporting unable to find libQt6Core.so.6 under Qt6. I have a feeling that topic and this are somehow the same issue? Maybe @Christian-Ehrlicher has a view?

                I was confused there, and still am in this topic here, as to where exactly libQt6Core.so.6 => not found comes from. There are two possible ways get message

                "error while loading shared libraries: libQt6Core.so.6: cannot open shared object file: No such file or directory
                

                Either it actually cannot find a libQt6Core.so.6 file, or it can find the file but fails to load because of missing/incorrect dependencies. The error message then reports that case as "no such file" on the libQt6Core.so.6 it was trying to load.

                Use ldd on existing libQt6Core.so.6 file(s) to determine whether they are loadable. Bear that in mind if you think the file should not be reporting "not found".

                C 1 Reply Last reply
                0
                • JonBJ JonB

                  @cyniu88
                  There has been an on-going topic, unresolved so far, at https://forum.qt.io/topic/132524/cannot-get-any-query-output-from-executable-opt-qt-6-2-2-gcc_64-bin-qmake. It is to do with Qt Creator reporting unable to find libQt6Core.so.6 under Qt6. I have a feeling that topic and this are somehow the same issue? Maybe @Christian-Ehrlicher has a view?

                  I was confused there, and still am in this topic here, as to where exactly libQt6Core.so.6 => not found comes from. There are two possible ways get message

                  "error while loading shared libraries: libQt6Core.so.6: cannot open shared object file: No such file or directory
                  

                  Either it actually cannot find a libQt6Core.so.6 file, or it can find the file but fails to load because of missing/incorrect dependencies. The error message then reports that case as "no such file" on the libQt6Core.so.6 it was trying to load.

                  Use ldd on existing libQt6Core.so.6 file(s) to determine whether they are loadable. Bear that in mind if you think the file should not be reporting "not found".

                  C Offline
                  C Offline
                  cyniu88
                  wrote on last edited by
                  #28

                  @JonB said in QTCreator 6.0 can't start:

                  Use ldd on existing libQt6Core.so.6 file(s) to determine whether they are loadable. Bear that in mind if you think the file should not be reporting "not found".

                  I do this a few posts above

                  JonBJ 1 Reply Last reply
                  0
                  • C cyniu88

                    @JonB said in QTCreator 6.0 can't start:

                    Use ldd on existing libQt6Core.so.6 file(s) to determine whether they are loadable. Bear that in mind if you think the file should not be reporting "not found".

                    I do this a few posts above

                    JonBJ Offline
                    JonBJ Offline
                    JonB
                    wrote on last edited by
                    #29

                    @cyniu88
                    Yes, I see. I don't have access to Qt. If it's not huge output, can you post ls -l /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib/Qt/bin, which is where qtcreator is.

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

                      here is output

                      cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$ ls -l /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib/Qt/bin
                      total 84
                      -rwxrwxrwx 1 root root    77 Dec  1 17:52 qt.conf
                      -rwxrwxrwx 1 root root 83600 Dec  1 17:52 qtdiag
                      cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$
                      
                      

                      I am not sure what you mean, but qtcreator binary file is located in

                      Tools/QtCreator/bin
                      

                      not in

                      Tools/QtCreator/lib/Qt/bin
                      
                      JonBJ 1 Reply Last reply
                      0
                      • C cyniu88

                        here is output

                        cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$ ls -l /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib/Qt/bin
                        total 84
                        -rwxrwxrwx 1 root root    77 Dec  1 17:52 qt.conf
                        -rwxrwxrwx 1 root root 83600 Dec  1 17:52 qtdiag
                        cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$
                        
                        

                        I am not sure what you mean, but qtcreator binary file is located in

                        Tools/QtCreator/bin
                        

                        not in

                        Tools/QtCreator/lib/Qt/bin
                        
                        JonBJ Offline
                        JonBJ Offline
                        JonB
                        wrote on last edited by
                        #31

                        @cyniu88 said in QTCreator 6.0 can't start:

                        I am not sure what you mean, but qtcreator binary file is located in

                        So that's the directory I would like to see!

                        1 Reply Last reply
                        0
                        • C Offline
                          C Offline
                          cyniu88
                          wrote on last edited by
                          #32
                          cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$ ls -lah
                          total 1.4M
                          drwxrwxrwx 1 root root 4.0K Dec  8 19:21 .
                          drwxrwxrwx 1 root root 4.0K Dec  7 23:10 ..
                          -rwxrwxrwx 1 root root   66 Dec  8 18:07 find.txt
                          -rwxrwxrwx 1 root root 388K Dec  1 17:51 qbs
                          -rwxrwxrwx 1 root root  44K Dec  1 17:51 qbs-config
                          -rwxrwxrwx 1 root root  53K Dec  1 17:51 qbs-config-ui
                          -rwxrwxrwx 1 root root  52K Dec  1 17:51 qbs-create-project
                          -rwxrwxrwx 1 root root  60K Dec  1 17:51 qbs-setup-android
                          -rwxrwxrwx 1 root root 218K Dec  1 17:51 qbs-setup-qt
                          -rwxrwxrwx 1 root root 403K Dec  1 17:51 qbs-setup-toolchains
                          -rwxrwxrwx 1 root root   84 Dec  1 17:52 qt.conf
                          -rwxrwxrwx 1 root root 110K Dec  1 17:51 qtcreator
                          -rwxrwxrwx 1 root root 1.4K Dec  8 09:02 qtcreator.sh
                          cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$
                          
                          
                          JonBJ 3 Replies Last reply
                          0
                          • C cyniu88
                            cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$ ls -lah
                            total 1.4M
                            drwxrwxrwx 1 root root 4.0K Dec  8 19:21 .
                            drwxrwxrwx 1 root root 4.0K Dec  7 23:10 ..
                            -rwxrwxrwx 1 root root   66 Dec  8 18:07 find.txt
                            -rwxrwxrwx 1 root root 388K Dec  1 17:51 qbs
                            -rwxrwxrwx 1 root root  44K Dec  1 17:51 qbs-config
                            -rwxrwxrwx 1 root root  53K Dec  1 17:51 qbs-config-ui
                            -rwxrwxrwx 1 root root  52K Dec  1 17:51 qbs-create-project
                            -rwxrwxrwx 1 root root  60K Dec  1 17:51 qbs-setup-android
                            -rwxrwxrwx 1 root root 218K Dec  1 17:51 qbs-setup-qt
                            -rwxrwxrwx 1 root root 403K Dec  1 17:51 qbs-setup-toolchains
                            -rwxrwxrwx 1 root root   84 Dec  1 17:52 qt.conf
                            -rwxrwxrwx 1 root root 110K Dec  1 17:51 qtcreator
                            -rwxrwxrwx 1 root root 1.4K Dec  8 09:02 qtcreator.sh
                            cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$
                            
                            
                            JonBJ Offline
                            JonBJ Offline
                            JonB
                            wrote on last edited by
                            #33

                            @cyniu88
                            Yeah, clearly nothing interesting there then :) Hang on, cat needs feeding....

                            1 Reply Last reply
                            0
                            • C cyniu88
                              cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$ ls -lah
                              total 1.4M
                              drwxrwxrwx 1 root root 4.0K Dec  8 19:21 .
                              drwxrwxrwx 1 root root 4.0K Dec  7 23:10 ..
                              -rwxrwxrwx 1 root root   66 Dec  8 18:07 find.txt
                              -rwxrwxrwx 1 root root 388K Dec  1 17:51 qbs
                              -rwxrwxrwx 1 root root  44K Dec  1 17:51 qbs-config
                              -rwxrwxrwx 1 root root  53K Dec  1 17:51 qbs-config-ui
                              -rwxrwxrwx 1 root root  52K Dec  1 17:51 qbs-create-project
                              -rwxrwxrwx 1 root root  60K Dec  1 17:51 qbs-setup-android
                              -rwxrwxrwx 1 root root 218K Dec  1 17:51 qbs-setup-qt
                              -rwxrwxrwx 1 root root 403K Dec  1 17:51 qbs-setup-toolchains
                              -rwxrwxrwx 1 root root   84 Dec  1 17:52 qt.conf
                              -rwxrwxrwx 1 root root 110K Dec  1 17:51 qtcreator
                              -rwxrwxrwx 1 root root 1.4K Dec  8 09:02 qtcreator.sh
                              cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$
                              
                              
                              JonBJ Offline
                              JonBJ Offline
                              JonB
                              wrote on last edited by JonB
                              #34

                              @cyniu88
                              If this were my problem, which it is not, and I wanted to investigate....

                              Like you, I believe you have shown an acceptable libQt6Core.so.6 does exist in the same location as other libraries it reports as finding successfully. Please triple-check this assumption on your system.

                              I am guessing the libQt6Core.so.6 => not found line actually means "cannot be loaded successfully", which I believe is what can be reported.

                              So, I would run ldd on all those other dependencies of qtcreator. Like, is it possible that ldd libQt6Gui.so.6 would reveal a different dependent version of another library required by libQt6Core.so.6? I don't know whether ldd qtcreator's output would tell you that in one go. (Maybe https://sourceforge.net/projects/recursive-ldd/ is useful here?) Test it for a couple of select ones if it's a lot of work, or get creative piping all the output through sort -u or similar :)

                              Also, do have a look at that https://forum.qt.io/topic/132524/cannot-get-any-query-output-from-executable-opt-qt-6-2-2-gcc_64-bin-qmake I referred you too. Aren't you two the same problem?

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

                                qt creator uses relative path to link all qt libs which come with it. It is possible that there is a bug in the build script of qt creator. LD_LIBRARY_PATH is not used. Therefore, it can not start.

                                1 Reply Last reply
                                0
                                • C cyniu88
                                  cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$ ls -lah
                                  total 1.4M
                                  drwxrwxrwx 1 root root 4.0K Dec  8 19:21 .
                                  drwxrwxrwx 1 root root 4.0K Dec  7 23:10 ..
                                  -rwxrwxrwx 1 root root   66 Dec  8 18:07 find.txt
                                  -rwxrwxrwx 1 root root 388K Dec  1 17:51 qbs
                                  -rwxrwxrwx 1 root root  44K Dec  1 17:51 qbs-config
                                  -rwxrwxrwx 1 root root  53K Dec  1 17:51 qbs-config-ui
                                  -rwxrwxrwx 1 root root  52K Dec  1 17:51 qbs-create-project
                                  -rwxrwxrwx 1 root root  60K Dec  1 17:51 qbs-setup-android
                                  -rwxrwxrwx 1 root root 218K Dec  1 17:51 qbs-setup-qt
                                  -rwxrwxrwx 1 root root 403K Dec  1 17:51 qbs-setup-toolchains
                                  -rwxrwxrwx 1 root root   84 Dec  1 17:52 qt.conf
                                  -rwxrwxrwx 1 root root 110K Dec  1 17:51 qtcreator
                                  -rwxrwxrwx 1 root root 1.4K Dec  8 09:02 qtcreator.sh
                                  cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$
                                  
                                  
                                  JonBJ Offline
                                  JonBJ Offline
                                  JonB
                                  wrote on last edited by
                                  #36

                                  @cyniu88 I happily hand you over to @JoeCFD :)

                                  JoeCFDJ 1 Reply Last reply
                                  0
                                  • JonBJ JonB

                                    @cyniu88 I happily hand you over to @JoeCFD :)

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

                                    @JonB I have to confirm this when I get home. If it is true, we can file a bug report to Qt.

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

                                      ok this sounds good, but I don't understand why the problem occurs on WSL on two separate computers, on the third computer with Debian as OS everything works fine? Are the engineers working on QT saving money on testing ? ;)

                                      JoeCFDJ 1 Reply Last reply
                                      0
                                      • C cyniu88

                                        ok this sounds good, but I don't understand why the problem occurs on WSL on two separate computers, on the third computer with Debian as OS everything works fine? Are the engineers working on QT saving money on testing ? ;)

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

                                        @cyniu88 it is software engineering and bugs do exist. Do not complain too much and you may not pay anything to Qt.

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

                                          Yeah, I know these things. I'm just a little disappointed in what happened.

                                          JoeCFDJ 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