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

macdeployqt -appstore-compliant should not deploy plugins with external non-Apple dependencies

    XMLWordPrintable

Details

    • macOS

    Description

      Suppose I have a simple app that depends on Qt Core and Qt SQL only, and suppose I don't use Mimer SQL. If I run macdeployqt with the -appstore-compliant option, the console shows this:

      WARNING: Plugin "libqsqlodbc.dylib" uses private API and is not Mac App store compliant.
      WARNING: Skip plugin "libqsqlodbc.dylib"
      WARNING: Plugin "libqsqlpsql.dylib" uses private API and is not Mac App store compliant.
      WARNING: Skip plugin "libqsqlpsql.dylib"
      ERROR: no file at "/usr/local/lib/libmimerapi.dylib"
      ERROR: no file at "/usr/local/lib/libmimerapi.dylib"
      

      ...and then, libqsqlmimer.dylib gets deployed into the app bundle anyway.

       

      Problem

      libqsqlmimer.dylib still depends on a library that's outside of the bundle (/usr/local/lib/libmimerapi.dylib). Thus, it is not App Store compliant so it should be skipped.

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            skoh-qt Sze Howe Koh
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes