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

Custom SQL driver plugin install step error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.9.1
    • Build System
    • None
    • macOS 10.12.5 and Windows 10

    Description

      When building a custom SQL driver plugin from within Qt's source directory at Src/qtbase/src/plugins/sqldrivers/, the following error occurs from qt_plugins.prf:

      /Users/user/Qt/5.9.1/clang_64/mkspecs/features/qt_plugin.prf:59: Cannot write file /mkspecs/modules-inst/qt_plugin_qspatialite.pri: Cannot create parent directory

      The plugin builds correctly then encounters this on the install step. I get the same error when trying to build the SQLite driver plugin from its .pro file.

      Update: I didn't notice this project error on pro file processing earlier:

      Cannot read /Users/user/Qt/5.9.1/Src/qtbase/src/plugins/sqldrivers/qtsqldrivers-config.pri: No such file or directory

      This issue may be due to an incorrect path for qtsqldrivers-config.pri.

      The include was added to the SQLite sqldriver plugin project between Qt 5.7 and Qt 5.8:

      include($$OUT_PWD/../qtsqldrivers-config.pri)

      Attachments

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              adolby Andrew Dolby
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes