Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. libQt5Core.so.5: version `Qt_5' not found
Forum Updated to NodeBB v4.3 + New Features

libQt5Core.so.5: version `Qt_5' not found

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
7 Posts 4 Posters 31.9k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lvitya
    wrote on last edited by
    #1

    Hi, all!

    My colleague compiled an application. It works on his PC with Linux.
    When I'm trying to run the same executable on my Ubuntu, it throws me errors:

    ./application: /usr/lib/x86_64-linux-gnu/libQt5Network.so.5: version `Qt_5' not found (required by ./application)
    ./application: /usr/lib/x86_64-linux-gnu/libQt5Multimedia.so.5: version `Qt_5' not found (required by ./application)
    ./application: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: version `Qt_5' not found (required by ./application)
    ./application: /usr/lib/x86_64-linux-gnu/libQt5SerialPort.so.5: version `Qt_5' not found (required by ./application)
    ./application: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5: version `Qt_5' not found (required by ./application)
    ./application: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.7' not found (required by ./application)
    ./application: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5' not found (required by ./application)
    

    However, all mentioned libraries are in the required folder. For example

    vitya@dev-machine:~/$ ls -la /usr/lib/x86_64-linux-gnu/libQt5C*
    lrwxrwxrwx 1 root root      19 вер 19 18:37 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 -> libQt5Core.so.5.5.1
    lrwxrwxrwx 1 root root      19 вер 19 18:37 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5 -> libQt5Core.so.5.5.1
    -rw-r--r-- 1 root root 5052920 вер 19 18:38 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1
    

    How can I run an app?

    1 Reply Last reply
    0
    • hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote on last edited by
      #2

      Hi, you have Qt 5.5.1 installed in your Ubuntu but your colleague built his application using Qt 5.6 or later, so the needed .dlls/.so files for his Qt app are missing :-( Perhaps your colleague can give them to you...

      1 Reply Last reply
      2
      • L Offline
        L Offline
        lvitya
        wrote on last edited by
        #3

        Hi, @hskoglund!
        How did you understand from the output that my colleague has Qt 5.6 or later?

        M 1 Reply Last reply
        0
        • L lvitya

          Hi, @hskoglund!
          How did you understand from the output that my colleague has Qt 5.6 or later?

          M Offline
          M Offline
          mostefa
          wrote on last edited by mostefa
          #4

          @lvitya said in libQt5Core.so.5: version `Qt_5' not found:

          Hi, @hskoglund!
          How did you understand from the output that my colleague has Qt 5.6 or later?

          ./application: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.7' not found (required by ./application)

          The error on your first post tell :
          version `Qt_5.7' not found

          1 Reply Last reply
          1
          • L Offline
            L Offline
            lvitya
            wrote on last edited by
            #5

            @mostefa However lines for other libraries don't say anything about "Qt_5.7" version. And @hskoglund was telling about Qt 5.6.

            kshegunovK 1 Reply Last reply
            0
            • L lvitya

              @mostefa However lines for other libraries don't say anything about "Qt_5.7" version. And @hskoglund was telling about Qt 5.6.

              kshegunovK Offline
              kshegunovK Offline
              kshegunov
              Moderators
              wrote on last edited by
              #6

              @lvitya said in libQt5Core.so.5: version `Qt_5' not found:

              However lines for other libraries don't say anything about "Qt_5.7" version.

              This is of no consequence as everything depends on QtCore anyway.

              And @hskoglund was telling about Qt 5.6.

              Because you'd have the same problem if the application was built against Qt 5.6.
              You either need to upgrade your Qt to version 5.7 or your colleague has to build and link the application against Qt 5.5.

              Read and abide by the Qt Code of Conduct

              1 Reply Last reply
              0
              • L Offline
                L Offline
                lvitya
                wrote on last edited by
                #7

                @kshegunov

                This is of no consequence as everything depends on QtCore anyway.

                Nice point, didn't guess about it.

                You either need to upgrade your Qt to version 5.7 or your colleague has to build and link the application against Qt 5.5.

                I have only Qt Creator. Probably colleague has to build and link statically.

                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