Results 1 to 7 of 7

Thread: libQt5Core.so.5: version `Qt_5.12' not found error

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2019
    Posts
    4
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default libQt5Core.so.5: version `Qt_5.12' not found error

    Hi all,

    I installed Qt 5.12.1 on Ubuntu 18.04. I am getting the following error when i try to run or debug one of my projects. I am working on this project from more than 2-3 months and everything was working fine until a couple of hours ago. However, other projects are building and running fine with this same version Qt 5.12. The program exits with only this message displayed on the application output window.

    /path/to/Qt/project: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.12' not found (required by /path/to/Qt/project)

    I cannot figure out the problem since it was working fine until some time ago. Any help will be greatly appreciated.

    Thank you in advance.
    Last edited by anirudh_92; 19th June 2019 at 18:07.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: libQt5Core.so.5: version `Qt_5.12' not found error

    Quote Originally Posted by anirudh_92 View Post
    I installed Qt 5.12.1 on Ubuntu 18.04.
    Using the Qt installer?


    Quote Originally Posted by anirudh_92 View Post
    /path/to/Qt/project: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.12' not found (required by /path/to/Qt/project)
    This says that the program is trying to use the system Qt (installed from distribution packages).

    Quote Originally Posted by anirudh_92 View Post
    I cannot figure out the problem since it was working fine until some time ago.
    You might have always used the system Qt without realizing it and all was fine since it happened to be the same version.

    If Ubuntu has moved to a different version now then this suddenly stopped working.

    Make sure you are using the correct qmake to create the build files.
    You might also have to set the LD_LIBRARY_PATH variable to point to your Qt installation

    Cheers,
    _

Similar Threads

  1. version Qt_5 not defined in file libQt5Core.so.5 with link time reference
    By saurabh162 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 28th June 2018, 15:05
  2. Replies: 3
    Last Post: 19th November 2014, 20:44
  3. Replies: 4
    Last Post: 29th April 2014, 17:20
  4. : error: [\NokiaQtSDK\Symbian\SDK\epoc32\release\gcce\udeb\V ideo.exe] Error 1
    By ranjit.kadam in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 1st May 2011, 23:11
  5. Replies: 3
    Last Post: 23rd January 2011, 13:15

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.