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

Importing static plugin to dynamic application does not work with QTPLUGIN

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 4.8.0
    • Build tools: qmake
    • None

    Description

      Build for example sql plugin static. Try to add the static plugin as build-in to dynamic application using QTPLUGIN += qsqlite. Link does not happen statically, you must replace QTPLUGIN with LIBS.

      Quote from qmake Variable Reference -documentation:
      QTPLUGIN
      This variable contains a list of names of static plugins that are to be compiled with an application so that they are available as built-in resources.

      Fix either documentation or QTPLUGIN option.

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes