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
[email protected]

Reply via email to