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

build error: unable to create a static build without TIFF

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.7.0
    • 4.3.2
    • Build tools: qmake
    • None
    • 802dc404d1af9a08fdc23ef32e2fbc77f138f70a

    Description

      configuring qt with "-static -no-libtiff" will still try to build the tiff plugin, leading to unresolved references later on (same for other image formats).

      trouble here is that configure has a CFG_TIFF and a CFG_LIBTIFF. CFG_TIFF is always set to "yes" in a static build, ignoring the -no-libtiff parameter. In my case, I want to disable TIFF altogether, and I don't see how (without hacking .qmake.cache manually).

      Note: To set CFG_TIFF to "no" if -no-libtiff is specified is wrong, since in a static build, libtiff can be linked later on (when linking the application).

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            fernenge Harald Fernengel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes