Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-139317

macdeployqt does not work because it forces user to deploy database libs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2: Important P2: Important
    • None
    • 6.8.4, 6.9.1
    • None
    • macOS

      Steps to reproduce:
      1. Create a Qt Quick application from Qt Creator template
      2. Build
      3. Run macdeployqt on the app bundle

      Outcome:

      ERROR: no file at "/usr/local/opt/libiodbc/lib/libiodbc.2.dylib"
      ERROR: no file at "/Applications/Postgres.app/Contents/Versions/14/lib/libpq.5.dylib"
      ERROR: no file at "/usr/local/lib/libmimerapi.dylib" 
      

      It is a default Qt Quick app so database is certainly not used or depended on. But I am still forced to deploy their libs. And deployment fails because I don't have them.

      A log with "verbose=3" is uploaded too.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtbuildsystem Qt Build System Team
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes