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

Static-plugin support fails with Qt Assistant

    XMLWordPrintable

Details

    Description

      The first failure is non-fatal: qmake is run on assistant.pro, and the test if the qjpeg plugin exists fails as the plugin hasn't been built yet. This leaves the build of Assistant without JPEG support.

      The second bug is fatal: if a binary installation (shared, and including qjpeg4.lib/qjpeg4.dll) is reconfigured as static, and if the static plugins are built before qmake processes assistant.pro, then qmake will try to link against qjpeg4.lib instead of the static plugin qjpeg.lib, and assistant.exe will not link due to unresolved external symbols.

      The workaround is to remove all shared plugins before building a static build of Qt Assistant, or even better to install the Qt source package into a separate directory.

      Attachments

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

        Activity

          People

            stormols Marius Storm-Olsen
            vhilshei Volker Hilsheimer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes