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

QTCreator 6.0 can't start

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
53 Posts 7 Posters 22.9k 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
    #9

    @J-Hilk said in QTCreator 6.0 can't start:

    getconf LONG_BIT

    cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$ getconf LONG_BIT
    64

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

      I took another computer (Windows 10) and installed ubuntu WSL but qtcreator does not start for the same reason :(

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

        show ldd /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/qtcreator
        on my machine qt creator uses relative path to find qt libs which come with it.

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cyniu88
          wrote on last edited by
          #12
          cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$ ldd qtcreator
                  linux-vdso.so.1 (0x00007ffffe6d2000)
                  libExtensionSystem.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/qtcreator/libExtensionSystem.so.6 (0x00007f787feb0000)
                  libUtils.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/qtcreator/libUtils.so.6 (0x00007f787fb10000)
                  libAggregation.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/qtcreator/libAggregation.so.6 (0x00007f787fb00000)
                  libQt6Concurrent.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/Qt/lib/libQt6Concurrent.so.6 (0x00007f787faf0000)
                  libQt6Core5Compat.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/Qt/lib/libQt6Core5Compat.so.6 (0x00007f787fa90000)
                  libQt6Widgets.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/Qt/lib/libQt6Widgets.so.6 (0x00007f787f370000)
                  libQt6Gui.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/Qt/lib/libQt6Gui.so.6 (0x00007f787ea30000)
                  libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f787e9f0000)
                  libOpenGL.so.0 => /lib/x86_64-linux-gnu/libOpenGL.so.0 (0x00007f787e9c0000)
                  libQt6Network.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/Qt/lib/libQt6Network.so.6 (0x00007f787e820000)
                  libQt6Core.so.6 => not found
                  libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f787e620000)
                  libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f787e4d1000)
                  libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f787e4b0000)
                  libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f787e48d000)
                  libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f787e290000)
                  libQt6Test.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/qtcreator/../Qt/lib/libQt6Test.so.6 (0x00007f787e230000)
                  libQt6Core.so.6 => not found
                  libQt6Qml.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/qtcreator/../Qt/lib/libQt6Qml.so.6 (0x00007f787dcf0000)
                  libQt6Xml.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/qtcreator/../Qt/lib/libQt6Xml.so.6 (0x00007f787dcc0000)
                  libQt6Core.so.6 => not found
                  libQt6Core.so.6 => not found
                  libQt6Core.so.6 => not found
                  libicui18n.so.56 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/Qt/lib/libicui18n.so.56 (0x00007f787d810000)
                  libicuuc.so.56 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/Qt/lib/libicuuc.so.56 (0x00007f787d450000)
                  libicudata.so.56 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/Qt/lib/libicudata.so.56 (0x00007f787ba60000)
                  libQt6Core.so.6 => not found
                  libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f787ba40000)
                  libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007f787b9b0000)
                  libQt6Core.so.6 => not found
                  libxkbcommon.so.0 => not found
                  libEGL.so.1 => not found
                  libfontconfig.so.1 => /lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f787b950000)
                  libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f787b810000)
                  libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f787b6e0000)
                  libQt6DBus.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/Qt/lib/libQt6DBus.so.6 (0x00007f787b610000)
                  libxkbcommon.so.0 => not found
                  libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f787b5f0000)
                  libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f787b520000)
                  libgthread-2.0.so.0 => /lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007f787b510000)
                  libQt6Core.so.6 => not found
                  libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f787b450000)
                  libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f787b400000)
                  /lib64/ld-linux-x86-64.so.2 (0x00007f787ff18000)
                  libQt6Core.so.6 => not found
                  libQt6Core.so.6 => not found
                  libQt6Core.so.6 => not found
                  libQt6Core.so.6 => not found
                  libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f787b3c0000)
                  libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f787b3a0000)
                  libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f787b370000)
                  libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f787b2f0000)
                  libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f787b290000)
                  libQt6Core.so.6 => not found
                  libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f787b240000)
                  libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f787b160000)
                  libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f787b120000)
                  libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f787b110000)
                  libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f787b100000)
                  libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f787b0e0000)
                  libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f787b0d0000)
                  libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f787b020000)
                  libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f787b010000)
                  libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f787aff0000)
                  libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f787afd0000)
                  librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f787afb0000)
                  liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f787af80000)
                  liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f787af50000)
                  libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f787ae30000)
                  libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f787ae00000)
          cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$
          
          1 Reply Last reply
          0
          • JoeCFDJ Offline
            JoeCFDJ Offline
            JoeCFD
            wrote on last edited by JoeCFD
            #13

            True. All qt libs are linked properly, but libQt6Core.so.6. I will take a look at it later.
            ls -al /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib/Qt/lib
            to check if the libs are soft-linked properly.

            libEGL.so.1 is not there as well.
            https://forums.opensuse.org/showthread.php/518010-how-can-I-install-usr-lib64-libEGL-so

            libxkbcommon.so.0 is missing as well.

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

              @JoeCFD said in QTCreator 6.0 can't start:

              ls -al /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib/Qt/lib

              cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$  ls -al /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib/Qt/lib
              total 97080
              drwxrwxrwx 1 root root     4096 Dec  7 23:11 .
              drwxrwxrwx 1 root root     4096 Dec  7 23:10 ..
              lrwxrwxrwx 1 root root       25 Dec  7 23:11 libQt6Concurrent.so.6 -> libQt6Concurrent.so.6.2.1
              -rwxrwxrwx 1 root root    23184 Dec  1 17:51 libQt6Concurrent.so.6.2.1
              lrwxrwxrwx 1 root root       19 Dec  7 23:11 libQt6Core.so.6 -> libQt6Core.so.6.2.1
              -rwxrwxrwx 1 root root  6461104 Dec  1 17:51 libQt6Core.so.6.2.1
              lrwxrwxrwx 1 root root       26 Dec  7 23:11 libQt6Core5Compat.so.6 -> libQt6Core5Compat.so.6.2.1
              -rwxrwxrwx 1 root root   384896 Dec  1 17:51 libQt6Core5Compat.so.6.2.1
              lrwxrwxrwx 1 root root       19 Dec  7 23:11 libQt6DBus.so.6 -> libQt6DBus.so.6.2.1
              -rwxrwxrwx 1 root root   810792 Dec  1 17:51 libQt6DBus.so.6.2.1
              lrwxrwxrwx 1 root root       23 Dec  7 23:11 libQt6Designer.so.6 -> libQt6Designer.so.6.2.1
              -rwxrwxrwx 1 root root  5634136 Dec  1 17:51 libQt6Designer.so.6.2.1
              lrwxrwxrwx 1 root root       33 Dec  7 23:11 libQt6DesignerComponents.so.6 -> libQt6DesignerComponents.so.6.2.1
              -rwxrwxrwx 1 root root  3388944 Dec  1 17:51 libQt6DesignerComponents.so.6.2.1
              lrwxrwxrwx 1 root root       37 Dec  7 23:11 libQt6EglFSDeviceIntegration.so.6 -> libQt6EglFSDeviceIntegration.so.6.2.1
              -rwxrwxrwx 1 root root   319832 Dec  1 17:51 libQt6EglFSDeviceIntegration.so.6.2.1
              lrwxrwxrwx 1 root root       30 Dec  7 23:11 libQt6EglFsKmsSupport.so.6 -> libQt6EglFsKmsSupport.so.6.2.1
              -rwxrwxrwx 1 root root   205968 Dec  1 17:51 libQt6EglFsKmsSupport.so.6.2.1
              lrwxrwxrwx 1 root root       18 Dec  7 23:11 libQt6Gui.so.6 -> libQt6Gui.so.6.2.1
              -rwxrwxrwx 1 root root  9592448 Dec  1 17:51 libQt6Gui.so.6.2.1
              lrwxrwxrwx 1 root root       19 Dec  7 23:11 libQt6Help.so.6 -> libQt6Help.so.6.2.1
              -rwxrwxrwx 1 root root   604312 Dec  1 17:51 libQt6Help.so.6.2.1
              lrwxrwxrwx 1 root root       28 Dec  7 23:11 libQt6LabsAnimation.so.6 -> libQt6LabsAnimation.so.6.2.1
              -rwxrwxrwx 1 root root    53216 Dec  1 17:51 libQt6LabsAnimation.so.6.2.1
              lrwxrwxrwx 1 root root       34 Dec  7 23:11 libQt6LabsFolderListModel.so.6 -> libQt6LabsFolderListModel.so.6.2.1
              -rwxrwxrwx 1 root root   103880 Dec  1 17:51 libQt6LabsFolderListModel.so.6.2.1
              lrwxrwxrwx 1 root root       28 Dec  7 23:11 libQt6LabsQmlModels.so.6 -> libQt6LabsQmlModels.so.6.2.1
              -rwxrwxrwx 1 root root   202784 Dec  1 17:51 libQt6LabsQmlModels.so.6.2.1
              lrwxrwxrwx 1 root root       27 Dec  7 23:11 libQt6LabsSettings.so.6 -> libQt6LabsSettings.so.6.2.1
              -rwxrwxrwx 1 root root    49024 Dec  1 17:51 libQt6LabsSettings.so.6.2.1
              lrwxrwxrwx 1 root root       30 Dec  7 23:11 libQt6LabsSharedImage.so.6 -> libQt6LabsSharedImage.so.6.2.1
              -rwxrwxrwx 1 root root    48960 Dec  1 17:51 libQt6LabsSharedImage.so.6.2.1
              lrwxrwxrwx 1 root root       32 Dec  7 23:11 libQt6LabsWavefrontMesh.so.6 -> libQt6LabsWavefrontMesh.so.6.2.1
              -rwxrwxrwx 1 root root    52928 Dec  1 17:51 libQt6LabsWavefrontMesh.so.6.2.1
              lrwxrwxrwx 1 root root       22 Dec  7 23:11 libQt6Network.so.6 -> libQt6Network.so.6.2.1
              -rwxrwxrwx 1 root root  1686664 Dec  1 17:51 libQt6Network.so.6.2.1
              lrwxrwxrwx 1 root root       21 Dec  7 23:11 libQt6OpenGL.so.6 -> libQt6OpenGL.so.6.2.1
              -rwxrwxrwx 1 root root   654536 Dec  1 17:51 libQt6OpenGL.so.6.2.1
              lrwxrwxrwx 1 root root       28 Dec  7 23:11 libQt6OpenGLWidgets.so.6 -> libQt6OpenGLWidgets.so.6.2.1
              -rwxrwxrwx 1 root root    48368 Dec  1 17:51 libQt6OpenGLWidgets.so.6.2.1
              lrwxrwxrwx 1 root root       26 Dec  7 23:11 libQt6Positioning.so.6 -> libQt6Positioning.so.6.2.1
              -rwxrwxrwx 1 root root   615264 Dec  1 17:51 libQt6Positioning.so.6.2.1
              lrwxrwxrwx 1 root root       31 Dec  7 23:11 libQt6PositioningQuick.so.6 -> libQt6PositioningQuick.so.6.2.1
              -rwxrwxrwx 1 root root   261344 Dec  1 17:51 libQt6PositioningQuick.so.6.2.1
              lrwxrwxrwx 1 root root       27 Dec  7 23:11 libQt6PrintSupport.so.6 -> libQt6PrintSupport.so.6.2.1
              -rwxrwxrwx 1 root root   478896 Dec  1 17:51 libQt6PrintSupport.so.6.2.1
              lrwxrwxrwx 1 root root       18 Dec  7 23:11 libQt6Qml.so.6 -> libQt6Qml.so.6.2.1
              -rwxrwxrwx 1 root root  5379048 Dec  1 17:51 libQt6Qml.so.6.2.1
              lrwxrwxrwx 1 root root       22 Dec  7 23:11 libQt6QmlCore.so.6 -> libQt6QmlCore.so.6.2.1
              -rwxrwxrwx 1 root root    57368 Dec  1 17:51 libQt6QmlCore.so.6.2.1
              lrwxrwxrwx 1 root root       30 Dec  7 23:11 libQt6QmlLocalStorage.so.6 -> libQt6QmlLocalStorage.so.6.2.1
              -rwxrwxrwx 1 root root    57056 Dec  1 17:51 libQt6QmlLocalStorage.so.6.2.1
              lrwxrwxrwx 1 root root       24 Dec  7 23:11 libQt6QmlModels.so.6 -> libQt6QmlModels.so.6.2.1
              -rwxrwxrwx 1 root root   720376 Dec  1 17:51 libQt6QmlModels.so.6.2.1
              lrwxrwxrwx 1 root root       30 Dec  7 23:11 libQt6QmlWorkerScript.so.6 -> libQt6QmlWorkerScript.so.6.2.1
              -rwxrwxrwx 1 root root    74752 Dec  1 17:51 libQt6QmlWorkerScript.so.6.2.1
              lrwxrwxrwx 1 root root       30 Dec  7 23:11 libQt6QmlXmlListModel.so.6 -> libQt6QmlXmlListModel.so.6.2.1
              -rwxrwxrwx 1 root root   124640 Dec  1 17:51 libQt6QmlXmlListModel.so.6.2.1
              lrwxrwxrwx 1 root root       20 Dec  7 23:11 libQt6Quick.so.6 -> libQt6Quick.so.6.2.1
              -rwxrwxrwx 1 root root  6470808 Dec  1 17:51 libQt6Quick.so.6.2.1
              lrwxrwxrwx 1 root root       22 Dec  7 23:11 libQt6Quick3D.so.6 -> libQt6Quick3D.so.6.2.1
              -rwxrwxrwx 1 root root  1083448 Dec  1 17:51 libQt6Quick3D.so.6.2.1
              lrwxrwxrwx 1 root root       33 Dec  7 23:11 libQt6Quick3DAssetImport.so.6 -> libQt6Quick3DAssetImport.so.6.2.1
              -rwxrwxrwx 1 root root   208224 Dec  1 17:51 libQt6Quick3DAssetImport.so.6.2.1
              lrwxrwxrwx 1 root root       32 Dec  7 23:11 libQt6Quick3DAssetUtils.so.6 -> libQt6Quick3DAssetUtils.so.6.2.1
              -rwxrwxrwx 1 root root   158400 Dec  1 17:51 libQt6Quick3DAssetUtils.so.6.2.1
              lrwxrwxrwx 1 root root       29 Dec  7 23:11 libQt6Quick3DEffects.so.6 -> libQt6Quick3DEffects.so.6.2.1
              -rwxrwxrwx 1 root root   249696 Dec  1 17:51 libQt6Quick3DEffects.so.6.2.1
              lrwxrwxrwx 1 root root       29 Dec  7 23:11 libQt6Quick3DHelpers.so.6 -> libQt6Quick3DHelpers.so.6.2.1
              -rwxrwxrwx 1 root root   140800 Dec  1 17:51 libQt6Quick3DHelpers.so.6.2.1
              lrwxrwxrwx 1 root root       30 Dec  7 23:11 libQt6Quick3DIblBaker.so.6 -> libQt6Quick3DIblBaker.so.6.2.1
              -rwxrwxrwx 1 root root    68712 Dec  1 17:51 libQt6Quick3DIblBaker.so.6.2.1
              lrwxrwxrwx 1 root root       31 Dec  7 23:11 libQt6Quick3DParticles.so.6 -> libQt6Quick3DParticles.so.6.2.1
              -rwxrwxrwx 1 root root   481600 Dec  1 17:51 libQt6Quick3DParticles.so.6.2.1
              lrwxrwxrwx 1 root root       35 Dec  7 23:11 libQt6Quick3DRuntimeRender.so.6 -> libQt6Quick3DRuntimeRender.so.6.2.1
              -rwxrwxrwx 1 root root  1426128 Dec  1 17:51 libQt6Quick3DRuntimeRender.so.6.2.1
              lrwxrwxrwx 1 root root       27 Dec  7 23:11 libQt6Quick3DUtils.so.6 -> libQt6Quick3DUtils.so.6.2.1
              -rwxrwxrwx 1 root root   105344 Dec  1 17:51 libQt6Quick3DUtils.so.6.2.1
              lrwxrwxrwx 1 root root       29 Dec  7 23:11 libQt6QuickControls2.so.6 -> libQt6QuickControls2.so.6.2.1
              -rwxrwxrwx 1 root root    64960 Dec  1 17:51 libQt6QuickControls2.so.6.2.1
              lrwxrwxrwx 1 root root       33 Dec  7 23:11 libQt6QuickControls2Impl.so.6 -> libQt6QuickControls2Impl.so.6.2.1
              -rwxrwxrwx 1 root root   265888 Dec  1 17:51 libQt6QuickControls2Impl.so.6.2.1
              lrwxrwxrwx 1 root root       28 Dec  7 23:11 libQt6QuickDialogs2.so.6 -> libQt6QuickDialogs2.so.6.2.1
              -rwxrwxrwx 1 root root   138432 Dec  1 17:51 libQt6QuickDialogs2.so.6.2.1
              lrwxrwxrwx 1 root root       37 Dec  7 23:11 libQt6QuickDialogs2QuickImpl.so.6 -> libQt6QuickDialogs2QuickImpl.so.6.2.1
              -rwxrwxrwx 1 root root   655720 Dec  1 17:51 libQt6QuickDialogs2QuickImpl.so.6.2.1
              lrwxrwxrwx 1 root root       33 Dec  7 23:11 libQt6QuickDialogs2Utils.so.6 -> libQt6QuickDialogs2Utils.so.6.2.1
              -rwxrwxrwx 1 root root    40000 Dec  1 17:51 libQt6QuickDialogs2Utils.so.6.2.1
              lrwxrwxrwx 1 root root       27 Dec  7 23:11 libQt6QuickLayouts.so.6 -> libQt6QuickLayouts.so.6.2.1
              -rwxrwxrwx 1 root root   208256 Dec  1 17:51 libQt6QuickLayouts.so.6.2.1
              lrwxrwxrwx 1 root root       29 Dec  7 23:11 libQt6QuickParticles.so.6 -> libQt6QuickParticles.so.6.2.1
              -rwxrwxrwx 1 root root   685568 Dec  1 17:51 libQt6QuickParticles.so.6.2.1
              lrwxrwxrwx 1 root root       26 Dec  7 23:11 libQt6QuickShapes.so.6 -> libQt6QuickShapes.so.6.2.1
              -rwxrwxrwx 1 root root   238656 Dec  1 17:51 libQt6QuickShapes.so.6.2.1
              lrwxrwxrwx 1 root root       30 Dec  7 23:11 libQt6QuickTemplates2.so.6 -> libQt6QuickTemplates2.so.6.2.1
              -rwxrwxrwx 1 root root  2256352 Dec  1 17:51 libQt6QuickTemplates2.so.6.2.1
              lrwxrwxrwx 1 root root       24 Dec  7 23:11 libQt6QuickTest.so.6 -> libQt6QuickTest.so.6.2.1
              -rwxrwxrwx 1 root root   308984 Dec  1 17:51 libQt6QuickTest.so.6.2.1
              lrwxrwxrwx 1 root root       28 Dec  7 23:11 libQt6QuickTimeline.so.6 -> libQt6QuickTimeline.so.6.2.1
              -rwxrwxrwx 1 root root   117600 Dec  1 17:51 libQt6QuickTimeline.so.6.2.1
              lrwxrwxrwx 1 root root       27 Dec  7 23:11 libQt6QuickWidgets.so.6 -> libQt6QuickWidgets.so.6.2.1
              -rwxrwxrwx 1 root root   120640 Dec  1 17:51 libQt6QuickWidgets.so.6.2.1
              lrwxrwxrwx 1 root root       25 Dec  7 23:11 libQt6SerialPort.so.6 -> libQt6SerialPort.so.6.2.1
              -rwxrwxrwx 1 root root   119320 Dec  1 17:51 libQt6SerialPort.so.6.2.1
              lrwxrwxrwx 1 root root       26 Dec  7 23:11 libQt6ShaderTools.so.6 -> libQt6ShaderTools.so.6.2.1
              -rwxrwxrwx 1 root root  4264608 Dec  1 17:51 libQt6ShaderTools.so.6.2.1
              lrwxrwxrwx 1 root root       18 Dec  7 23:11 libQt6Sql.so.6 -> libQt6Sql.so.6.2.1
              -rwxrwxrwx 1 root root   312208 Dec  1 17:51 libQt6Sql.so.6.2.1
              lrwxrwxrwx 1 root root       18 Dec  7 23:11 libQt6Svg.so.6 -> libQt6Svg.so.6.2.1
              -rwxrwxrwx 1 root root   375448 Dec  1 17:51 libQt6Svg.so.6.2.1
              lrwxrwxrwx 1 root root       25 Dec  7 23:11 libQt6SvgWidgets.so.6 -> libQt6SvgWidgets.so.6.2.1
              -rwxrwxrwx 1 root root    52600 Dec  1 17:51 libQt6SvgWidgets.so.6.2.1
              lrwxrwxrwx 1 root root       19 Dec  7 23:11 libQt6Test.so.6 -> libQt6Test.so.6.2.1
              -rwxrwxrwx 1 root root   350048 Dec  1 17:51 libQt6Test.so.6.2.1
              lrwxrwxrwx 1 root root       22 Dec  7 23:11 libQt6UiTools.so.6 -> libQt6UiTools.so.6.2.1
              -rwxrwxrwx 1 root root   601944 Dec  1 17:51 libQt6UiTools.so.6.2.1
              lrwxrwxrwx 1 root root       22 Dec  7 23:11 libQt6Widgets.so.6 -> libQt6Widgets.so.6.2.1
              -rwxrwxrwx 1 root root  7366056 Dec  1 17:51 libQt6Widgets.so.6.2.1
              lrwxrwxrwx 1 root root       21 Dec  7 23:11 libQt6XcbQpa.so.6 -> libQt6XcbQpa.so.6.2.1
              -rwxrwxrwx 1 root root   679992 Dec  1 17:51 libQt6XcbQpa.so.6.2.1
              lrwxrwxrwx 1 root root       18 Dec  7 23:11 libQt6Xml.so.6 -> libQt6Xml.so.6.2.1
              -rwxrwxrwx 1 root root   154736 Dec  1 17:51 libQt6Xml.so.6.2.1
              lrwxrwxrwx 1 root root       18 Dec  7 23:11 libicudata.so.56 -> libicudata.so.56.1
              -rwxrwxrwx 1 root root 25048256 Dec  1 17:51 libicudata.so.56.1
              lrwxrwxrwx 1 root root       18 Dec  7 23:11 libicui18n.so.56 -> libicui18n.so.56.1
              -rwxrwxrwx 1 root root  3368288 Dec  1 17:51 libicui18n.so.56.1
              lrwxrwxrwx 1 root root       16 Dec  7 23:11 libicuio.so.56 -> libicuio.so.56.1
              -rwxrwxrwx 1 root root    71032 Dec  1 17:51 libicuio.so.56.1
              lrwxrwxrwx 1 root root       16 Dec  7 23:11 libicule.so.56 -> libicule.so.56.1
              -rwxrwxrwx 1 root root   437936 Dec  1 17:51 libicule.so.56.1
              lrwxrwxrwx 1 root root       16 Dec  7 23:11 libiculx.so.56 -> libiculx.so.56.1
              -rwxrwxrwx 1 root root    66336 Dec  1 17:51 libiculx.so.56.1
              lrwxrwxrwx 1 root root       18 Dec  7 23:11 libicutest.so.56 -> libicutest.so.56.1
              -rwxrwxrwx 1 root root   106840 Dec  1 17:51 libicutest.so.56.1
              lrwxrwxrwx 1 root root       16 Dec  7 23:11 libicutu.so.56 -> libicutu.so.56.1
              -rwxrwxrwx 1 root root   254048 Dec  1 17:51 libicutu.so.56.1
              lrwxrwxrwx 1 root root       16 Dec  7 23:11 libicuuc.so.56 -> libicuuc.so.56.1
              -rwxrwxrwx 1 root root  2069136 Dec  1 17:51 libicuuc.so.56.1
              cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$
              

              i ran the commands

              sudo apt-get install libegl-dev
              
              sudo apt-get install libxkbcommon0
              

              and it currently looks like this

              cyniu@cyniu-PC:/mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin$ ldd qtcreator
                      linux-vdso.so.1 (0x00007ffff1a68000)
                      libExtensionSystem.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/qtcreator/libExtensionSystem.so.6 (0x00007fee84080000)
                      libUtils.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/qtcreator/libUtils.so.6 (0x00007fee83ce0000)
                      libAggregation.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/qtcreator/libAggregation.so.6 (0x00007fee83cd0000)
                      libQt6Concurrent.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/Qt/lib/libQt6Concurrent.so.6 (0x00007fee83cc0000)
                      libQt6Core5Compat.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/Qt/lib/libQt6Core5Compat.so.6 (0x00007fee83c60000)
                      libQt6Widgets.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/Qt/lib/libQt6Widgets.so.6 (0x00007fee83540000)
                      libQt6Gui.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/Qt/lib/libQt6Gui.so.6 (0x00007fee82c00000)
                      libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007fee82bc0000)
                      libOpenGL.so.0 => /lib/x86_64-linux-gnu/libOpenGL.so.0 (0x00007fee82b90000)
                      libQt6Network.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/Qt/lib/libQt6Network.so.6 (0x00007fee829f0000)
                      libQt6Core.so.6 => not found
                      libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fee827f0000)
                      libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fee826a1000)
                      libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fee82680000)
                      libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fee8265d000)
                      libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fee82460000)
                      libQt6Test.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/qtcreator/../Qt/lib/libQt6Test.so.6 (0x00007fee82400000)
                      libQt6Core.so.6 => not found
                      libQt6Qml.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/qtcreator/../Qt/lib/libQt6Qml.so.6 (0x00007fee81ec0000)
                      libQt6Xml.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/bin/./../lib/qtcreator/../Qt/lib/libQt6Xml.so.6 (0x00007fee81e90000)
                      libQt6Core.so.6 => not found
                      libQt6Core.so.6 => not found
                      libQt6Core.so.6 => not found
                      libicui18n.so.56 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib/Qt/lib/libicui18n.so.56 (0x00007fee819e0000)
                      libicuuc.so.56 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib/Qt/lib/libicuuc.so.56 (0x00007fee81620000)
                      libicudata.so.56 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib/Qt/lib/libicudata.so.56 (0x00007fee7fc30000)
                      libQt6Core.so.6 => not found
                      libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fee7fc10000)
                      libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007fee7fb80000)
                      libQt6Core.so.6 => not found
                      libxkbcommon.so.0 => /lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007fee7fb30000)
                      libEGL.so.1 => /lib/x86_64-linux-gnu/libEGL.so.1 (0x00007fee7fb10000)
                      libfontconfig.so.1 => /lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007fee7fab0000)
                      libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007fee7f970000)
                      libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007fee7f840000)
                      libQt6DBus.so.6 => /mnt/f/LINUX-UBUNTU/QT/Tools/QtCreator/lib/Qt/lib/libQt6DBus.so.6 (0x00007fee7f770000)
                      libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fee7f750000)
                      libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fee7f690000)
                      libgthread-2.0.so.0 => /lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007fee7f670000)
                      libQt6Core.so.6 => not found
                      libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007fee7f5b0000)
                      libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007fee7f560000)
                      /lib64/ld-linux-x86-64.so.2 (0x00007fee840e2000)
                      libQt6Core.so.6 => not found
                      libQt6Core.so.6 => not found
                      libQt6Core.so.6 => not found
                      libQt6Core.so.6 => not found
                      libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fee7f520000)
                      libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fee7f510000)
                      libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fee7f4d0000)
                      libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fee7f450000)
                      libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007fee7f3f0000)
                      libQt6Core.so.6 => not found
                      libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007fee7f3b0000)
                      libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007fee7f2c0000)
                      libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007fee7f280000)
                      libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007fee7f270000)
                      libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007fee7f260000)
                      libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007fee7f250000)
                      libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fee7f240000)
                      libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007fee7f180000)
                      libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007fee7f170000)
                      libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fee7f150000)
                      libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fee7f130000)
                      librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fee7f120000)
                      liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fee7f0e0000)
                      liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007fee7f0b0000)
                      libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007fee7ef90000)
                      libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007fee7ef60000)
              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
                #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

                                          • Login

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