* [ptxdist] Qt4 fails to build with GCC9 on host
@ 2019-08-09 12:19 Koch, Alexander
0 siblings, 0 replies; only message in thread
From: Koch, Alexander @ 2019-08-09 12:19 UTC (permalink / raw)
To: ptxdist
Hi,
I just hat to a very strange problem building qt4 4.8.7 for ARMv7 using
OSELAS-2018.12.0 as target compiler and gcc-9.1.0 x64 as host compiler
and thought I'd share the knowledge.
The 'compile' step of qt4 yields all kinds of strange errors, most
noticeably these:
platform-pv3/build-target/qt-everywhere-opensource-src-4.8.7/src/gui/dialogs/qpagesetupdialog_unix.cpp:276:12:
error: 'class Ui::QPageSetupWidget' has no member named 'topMargin'
widget.topMargin->setSuffix(suffix);
^~~~~~~~~
platform-pv3/build-target/qt-everywhere-opensource-src-4.8.7/src/gui/dialogs/qpagesetupdialog_unix.cpp:277:12:
error: 'class Ui::QPageSetupWidget' has no member named 'bottomMargin'
widget.bottomMargin->setSuffix(suffix);
^~~~~~~~~~~~
platform-pv3/build-target/qt-everywhere-opensource-src-4.8.7/src/gui/dialogs/qpagesetupdialog_unix.cpp:278:12:
error: 'class Ui::QPageSetupWidget' has no member named 'leftMargin'
widget.leftMargin->setSuffix(suffix);
^~~~~~~~~~
(...)
Although I didn't have any hint pointing at the host compiler I tried
using gcc-8 there and guess what, that solved the issue.
So if you're on Arch (like me) and start facing these errors try
installing 'gcc8' from [community] and set that as
HOST_CC/HOST_CXX/HOST_CPP.
Best regards,
Alex
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-09 12:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-09 12:19 [ptxdist] Qt4 fails to build with GCC9 on host Koch, Alexander
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox