Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.1.0
-
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.