qt5 building fails (${MAKE} bigide ${BUILDOPTS} LCL_PLATFORM=qt5)
Original Reporter info from Mantis: paul.gevers
-
Reporter name: Paul Gevers
Original Reporter info from Mantis: paul.gevers
- Reporter name: Paul Gevers
Description:
With both the 2.0.0 RC3 and the final version of lazarus, the Debian build of Lazarus fails (2.0.0 RC2 build successfully). In Debian we build both a qt5 and gtk2 version of the IDE. The build fails with the message at the bottom (full buildlog attached). It seems to fail on procedures that are missing from qt5.pas but are available in qt56.pas. I don't know how to properly fix this issue.
(9022) Compiling resource ../units/x86_64-linux/qt5/lazarus.or
(9015) Linking ../lazarus
/usr/bin/ld.bfd: warning: ../link.res contains output sections; did you forget -T?
/usr/bin/ld.bfd: //<&LtPos;BUILDDIR>>/lazarus-2.0.0+dfsg/lcl/units/x86_64-linux/qt5/qtwidgets.o: in function SETTEXTHINT':<br/> /<&LtPos;BUILDDIR>>/lazarus-2.0.0+dfsg/lcl/interfaces/qt5//qtwidgets.pas:10151: undefined reference to
QTextEdit_setPlaceholderText'
/usr/bin/ld.bfd: //<&LtPos;BUILDDIR>>/lazarus-2.0.0+dfsg/components/printers/lib/x86_64-linux/qt5/osprinters.o: in function ENUMQPRINTERS':<br/> /<&LtPos;BUILDDIR>>/lazarus-2.0.0+dfsg/components/printers//qt/qtprinters.inc:65: undefined reference to
QPrinterInfo_availablePrinterNames'
/<&LtPos;BUILDDIR>>/lazarus-2.0.0+dfsg/ide/lazarus.pp(165,1) Error: (9013) Error while linking
/<&LtPos;BUILDDIR>>/lazarus-2.0.0+dfsg/ide/lazarus.pp(165,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Mantis conversion info:
- Mantis ID: 35058
- OS: Linux
- Platform: Debian
- Version: 2.0
- Monitored by: » paul.gevers (Paul Gevers)