[oe] [meta-qt5][PATCH 1/2] qtdeclarative: fix compilation of examples/qquickviewcomparison

Denys Dmytriyenko denis at denix.org
Sat Apr 30 00:21:38 UTC 2016


On Tue, Apr 26, 2016 at 08:07:58PM +0200, Martin Jansa wrote:
> On Tue, Apr 26, 2016 at 09:38:42AM -0700, Khem Raj wrote:
> > 
> > > On Apr 26, 2016, at 8:30 AM, Denys Dmytriyenko <denis at denix.org> wrote:
> > > 
> > > On Tue, Apr 26, 2016 at 08:37:19AM +0200, Martin Jansa wrote:
> > >> The strange part is that examples built fine here with current master
> > >> (5.5.99/5.6-beta)
> > >> without your patches.
> > > 
> > > That is strange. Can it be toolchain-related? I'm using Linaro gcc-5.3, but I
> > > would expect OE-built gcc-5.3 to be as strict and fail similarly on those
> > > undeclared or incomplete classes…
> > 
> > can both of you paste the <gcc> -E -dM output of this file in question ?
> > 
> > 
> 
> i586-oe-linux-g++  -m32 -march=i586 --sysroot=/OE/build/oe-core/tmp-glibc/sysroots/qemux86 -c -pipe -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtdeclarative/5.5.99+5.6.0-rc+gitAUTOINC+0fab5761d5-r0=/usr/src/debug/qtdeclarative/5.5.99+5.6.0-rc+gitAUTOINC+0fab5761d5-r0 -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/sysroots/x86_64-linux= -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/sysroots/qemux86=  -fvisibility-inlines-hidden -O2 -std=gnu++0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_QML_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtdeclarative/5.5.99+5.6.0-rc+gitAUTOINC+0fab5761d5-r0/git/examples/quick/quickwidgets/qquickviewcomparison -I. -I../../../../include -I../../../../include/QtQuickWidgets -I../../../.
> ./include/QtQuick -I../../../../include/QtQml -isystem /OE/build/oe-core/tmp-glibc/sysroots/qemux86/usr/include/qt5 -isystem /OE/build/oe-core/tmp-glibc/sysroots/qemux86/usr/include/qt5/QtWidgets -isystem /OE/build/oe-core/tmp-glibc/sysroots/qemux86/usr/include/qt5/QtGui -isystem /OE/build/oe-core/tmp-glibc/sysroots/qemux86/usr/include/qt5/QtNetwork -isystem /OE/build/oe-core/tmp-glibc/sysroots/qemux86/usr/include/qt5/QtCore -I.moc -isystem /OE/build/oe-core/tmp-glibc/sysroots/qemux86/usr/include/libdrm -I/OE/build/oe-core/tmp-glibc/sysroots/qemux86/usr/lib/qt5/mkspecs/linux-oe-g++ -o .obj/mainwindow.o /OE/build/oe-core/tmp-glibc/work/i586-oe-linux/qtdeclarative/5.5.99+5.6.0-rc+gitAUTOINC+0fab5761d5-r0/git/examples/quick/quickwidgets/qquickviewcomparison/mainwindow.cpp
> 
> and mainwindow.E is attached

Sorry for the delay.
Can you please provide more detailed instructions in order to get this output?

-- 
Denys



More information about the Openembedded-devel mailing list