tag:blogger.com,1999:blog-3944174827064012298.post4538634463145563991..comments2023-12-19T16:55:37.721+01:00Comments on The Bugfree Blog ;-): Bring up Qt 5 on Raspberry Pi with WaylandLuca Carlonhttp://www.blogger.com/profile/05071568155815750619noreply@blogger.comBlogger55125tag:blogger.com,1999:blog-3944174827064012298.post-55147735932470105082016-02-09T08:36:15.670+01:002016-02-09T08:36:15.670+01:00I'm sorry, I haven't used this module sinc...I'm sorry, I haven't used this module since 2013 so I have no idea.Luca Carlonhttps://www.blogger.com/profile/05071568155815750619noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-20290151481022774592016-02-09T03:21:07.481+01:002016-02-09T03:21:07.481+01:00Does QtWayland work with Raspbian Jessie?
I just t...Does QtWayland work with Raspbian Jessie?<br />I just tried to native compile the QtWayland module and got the following error from qmake CONFIG += wayland-compositor:<br /><br />Project WARNING: No xkbcommon 0.2.0 or higher found, disabling support for it<br /><br />If I comment out the check for xkbcommon like you showed, the module builds without error but when making the qml compositor example I get this error:<br /><br />Project ERROR : Unknown Modules(s) in QT: Compositor<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-20315513473364016222015-03-07T14:47:32.743+01:002015-03-07T14:47:32.743+01:00At least the qt multimedia module yes, as there mo...At least the qt multimedia module yes, as there modifications to be applied.Luca Carlonhttps://www.blogger.com/profile/05071568155815750619noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-51089930203239881452015-03-07T14:13:34.643+01:002015-03-07T14:13:34.643+01:00Should I compile Qt like your way. There are qt5 p...Should I compile Qt like your way. There are qt5 packages in archLinuxArm. If I use these packages, can I use your libraryAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-60960506800592247052013-09-18T13:58:56.710+02:002013-09-18T13:58:56.710+02:00When i launch opengl apps it launches but unable d...When i launch opengl apps it launches but unable display or render on screen, Then it seems that opengl application will not have support in qtwayland??? or Im missing any configuration? Anonymoushttps://www.blogger.com/profile/04013163932567009937noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-31367329435589538402013-09-14T17:01:11.051+02:002013-09-14T17:01:11.051+02:00Interesting! Since when this is needed? I never ne...Interesting! Since when this is needed? I never needed to fix that. Maybe with the latest Raspbian?Luca Carlonhttps://www.blogger.com/profile/05071568155815750619noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-19441009300718820482013-09-14T16:23:35.352+02:002013-09-14T16:23:35.352+02:00Edit qtbase/mkspecs/devices/linux-rasp-pi-g++/qegl...Edit qtbase/mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp and cast the 9th argument to DISPMANX_TRANSFORM_T on line 133.<br /><br />Also comment out the declaration of vc_dispmanx_element_change_attributes couple of lines above.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-22079021666475658242013-09-14T11:22:49.841+02:002013-09-14T11:22:49.841+02:00Sorry, I don't remember encountering something...Sorry, I don't remember encountering something like that.Luca Carlonhttps://www.blogger.com/profile/05071568155815750619noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-43653220918963415492013-09-13T14:56:29.897+02:002013-09-13T14:56:29.897+02:00QtWayland was broken multiple times, so you might ...QtWayland was broken multiple times, so you might ask QtWayland guys about this.Luca Carlonhttps://www.blogger.com/profile/05071568155815750619noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-30329600676145997522013-09-13T14:52:39.514+02:002013-09-13T14:52:39.514+02:00my error like this:
http://pastebin.com/sCPfL5DBmy error like this:<br />http://pastebin.com/sCPfL5DBAnonymoushttps://www.blogger.com/profile/01150307792261335497noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-51517785120454444102013-09-13T14:40:27.003+02:002013-09-13T14:40:27.003+02:00Difficult to say if you don't post the error.Difficult to say if you don't post the error.Luca Carlonhttps://www.blogger.com/profile/05071568155815750619noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-10814318720414405022013-09-13T14:19:25.862+02:002013-09-13T14:19:25.862+02:00Why i can't cross compile?
and missing qmakeWhy i can't cross compile?<br /><br />and missing qmakeAnonymoushttps://www.blogger.com/profile/01150307792261335497noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-20074076129212934432013-09-13T14:04:47.980+02:002013-09-13T14:04:47.980+02:00Hi I followed above steps, and now Im able launch ...Hi I followed above steps, and now Im able launch all application using wayland-brcm platform, But im when i launch opengl examples like hellowindow with wayland-brcm platform , the opengl app hellowindow is not launching as expected like when we launch with eglfs platform.<br /><br />./qmlcompositor -platform eglfs& (its working fine)<br /><br />./wiggly -platform wayland-brcm (working fine)<br /><br />opengl/hellowindow/hellowindow -platform wayland-brcm (not working)<br /><br />nothing coming<br /><br />stoping at ..<br />Brcm-EGL<br /><br />so whats the reason for this ? But here its working fine http://www.youtube.com/watch?v=HItv4HX5r3k&list=UUznZH9PHUe2L4WxvPAXPPSA&index=3Anonymoushttps://www.blogger.com/profile/04013163932567009937noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-71778776814770319952013-09-13T10:59:08.304+02:002013-09-13T10:59:08.304+02:00Report the actual error, not just the message &quo...Report the actual error, not just the message "Error"...Luca Carlonhttps://www.blogger.com/profile/05071568155815750619noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-41485133855706283572013-09-13T10:56:34.871+02:002013-09-13T10:56:34.871+02:00็Hi guy. Someone can help me? (when i compile qt5 ...็Hi guy. Someone can help me? (when i compile qt5 i got this)<br /><br />/mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp:195:10: warning: unused parameter ‘window’ [-Wunused-parameter]<br />make[4]: *** [.obj/release-shared/qeglfshooks_pi.o] Error 1<br />make[4]: Leaving directory `/home/host/raspberry/qt-everywhere-opensource-src-5.1.1/qtbase/src/plugins/platforms/eglfs'<br />make[3]: *** [sub-eglfs-make_first] Error 2<br />make[3]: Leaving directory `/home/host/raspberry/qt-everywhere-opensource-src-5.1.1/qtbase/src/plugins/platforms'<br />make[2]: *** [sub-platforms-make_first] Error 2<br />make[2]: Leaving directory `/home/host/raspberry/qt-everywhere-opensource-src-5.1.1/qtbase/src/plugins'<br />make[1]: *** [sub-plugins-make_first] Error 2<br />make[1]: Leaving directory `/home/host/raspberry/qt-everywhere-opensource-src-5.1.1/qtbase/src'<br />make: *** [sub-src-make_first] Error 2<br /><br />Thx you.Anonymoushttps://www.blogger.com/profile/01150307792261335497noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-14788225959629782212013-06-21T22:44:06.433+02:002013-06-21T22:44:06.433+02:00I think qwayland-wayland.h may be generated by qtw...I think qwayland-wayland.h may be generated by qtwaylandscanner, but the lack of documentation makes it hard to tell. I can't get qtwaylandscanner to compile against Qt 5.0.2, so I can't get past this step.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-59685145884219760992013-05-22T15:46:51.976+02:002013-05-22T15:46:51.976+02:00Then try to debug and see when it crashes or try w...Then try to debug and see when it crashes or try with a non Qt based application (i.e. do not link to Qt using qmake).Luca Carlonhttps://www.blogger.com/profile/05071568155815750619noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-37210018878010403712013-05-22T10:17:36.445+02:002013-05-22T10:17:36.445+02:00The app is the Helloworld from the qt-project web ...The app is the Helloworld from the qt-project web site.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-48363225271015406112013-05-22T09:40:05.259+02:002013-05-22T09:40:05.259+02:00Then maybe a bug in your code? Or maybe something ...Then maybe a bug in your code? Or maybe something wrong with the Qt libs you built? Sorry, too few information.Luca Carlonhttps://www.blogger.com/profile/05071568155815750619noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-26328454853836521632013-05-22T09:06:00.025+02:002013-05-22T09:06:00.025+02:00I used also the "file" command and the r...I used also the "file" command and the response is:<br />ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0x0e7dd2b5a3dc8286c1b5af7756e77812b7c13e7e, not strippedAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-13546168253278800222013-05-22T08:58:12.913+02:002013-05-22T08:58:12.913+02:00I used the linaro gcc cross compiler you have wrot...I used the linaro gcc cross compiler you have wrote about in your first document http://thebugfreeblog.blogspot.it/2012/11/bring-up-qt-50-on-raspberry-pi.html<br /><br />I used gdb to test the application on the raspberry and the gdb result was that the app is compiled with arm-linux-gnuaebihfAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-84962816738602422222013-05-21T17:43:27.291+02:002013-05-21T17:43:27.291+02:00Is it actually built for arm?Is it actually built for arm?Luca Carlonhttps://www.blogger.com/profile/05071568155815750619noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-1691713079355034122013-05-21T17:35:39.565+02:002013-05-21T17:35:39.565+02:00Hello Luca,
I have cross-compiled Qt5 following yo...Hello Luca,<br />I have cross-compiled Qt5 following your instructions.<br /><br />Unfortunately I have an error when I try to run the compiled program on the raspberry:<br /> <br />"Illegal Instruction"<br /><br />I cannot fix it. Do you have any idea to solve it?<br /><br />Thank youAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-81561746593492622292013-05-19T13:02:39.782+02:002013-05-19T13:02:39.782+02:00On the contrary, for Raspberry Pi, Qt5 seems to be...On the contrary, for Raspberry Pi, Qt5 seems to be the most mature. I don't even know what is supported for Qt4 on Pi. Read the wiki of the Qt project: http://qt-project.org/wiki/RaspberryPi. Last paragraph. Why using something that has been outdated for more than 6 months?<br /><br />As for gdb, you might start from the manual in the toolchain... seems pretty reasonable... If you're using the linaro toolchain look here: https://github.com/raspberrypi/tools/tree/master/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/share/doc/gcc-linaro-arm-linux-gnueabihf-raspbian/html/gdb.Luca Carlonhttps://www.blogger.com/profile/05071568155815750619noreply@blogger.comtag:blogger.com,1999:blog-3944174827064012298.post-28959713491541443532013-05-13T15:42:58.364+02:002013-05-13T15:42:58.364+02:00Hello Luca, hello everyone
just a question from a...Hello Luca, hello everyone<br /><br />just a question from a beginner in Qt for remote cross-compiling:<br />I would like to have Qt4 on raspberry and being able to remote cross-compile and remote debugging from a host pc; just exactly what you describe here, but simply from Qt4 and not Qt5 (since I don't need it: and it seems to me that Qt4 is much more mature for raspberry than Qt5).<br /><br />I successfully managed to install Qt4 + QtDesigner locally on Raspberry (very easy), but now I wonder how to set up the QtDesigner and the cross-compiler and gdb on the host PC... I never did it and I don't know where to start; would you have any recommendation?<br /><br />any tip is much appreciated!<br />thanks a lot<br />Giovanni<br /><br />Unknownhttps://www.blogger.com/profile/04861048252459863416noreply@blogger.com