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. macdeployqt warning and errors on BigSur (11.5.2) with sql module (Qt 5.15.2)
Forum Updated to NodeBB v4.3 + New Features

macdeployqt warning and errors on BigSur (11.5.2) with sql module (Qt 5.15.2)

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 407 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.
  • mbruelM Offline
    mbruelM Offline
    mbruel
    wrote on last edited by mbruel
    #1

    Hi,
    I'm building my app ClemRemote without any issue on BigSur v11.5.2 with Qt 5.15.2.
    When I pack it in a dmg, I'm getting warnings and errors. Is it normal?

    ~/github/ClementineRemote/build-ClementineRemote-Desktop_Qt_5_15_2_clang_64bit-Release$ /Users/mb/Qt//5.15.2/clang_64/bin/macdeployqt ClemRemote.app -dmg -qmldir=../src/
    File exists, skip copy: "ClemRemote.app/Contents/PlugIns/quick/libqtquickcontrols2fusionstyleplugin.dylib"
    File exists, skip copy: "ClemRemote.app/Contents/PlugIns/quick/libqtquickcontrols2imaginestyleplugin.dylib"
    File exists, skip copy: "ClemRemote.app/Contents/PlugIns/quick/libqtquickcontrols2materialstyleplugin.dylib"
    File exists, skip copy: "ClemRemote.app/Contents/PlugIns/quick/libqtquickcontrols2universalstyleplugin.dylib"
    WARNING: Plugin "libqsqlodbc.dylib" uses private API and is not Mac App store compliant.
    WARNING: Plugin "libqsqlpsql.dylib" uses private API and is not Mac App store compliant.
    ERROR: no file at "/usr/local/opt/libiodbc/lib/libiodbc.2.dylib"
    ERROR: no file at "/Applications/Postgres.app/Contents/Versions/9.6/lib/libpq.5.dylib"
    

    what is libqsqlodbc.dylib?
    I guess libpq.5.dylib is for Postgres which is not needed.

    I'm only using sqlite and it seems to work for both iOS version and macOS one.
    How come it finds the library? (especially for iOS cause I installed it for macOS using brew)

    Is there a way to limit the SQL module to a specific database?
    Cheers :)

    PS: I forgot to say that even with those errors the dmg is created and it seems to work, even the functionalities using sqlite

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

      Hi,

      AFAIK, sqlite is built in so no external libraries needed for the module.

      AFAIK there's not yet a way to use a sub selection of SQL drivers you would need to remove them by hand before generating the dmg.

      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
      • mbruelM Offline
        mbruelM Offline
        mbruel
        wrote on last edited by
        #3

        ok then I guess I should just ignore it.
        I don't remember having this issue with Catalina. (I've no knowledge of macos, just using a VM to build and publish)

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

          Frameworks are changing between macOS releases so you may have found something new.

          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