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.
  • Christian EhrlicherC Offline
    Christian EhrlicherC Offline
    Christian Ehrlicher
    Lifetime Qt Champion
    wrote on last edited by
    #15

    What does ldd /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/Qt/lib/libQt6Core.so.6 say?

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

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

      that

      cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$ ldd /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/Qt/lib/libQt6Core.so.6
              linux-vdso.so.1 (0x00007fffd7a3c000)
              libicui18n.so.56 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib/Qt/lib/libicui18n.so.56 (0x00007f990d7a0000)
              libicuuc.so.56 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib/Qt/lib/libicuuc.so.56 (0x00007f990d3e0000)
              libicudata.so.56 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib/Qt/lib/libicudata.so.56 (0x00007f990b9f0000)
              libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f990b9e0000)
              libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f990b8b0000)
              libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f990b890000)
              libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f990b85d000)
              libgthread-2.0.so.0 => /lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007f990b850000)
              librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f990b840000)
              libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f990b650000)
              libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f990b501000)
              libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f990b4e0000)
              libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f990b2d0000)
              /lib64/ld-linux-x86-64.so.2 (0x00007f990e27e000)
              libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f990b250000)
      cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$
      
      
      1 Reply Last reply
      0
      • Christian EhrlicherC Offline
        Christian EhrlicherC Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #17

        Please make sure there is no invalid symlink named libQt6Core.so.6 somewhere in your LD_LIBRARY_PATH.

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

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

          in my case it's look like:

          cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$ ./qtcreator.sh
          
          print LD_LIBRARY_PATH inside qtcreator.sh
          
          /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib/qtcreator:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib/Qt/lib:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib/Qt/lib
          
          
          print env after export LD_LIBRARY_PATH
          
          LESSOPEN=| /usr/bin/lesspipe %s
          USER=cyniu
          SHLVL=1
          LD_LIBRARY_PATH=/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib/qtcreator:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib/Qt/lib:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib/Qt/lib
          HOME=/home/cyniu
          OLDPWD=/home/cyniu
          WSL_DISTRO_NAME=Ubuntu-20.04
          LOGNAME=cyniu
          NAME=cyniu-PC
          _=./qtcreator.sh
          TERM=xterm-256color
          PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Users/cyniu/DOCUME~1/MobaXterm/slash/bin:/mnt/c/WINDOWS/:/mnt/c/WINDOWS/system32/:/mnt/c/Program Files/AdoptOpenJDK/jdk-8.0.282.8-hotspot/bin:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/mnt/c/Program Files (x86)/VMware/VMware Player/bin/:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/Program Files/PuTTY/:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files (x86)/HP/Common/HPDestPlgIn/:/mnt/c/Users/cyniu/AppData/Local/Microsoft/WindowsApps:/mnt/c/Program Files (x86)/HP/Common/HPDestPlgIn/:/mnt/c/Users/cyniu/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/WINDOWS/sysnative/:/snap/bin
          DISPLAY=127.0.0.1:0.0
          LANG=C.UTF-8
          LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
          SHELL=/bin/bash
          LESSCLOSE=/usr/bin/lesspipe %s %s
          PWD=/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin
          XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop
          HOSTTYPE=x86_64
          WSLENV=
          ./qtcreator: error while loading shared libraries: libQt6Core.so.6: cannot open shared object file: No such file or directory
          cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$
          
          

          as you can see I just added some printouts inside the qtcreathor.sh script

          I think it looks good, right?

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

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

            libQt6Core.so.6

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

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

              @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 Christian EhrlicherC 2 Replies 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?

                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

                                          • Login

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