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

Qt 5.1.0 Release SVG module won't build on Linux when using qt-zlib

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.2.0
    • 5.1.0
    • Build System, SVG Support
    • Ubuntu Linux 64-Bit on Intel Pentium 4 3.06GHz w/4GB RAM. gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)
    • imageformats/c82bd369121a89fa999f41362ec904f00461b997,svg/cfd6618b3b9526bc82410411249692a32f29ee88

    Description

      Was trying to build on Linux from the source tarball with the following command-line on 64-bit Ubuntu Linux from within the shadow-build folder:

      ../5.1.0-src/configure -platform linux-g++-64 -release -force-debug-info -opensource -no-javascript-jit -qt-zlib -qt-libpng -qt-libjpeg -qt-sql-sqlite -qt-xcb -qt-pcre -qt-xkbcommon -gui -widgets -fontconfig -no-dbus -nomake examples -nomake demos -nomake tests -prefix /usr/local/Trolltech/Qt-5.1.0-64-local -confirm-license

      The build halts with a link error missing the symbols from QtZlib.
      To Fix, Edit the file ./qtsvg/src/svg/svg.pro:

      Change Line 51 from:
      INCLUDEPATH += $$[QT_INSTALL_HEADERS/get]/QtZlib
      To:
      INCLUDEPATH += $$[QT_INSTALL_HEADERS]/QtZlib

      And then it builds correctly.

      Attachments

        For Gerrit Dashboard: QTBUG-32641
        # Subject Branch Project Status CR V

        Activity

          People

            buddenha Oswald Buddenhagen
            dewhisna Donna Whisnant
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes