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

qt-x11 configure option -qtlibinfix causes libQtGui.so link error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 4.5.3
    • Build tools: qmake
    • None
    • qt-x11-4.5.x/ qt-x11-4.5.3

    Description

      Really a strange problem.
      When you specify -qtlibinfix, you get the following link error when it links libQtGui.so
      .obj/release-shared/qprintengine_pdf.o: In function `QPdfEnginePrivate::writeCompressed(char const*, int)':
      /depot/qt/qt-4.5/src/gui/painting/qprintengine_pdf.cpp:831: undefined reference to `compress'
      .obj/release-shared/qprintengine_pdf.o: In function `QPdfEnginePrivate::writeCompressed(QIODevice*)':
      /depot/qt/qt-4.5/src/gui/painting/qprintengine_pdf.cpp:761: undefined reference to `deflateInit_'
      /depot/qt/qt-4.5/src/gui/painting/qprintengine_pdf.cpp:781: undefined reference to `deflate'
      ...

      because it lacks -lz in the link command line.

      this problem doesn't happen without -qtlibinfix. and doesn't happen against 4.6.0

      Only test on linux. Cannot test on windows, since it fails before linking QtGui.

      Attachments

        Issue Links

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

          Activity

            People

              stormols Marius Storm-Olsen
              sanonymous Nokia Qt Support (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes