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. Incompatible library version: QtBluetooth requires version 5.14.0 or later, but QtConcurrent provides version 5.9.0

Incompatible library version: QtBluetooth requires version 5.14.0 or later, but QtConcurrent provides version 5.9.0

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 343 Views 2 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.
  • N Offline
    N Offline
    Nathan.b
    wrote on last edited by Nathan.b
    #1

    I am new to Qt and encounter this problem of Incompatible versions.

    I am using macOS Catalina 10.15.7 with Qt 5.14.2.

    There are 2 similar problems:

    https://forum.qt.io/topic/94142/incompatible-library-version-qwt-requires-version-5-10-0-or-later

    https://forum.qt.io/topic/109860/incompatible-library-version-qwt-requires-version-5-13-0-or-later-but-qtprintsupport-provides-version-5-12-0

    but non of them helped me -

    I install Qt 5.14.2 and it did not solved my problem.

    In my app, I uses QtBluetooth and as far as I understood, QtConcurrent is a built in framework in Qt and QtBluetooth use's it by default behind the scenes.
    When I build the project and try to open my app, the app does not opened and I got this message:

    Dyld Error Message:
      Library not loaded: @rpath/QtConcurrent.framework/Versions/5/QtConcurrent
      Referenced from: /Users/USER/*/QtBluetooth.framework/Versions/5/QtBluetooth
      Reason: Incompatible library version: QtBluetooth requires version 5.14.0 or later, but QtConcurrent provides version 5.9.0
    

    I checked the versions of QtBluetooth and QtConcurrent :
    the QtBluetooth is 5.14.2:
    759e4189-26b6-4493-8777-9bac0bbb0b72-Screen Shot 2022-04-13 at 12.05.18.png image url)Screen Shot 2022-04-13 at 12.05.18

    and the QtConcurrent is also 5.14.2 (I checked it via o tool:
    609784c0-b8a1-4cb1-9110-04db30bdc677-Screen Shot 2022-04-13 at 14.45.32.png

    I was looking for a way to install it manually and modify the version to 5.14.2, something like that:

    QT += concurrent widgets
    CONFIG += cmdline
    
    SOURCES += main.cpp
    
    target.path = $$[QT_INSTALL_EXAMPLES]/qtconcurrent/runfunction
    INSTALLS += target
    

    taken from:(https://code.qt.io/cgit/qt/qtbase.git/tree/examples/qtconcurrent/runfunction/runfunction.pro?h=5.14

    but when I write it in my pro file:

    QT       += core concurrent widgets webenginewidgets gui xml network printsupport bluetooth serialport
    

    the build got failed with the message:
    (e3d78826-5ec3-40a1-8c7e-eba0eb71541d-Screen Shot 2022-04-13 at 12.24.16.png
    Screen Shot 2022-04-13 at 12.24.16

    I don't sure that it is the right way since I am not using QtConcurrent directly.
    I would appreciate any help!Screen Shot 2022-04-13 at 14.45.32

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

      Hi and welcome to devnet,

      Do you have another version of Qt installed on your system ?

      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
      • N Offline
        N Offline
        Nathan.b
        wrote on last edited by Nathan.b
        #3

        Hi and sorry for the late response (due to holidays)
        yes, I have 5.9.0 and 5.14.0 (For historical reasons: this is an old project and we do not want to delete the version of 5.9.0 so quickly unless that is the only way).
        I made double check that the current process is running on 5.14.0 but somehow my process actually get connected to QtConcurrent framwork of 5.9.0 version.

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

          Do you have any environment variable like DYLD_LIBRARY_PATH set ?

          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