Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt installation on Raspbian Jessie fails
onlydp last edited by onlydp
some days ago I started to compile Qt for my Raspberry myself. I experienced a couple of problems with it, some of them I solved by asking in this forum. But because there have been even more problems each hour I run the make I gave up somehow and didn't post my problems in this forum anymore.
I spent a lot of time with searching for an alternative. After some time I found one: There is a compiled version of QT5 in the Raspbian Jessie repository (http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi). So I changed my "Sources.list" to that repository, ran "sudo apt-get update" and "sudo apt-get upgrade" and installed all of the packages linked to qt5.
This is that I have installed (only the Qt5 packages itself)
ii qml 5.3.2-4+rpi1 armhf Qt 5 QML viewer ii qml-module-qtq 5.3.2-2 armhf Qt 5 Quick Controls QML module ii qml-module-qtq 5.3.2-2 armhf Qt 5 Quick Layouts QML module ii qml-module-qtq 5.3.2-4+rpi1 armhf Qt 5 window 2 QML module ii qml-module-qtq 5.3.2-4+rpi1 armhf Qt 5 Qt Quick 2 QML module ii qt5-default 5.3.2+dfsg-4 armhf Qt 5 development defaults package ii qt5-doc 5.3.2-3 all Qt 5 API Documentation ii qt5-qmake:armh 5.3.2+dfsg-4 armhf Qt 5 qmake Makefile generator too ii qtbase5-dev:ar 5.3.2+dfsg-4 armhf Qt 5 base development files ii qtbase5-dev-to 5.3.2+dfsg-4 armhf Qt 5 base development programs ii qtbase5-doc 5.3.2-3 all Qt 5 base documentation ii qtchooser 47-gd2b7997- armhf Wrapper to select between Qt deve ii qtconnectivity 5.3.2-2 armhf Qt Connectivity development files ii qtcore4-l10n 4:4.8.6+git6 all Qt 4 core module translations ii qtcreator 3.2.1+dfsg-7 armhf lightweight integrated developmen ii qtcreator-data 3.2.1+dfsg-7 all application data for Qt Creator I ii qtcreator-doc 3.2.1+dfsg-7 all documentation for Qt Creator IDE ii qtdeclarative5 5.3.2-4+rpi1 armhf Qt 5 declarative development file ii qtdeclarative5 5.3.2-4+rpi1 armhf Qt 5 declarative development prog ii qtdeclarative5 5.3.2-3 all Qt 5 declarative documentation ii qtenginio5-doc 5.3.2-2 all Qt 5 Enginio documentation ii qtgraphicaleff 5.3.2-2 all Qt 5 graphical effects documentat ii qtmobility-dev 1.2.0-3 armhf APIs for mobile device functional ii qtmultimedia5- 5.3.2-5 armhf APIs for multimedia functionality ii qtmultimedia5- 5.3.2-5 all Qt 5 multimedia documentation ii qtpositioning5 5.3.2-2 armhf Qt 5 Location and Positioning dev ii qtpositioning5 5.3.2-2 all Qt 5 Positioning documentation ii qtquick1-5-dev 5.3.2-3 armhf Qt Quick 1 tools ii qtquickcontrol 5.3.2-2 all Qt 5 Quick Controls documentation ii qtscript5-dev: 5.3.2+dfsg-2 armhf Qt 5 script development files ii qtscript5-doc 5.3.2-3 all Qt 5 script documentation ii qtsensors5-doc 5.3.2+dfsg-2 all Qt 5 Sensors documentation ii qtserialport5- 5.3.2-2 all Qt 5 serial port documentation ii qtsvg5-doc 5.3.2-2 all Qt 5 SVG documentation ii qttools5-dev:a 5.3.2-3 armhf Qt 5 tools development files ii qttools5-dev-t 5.3.2-3 armhf Qt 5 development tools ii qttools5-doc 5.3.2-3 all Qt 5 tools documentation ii qttranslations 5.3.2-2 all translations for Qt 5 ii qtwebkit5-doc 5.3.2-3 all Qt 5 webkit documentation ii qtwebkit5-exam 5.3.2+dfsg-2 all Qt 5 webkit examples documentatio ii qtwebsockets5- 5.3.2-5 all Qt 5 Web Sockets documentation ii qtx11extras5-d 5.3.2-2 all Qt 5 X11 extras documentation ii qtxmlpatterns5 5.3.2-2 armhf Qt 5 XML patterns development pro ii qtxmlpatterns5 5.3.2-3 all Qt 5 XML patterns documentation
Now I wanted to start my Qt creator: A little loading symbol could be seen and a task called Qt creator was been shown in the task manager. 10 seconds later the task and the waiting symbol disappeared. Waiting for an other minute doesn't help: The creator was killed somehow.
I reran "apt-get update" and "apt-get upgrade" and some packages upgraded. Now I started Qt Creator again. Same result. Now I restarted my Pi and tried again. Same result.
I started the designer located in "usr/lib/arm-linux-gnueabihf/qt5/bin" - works. Assistant works ,too.
Cause I did start my project on the Windows version of Qt some days ago I had a programm to test qmake. The Makefile is generated. Running "make" ends without problems. Starting the generated program opens a task but no window. The task stays forever and doesn't end like the Qt creator. But this is fine. If the window would appear it would be pretty fine and I could work without the Qt creator just using the Qt framework. But it doesn't, so I think the two problems are somehow linked.
I uploaded the project to a Google Drive folder just in case someone thinks the second problem is linked to my sourcecode.
EDIT: Now tried to start my project in the console and get an error:
libEGL warning: DRI2: failed to authenticate Unable to find an X11 visual which matches EGL config 173 could not initalize OpenGL
I updated all libgles packages but nothing changes.
theshadowx last edited by
@mrdebug has the same problem as you (@onlydp )