So, I cross-compiled Qt 5.1.0 on the ubuntu 12.04 with the arm-linux-gnueabihf compiler. I got source of the qt from the git than I checkout to v5.1.0. This is my configure line:
./configure -prefix /opt/Qt-arm -arch arm -platform linux-g++ -xplatform linux-arm-gnueabi-g++ -no-glib -no-cups -no-largefile -no-openssl -no-gtkstyle -no-dbus -opengl es2 -opensource -nomake examples -confirm-license -egl -debug -v -nomake tests -qt-xcb -no-pch I didn't quite understand what do you mean by “command line shows the Qt5 platform used”… If you mean, am I sure if I'm using qt5, so I'm sure : root@variscite-desktop:/home/variscite# ldd ./cube libQt5OpenGL.so.5 => /opt/Qt-arm/lib/libQt5OpenGL.so.5 (0xb6f29000) libQt5Widgets.so.5 => /opt/Qt-arm/lib/libQt5Widgets.so.5 (0xb6a10000) libQt5Gui.so.5 => /opt/Qt-arm/lib/libQt5Gui.so.5 (0xb6645000) libQt5Core.so.5 => /opt/Qt-arm/lib/libQt5Core.so.5 (0xb618e000) libGLESv2.so => /usr/lib/libGLESv2.so (0xb6130000) libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb6089000) libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb6077000) libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb5f93000) libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb5f29000) /lib/ld-linux-armhf.so.3 (0xb6f8a000) libX11.so.6 => /usr/lib/arm-linux-gnueabihf/libX11.so.6 (0xb5e44000) libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb5e29000) libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0xb5e10000) libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb5e05000) librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xb5df7000) libsrv_um.so => /usr/lib/libsrv_um.so (0xb5dc7000) libIMGegl.so => /usr/lib/libIMGegl.so (0xb5dad000) libxcb.so.1 => /usr/lib/arm-linux-gnueabihf/libxcb.so.1 (0xb5d92000) libdrm.so.2 => /usr/lib/arm-linux-gnueabihf/libdrm.so.2 (0xb5d82000) libwayland-server.so.0 => /usr/lib/arm-linux-gnueabihf/libwayland-server.so.0 (0xb5d71000) libdrm_omap.so.1 => /usr/lib/arm-linux-gnueabihf/libdrm_omap.so.1 (0xb5d66000) libXau.so.6 => /usr/lib/arm-linux-gnueabihf/libXau.so.6 (0xb5d5b000) libXdmcp.so.6 => /usr/lib/arm-linux-gnueabihf/libXdmcp.so.6 (0xb5d4e000) libffi.so.6 => /usr/lib/arm-linux-gnueabihf/libffi.so.6 (0xb5d40000) Please, tell me what concrete information do you need and I'll send it. On 13 November 2013 23:02, Sundareson, Prabindh <pr...@ti.com> wrote: > It would be good if you could share the full test setup – what release > you are using, the command line used for launching that shows the Qt5 > platform used. > > > > regards, > > Prabu > > > > *From:* interest-bounces+prabu=ti....@qt-project.org [mailto: > interest-bounces+prabu=ti....@qt-project.org] *On Behalf Of *????????? > ?????? > *Sent:* Wednesday, November 13, 2013 6:24 PM > *To:* interest > *Subject:* [Interest] Issue of the test qt5 app on the omap4 > > > > > Hi, all. > > > > I have cross-compiled qt 5.1.0 for the omap4 device. I'm trying to run > test app Cube and got this error (I switched on the debug) > > > > Cant find EGLConfig, returning null config > > ASSERT: "context" in file qglfunctions.cpp, line 174 > > Aborted (core dumped) > > > > > > Please, advice me, what's wrong and how can I fix it? > > > > The system is ubuntu 12.04. > > > > Here is the gdb output: > > > > (gdb) run > > Starting program: /home/variscite/cube > > Traceback (most recent call last): > > File "/usr/lib/debug/usr/lib/arm-linux-gnueabihf/libstdc++. > so.6.0.16-gdb.py", line 62, in <module> > > from libstdcxx.v6.printers import register_libstdcxx_printers > > ImportError: No module named libstdcxx.v6.printers > > [Thread debugging using libthread_db enabled] > > Using host libthread_db library > "/lib/arm-linux-gnueabihf/libthread_db.so.1". > > [New Thread 0xb5a47460 (LWP 3690)] > > Qt: gdb: -nograb added to command-line options. > > Use the -dograb option to enforce grabbing. > > Cant find EGLConfig, returning null config > > ASSERT: "context" in file qglfunctions.cpp, line 174 > > > > Program received signal SIGABRT, Aborted. > > __libc_do_syscall () at > ../ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S:47 > > 47 ../ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S: No > such file or directory. > > (gdb) bt > > #0 __libc_do_syscall () at > ../ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S:47 > > #1 0xb6011e92 in __GI_raise (sig=6) at > ../nptl/sysdeps/unix/sysv/linux/raise.c:67 > > #2 0xb601426c in __GI_abort () at abort.c:91 > > #3 0xb625eeb8 in qt_message_fatal (context=..., message=...) at > global/qlogging.cpp:944 > > #4 0xb625d19e in QMessageLogger::fatal (this=0xbeffeefc, msg=0xb64b4740 > "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:360 > > #5 0xb6259698 in qt_assert (assertion=0xb6fcaa88 "context", > file=0xb6fcaa90 "qglfunctions.cpp", line=174) at global/qglobal.cpp:2014 > > #6 0xb6fa63f2 in qt_gl_functions (context=0x0) at qglfunctions.cpp:174 > > #7 0xb6fa66ac in QGLFunctions::initializeGLFunctions (this=0xbefff5c8, > context=0x0) at qglfunctions.cpp:355 > > #8 0x0000b62c in MainWidget::initializeGL (this=0xbefff5b0) at > mainwidget.cpp:107 > > #9 0xb6f9ef3e in QGLWidget::glInit (this=0xbefff5b0) at qgl.cpp:4112 > > #10 0xb6fc8af2 in QGLWidget::resizeEvent (this=0xbefff5b0, e=0xbefff4a8) > at qgl_qpa.cpp:386 > > #11 0xb6b8ff42 in QWidget::event (this=0xbefff5b0, event=0xbefff4a8) at > kernel/qwidget.cpp:8038 > > #12 0xb6fc8a8c in QGLWidget::event (this=0xbefff5b0, e=0xbefff4a8) at > qgl_qpa.cpp:374 > > #13 0xb6b56684 in QApplicationPrivate::notify_helper (this=0x1f868, > receiver=0xbefff5b0, e=0xbefff4a8) at kernel/qapplication.cpp:3455 > > #14 0xb6b56560 in QApplication::notify (this=0xbefff658, > receiver=0xbefff5b0, e=0xbefff4a8) at kernel/qapplication.cpp:3420 > > #15 0xb640557e in QCoreApplication::notifyInternal (this=0xbefff658, > receiver=0xbefff5b0, event=0xbefff4a8) at kernel/qcoreapplication.cpp:871 > > #16 0xb6b4b0cc in QCoreApplication::sendEvent (receiver=0xbefff5b0, > event=0xbefff4a8) at > ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:232 > > #17 0xb6b8dd3e in QWidgetPrivate::sendPendingMoveAndResizeEvents > (this=0x45858, recursive=false, disableUpdates=false) at > kernel/qwidget.cpp:6999 > > #18 0xb6b8df14 in QWidgetPrivate::show_helper (this=0x45858) at > kernel/qwidget.cpp:7050 > > #19 0xb6b8e6a4 in QWidget::setVisible (this=0xbefff5b0, visible=true) at > kernel/qwidget.cpp:7307 > > #20 0xb6b8db78 in QWidget::show (this=0xbefff5b0) at > kernel/qwidget.cpp:6957 > > #21 0x0000af7c in main (argc=1, argv=0xbefff7c4) at main.cpp:55 > > (gdb) > > -- > С уважением, Александр Чапкин. > > e-mail: alexan...@chapkin.name > > skype: alexander.chapkin > -- С уважением, Александр Чапкин. e-mail: alexan...@chapkin.name skype: alexander.chapkin blog: http://coffee-hedgehog.ru
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest