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

when macdeployqt 's hardened-runtime option is set, QPSQL plugin cannot be loaded

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.0
    • None
    • XCODE 11.5
    • macOS

    Description

      when hardened-runtime is not set :

      DB Drivers: ("QSQLITE", "QODBC", "QODBC3", "QPSQL", "QPSQL7")
      db open: true

       

      when it is set : 

      DB Drivers: ("QSQLITE", "QODBC", "QODBC3", "QPSQL", "QPSQL7")
      QSqlDatabase: QPSQL driver not loaded
      QSqlDatabase: available drivers: QSQLITE QODBC QODBC3 QPSQL QPSQL7
      db open: false

       

      Since hardened-runtime is mandatory to have a valid notarized app, it looks that it is not possible to have a qt app with PSQL (libqsqlpsql.dylib) crossing the OS X gatekeeper.

       

      is this something particular in the QT plugins loading process which breaks apple policy under hardened runtime?

      Olivier

       

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            olivier_parniere Olivier PARNIERE
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes