From: Thomas Senyk <thomas.senyk@pelagicore.com>
To: meta-freescale@yoctoproject.org
Subject: Re: i.MX6 Qt5.3 Cross-Compile
Date: Tue, 03 Jun 2014 10:58:43 +0200 [thread overview]
Message-ID: <1495726.Gg86YkLkFG@rudolf> (raw)
In-Reply-To: <CANP1U1z-ugMAefdJ0CvrLnN4yVXOa+_2DLZEk4+rgPpCsPPUOA@mail.gmail.com>
On Sunday, 01 June, 2014 20:06:41 Jay Cady wrote:
> Hey,
>
> Has anyone successfully cross-compiled Qt5.3 for the i.MX6? I'm using a
> Wandboard Dual and following this
> <http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard>
> tutorial
> to do the cross-compile. Unfortunately, whenever I run the make command
> after configuring Qt5.3, it results in this error (just then end):
>
>
> moc_qplatformdialoghelper.cpp:(.text+0x8dc): undefined reference to
> `QMetaType::hasRegisteredConverterFunction(int, int)'
> moc_qplatformdialoghelper.cpp:(.text+0x910): undefined reference to
> `QMetaType::registerConverterFunction(QtPrivate::AbstractConverterFunction
> const*, int, int)'
> .obj/moc_qplatformdialoghelper.o: In function `QMetaTypeId<QList<QUrl>
>
> >::qt_metatype_id()':
> moc_qplatformdialoghelper.cpp:(.text._ZN11QMetaTypeIdI5QListI4QUrlEE14qt_met
> atype_idEv[_ZN11QMetaTypeIdI5QListI4QUrlEE14qt_metatype_idEv]+0x130):
> undefined reference to `QMetaType::hasRegisteredConverterFunction(int,
> int)'
> moc_qplatformdialoghelper.cpp:(.text._ZN11QMetaTypeIdI5QListI4QUrlEE14qt_me
> tatype_idEv[_ZN11QMetaTypeIdI5QListI4QUrlEE14qt_metatype_idEv]+0x164):
> undefined reference to
> `QMetaType::registerConverterFunction(QtPrivate::AbstractConverterFunction
> const*, int, int)'
> .obj/moc_qplatformdialoghelper.o: In function
> `QtPrivate::ConverterFunctor<QList<QUrl>,
> QtMetaTypePrivate::QSequentialIterableImpl,
> QtMetaTypePrivate::QSequentialIterableConvertFunctor<QList<QUrl> >
>
> >::~ConverterFunctor()':
> moc_qplatformdialoghelper.cpp:(.text._ZN9QtPrivate16ConverterFunctorI5QListI
> 4QUrlEN17QtMetaTypePrivate23QSequentialIterableImplENS4_33QSequentialIterabl
> eConvertFunctorIS3_EEED2Ev[_ZN9QtPrivate16ConverterFunctorI5QListI4QUrlEN17Q
> tMetaTypePrivate23QSequentialIterableImplENS4_33QSequentialIterableConvertFu
> nctorIS3_EEED5Ev]+0x48): undefined reference to
> `QMetaType::unregisterConverterFunction(int, int)'
> moc_qplatformdialoghelper.cpp:(.text._ZN9QtPrivate16ConverterFunctorI5QList
> I4QUrlEN17QtMetaTypePrivate23QSequentialIterableImplENS4_33QSequentialIterab
> leConvertFunctorIS3_EEED2Ev[_ZN9QtPrivate16ConverterFunctorI5QListI4QUrlEN17
> QtMetaTypePrivate23QSequentialIterableImplENS4_33QSequentialIterableConvertF
> unctorIS3_EEED5Ev]+0x15c): undefined reference to
> `QMetaType::hasRegisteredConverterFunction(int, int)'
> moc_qplatformdialoghelper.cpp:(.text._ZN9QtPrivate16ConverterFunctorI5QList
> I4QUrlEN17QtMetaTypePrivate23QSequentialIterableImplENS4_33QSequentialIterab
> leConvertFunctorIS3_EEED2Ev[_ZN9QtPrivate16ConverterFunctorI5QListI4QUrlEN17
> QtMetaTypePrivate23QSequentialIterableImplENS4_33QSequentialIterableConvertF
> unctorIS3_EEED5Ev]+0x190): undefined reference to
> `QMetaType::registerConverterFunction(QtPrivate::AbstractConverterFunction
> const*, int, int)'
> collect2: error: ld returned 1 exit status
> make[3]: *** [../../lib/libQt5Gui.so.5.3.0] Error 1
> make[3]: Leaving directory
> `/home/jay/Downloads/qt-everywhere-opensource-src-5.3.0/qtbase/src/gui'
> make[2]: *** [sub-gui-make_first] Error 2
> make[2]: Leaving directory
> `/home/jay/Downloads/qt-everywhere-opensource-src-5.3.0/qtbase/src'
> make[1]: *** [sub-src-make_first] Error 2
> make[1]: Leaving directory
> `/home/jay/Downloads/qt-everywhere-opensource-src-5.3.0/qtbase'
> make: *** [module-qtbase-make_first] Error 2
>
> I see that others have had this same error with qt5.3.
>
> These are my build config options:
>
> ./configure -v -opensource -confirm-license -device imx6 -device-option
> CROSS_COMPILE=/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky
> -linux-gnueabi/arm-poky-linux-gnueabi- -sysroot
> /home/jay/dora-yocto/build/tmp/sysroots/wandboard-dual -prefix ~/qt5arm
> -platform linux-g++ -shared -no-pch -no-rpath -pkg-config -no-accessibility
> -no-dbus -no-icu -no-directfb -evdev -no-fontconfig -no-opengl -opengl es2
> -eglfs -no-glib -no-gtkstyle -no-iconv
> -system-libjpeg -no-kms -system-libpng -no-linuxfb -no-mitshm -no-nis
> -openssl -qt-pcre -release -no-sm -no-sql-db2 -no-sql-ibase -no-sql-mysql
> -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2
> -no-sql-tds -nomake tests -tslib -libudev -widgets -no-xcb -no-xcursor
> -no-xfixes -no-xinerama -no-xinput -no-xinput2 -no-xkb -no-xrandr
> -no-xrender -no-xshape -no-xsync -no-xvideo -system-zlib
>
> Any ideas what's going on?
Have you installed Qt5 in your sysroot?
If so consider deleting/moving it and doing a clean build to see if it's any
better.
>
> Thanks,
> Jay
next prev parent reply other threads:[~2014-06-03 8:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-02 3:06 i.MX6 Qt5.3 Cross-Compile Jay Cady
2014-06-03 8:58 ` Thomas Senyk [this message]
2014-06-05 16:08 ` Jay Cady
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1495726.Gg86YkLkFG@rudolf \
--to=thomas.senyk@pelagicore.com \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.