On 5/14/2014 9:53 PM, Ramakanthreddy Kesireddy wrote:

Hi,

Here is my configure line and am getting different error in Qt widgets now.

./configure -v -opensource -confirm-license -device imx6 -device-option CROSS_COMPILE=/opt/poky/1.6+snapshot/sysroots/i686-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -sysroot /home/kishore/fsl-community-bsp/build/tmp/sysroots/imx6qsabreauto -prefix ~/qt5arm -platform linux-g++ -shared -no-pch -no-rpath -pkg-config -no-accessibility -no-dbus -no-icu -no-directfb -evdev -fontconfig -freetype -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

*ERROR*

.obj/qwidget.o: In function `QWidgetPrivate::shareContext() const':

qwidget.cpp:(.text+0x15450): undefined reference to `QOpenGLContextPrivate::globalShareContext()'

collect2: error: ld returned 1 exit status

make: *** [../../lib/libQt5Widgets.so.5.3.0] Error 1

Any pointers would be grateful.


Does your device have a recent enough version of OpenGL ES?

Thanks and Regards,

Ramakanth

*From:*Ramakanthreddy Kesireddy
*Sent:* Wednesday, May 14, 2014 3:02 PM
*To:* interest@qt-project.org
*Subject:* Qt5.3 Beta error crosscompilation IMX6 Sabre AI

Hi,

I could successfully create the image and run the examples as mentioned in https://community.freescale.com/docs/DOC-100419

However, when I tried to cross compile Qt5.3 Beta(inorder to run sample app) with the cross compiler meta toolchain, it is giving below errors.

obj/qguivariantanimation.o: In function `(anonymous namespace)::qUnregisterGuiGetInterpolator_dtor_class_::~qUnregisterGuiGetInterpolator_dtor_class_()':

qguivariantanimation.cpp:(.text+0x10): undefined reference to `QVariantAnimation::registerInterpolator(QVariant (*)(void const*, void const*, float), int)'

qguivariantanimation.cpp:(.text+0x1c): undefined reference to `QVariantAnimation::registerInterpolator(QVariant (*)(void const*, void const*, float), int)'

qguivariantanimation.cpp:(.text+0x28): undefined reference to `QVariantAnimation::registerInterpolator(QVariant (*)(void const*, void const*, float), int)'

qguivariantanimation.cpp:(.text+0x34): undefined reference to `QVariantAnimation::registerInterpolator(QVariant (*)(void const*, void const*, float), int)'

qguivariantanimation.cpp:(.text+0x40): undefined reference to `QVariantAnimation::registerInterpolator(QVariant (*)(void const*, void const*, float), int)'

.obj/qguivariantanimation.o:qguivariantanimation.cpp:(.text.startup+0x18): more undefined references to `QVariantAnimation::registerInterpolator(QVariant (*)(void const*, void const*, float), int)' follow

collect2: error: ld returned 1 exit status

make[3]: *** [../../lib/libQt5Gui.so.5.3.0] Error 1

make[3]: Leaving directory `/home/kishore/Qt5_IMX6/qt-everywhere-opensource-src-5.3.0-beta/qtbase/src/gui'

make[2]: *** [sub-gui-make_first] Error 2

make[2]: Leaving directory `/home/kishore/Qt5_IMX6/qt-everywhere-opensource-src-5.3.0-beta/qtbase/src'

make[1]: *** [sub-src-make_first] Error 2

make[1]: Leaving directory `/home/kishore/Qt5_IMX6/qt-everywhere-opensource-src-5.3.0-beta/qtbase'

make: *** [module-qtbase-make_first] Error 2

Please let me know if am doing anything wrong in this regard.

PS: The board is Sabre AI IMX6 with 32 bit ubuntu host system.

Thanks and Regards,

Ramakanth


------------------------------------------------------------------------

DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
------------------------------------------------------------------------
============================================================================================================================
Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
============================================================================================================================


_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to