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

Importing static plugin to dynamic application does not work with QTPLUGIN

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes