Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Cannot mix incompatible Qt library
Forum Updated to NodeBB v4.3 + New Features

Cannot mix incompatible Qt library

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 2 Posters 3.5k Views 1 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.
  • pramod jadhavP Offline
    pramod jadhavP Offline
    pramod jadhav
    wrote on last edited by
    #1

    Hi,
    I had compile a sqlcipher library & created a libqsqlcipher.so library file. When I use this file in my project it gives me following error
    Cannot mix incompatible Qt library (version 0x50201) with this library (version 0x50501).
    I am using QT5.5.1 on Ubuntu 14.04. My qmake version is
    $qmake version
    QMake version 3.0
    Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu

    How can i change the above link of Qt version 5.2.1 to 5.5.1

    Any help will be appreciated.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      The solution is to rebuild the SQLCipher plugin with Qt 5.5.1

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • pramod jadhavP Offline
        pramod jadhavP Offline
        pramod jadhav
        wrote on last edited by
        #3

        Hi,
        Thanks for your reply. I rebuild the library from cmd line & created the libqsqlcipher.so file. Link it my project but it gives the following error

        Cannot mix incompatible Qt library (version 0x50201) with this library (version 0x50501)

        pramodj@pramodj-msd:~$ qmake -version
        QMake version 3.0
        Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu

        How can i change the above Qt version from 5.2.1 to 5.5.1

        Thanks,
        Pramod Jadhav.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Use the complete path to your Qt 5.5.1 qmake

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • pramod jadhavP Offline
            pramod jadhavP Offline
            pramod jadhav
            wrote on last edited by
            #5

            Hi,
            Thanks for your reply. Finally the problem is solved.

            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