Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. "Debug error: Cannot mix incompatible Qt library with this library version"
Forum Updated to NodeBB v4.3 + New Features

"Debug error: Cannot mix incompatible Qt library with this library version"

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 3.0k 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.
  • J Offline
    J Offline
    JoeH179
    wrote on last edited by JoeH179
    #1

    I'm trying to build my QT application on another computer, I've installed QT to the same directory path, and my code now builds in VS2010, but I get a runtime error upon starting the program.

    "Debug Error!

    Program: C:\Qt\qt5.5.0\5.5\msvc2013\bin\QT5Cored.dll
    Module: 5.5.1
    File: kernel\qobject.cpp
    Line: 198

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

    (Press Retry to debug the application)"

    http://i.imgur.com/T7JybU6.png

    Can anyone help me decipher this and work out what it means? It sounds like I've got the wrong version of QT installed or something, But I'm confident it was 5.5 in both cases.

    Edit: It appears to occur when opening a QSQL database, which is something to look at.

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

      Hi, it seems you have Qt 5.5.0 installed on one computer and Qt 5.5.1 on the other, that's why you get a runtime error. Easiest might be to upgrade the one with 5.5.0 to 5.5.1...

      1 Reply Last reply
      0
      • J Offline
        J Offline
        JoeH179
        wrote on last edited by JoeH179
        #3

        Okay, that makes sense. I think I need to remake the database libraries then.

        There's no /src folder like I'm used to with 5.5.0, did I pick the wrong option on install? Maybe it's something I downloaded separately last time! Googling

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

          Hi and welcome to devnet,

          You can get the sources through the installer, it's an option there.

          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

          • Login

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