This error in not during cross-compilation. I am getting this error while running the program using cross-compiled Beaglebone black kit in Qt. I have used Linaro toolchain for cross-compilation and I have cross-compiled qt5-qtbase in first place.
On Sat, May 26, 2018 at 7:05 AM, Przemek Klosowski < [email protected]> wrote: > On Sat, May 19, 2018 at 2:56 AM, Gunjan Vora <[email protected]> wrote: > > I have done cross-compilation to run Qt programs in Beaglebone Black. I > am > > able to run widgets general programs but graphics related programs are > > getting errors as > > > > /mnt/bbb-rootfs/usr/local/bbb/include/QtGui/qcolor.h:290: error: > undefined > > reference to `QColor::setNamedColor(QLatin1String)' > > I think you're getting link-time errors during croscompilation---I > don't see any evidence that you were able to run anything. > Does this code compile in a native (non-cross) environment? > On my system qcolor.h seems to be provided by qt5-qtbase so you need > to have that in the cross-compilation environment. > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to a topic in the > Google Groups "BeagleBoard" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/beagleboard/P8WNGI-Jfhk/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/beagleboard/CAC%3D1GgFRZXZ3cy3nGf%3D6m%2Bzs5BcxCH78u3e%2Bz6Lcv- > MBDE9Z3g%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAAd%2B4iupmtSYMjuGOmgcG%3DmzJ1x%3DbbXGXqLp-SSWfckK1AiFUQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
