QtCreator fails to start after update to Qt5.4.1

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

QtCreator fails to start after update to Qt5.4.1

Postby neXusPi2 » Mon Mar 02, 2015 8:15 pm

Hello,

after some trouble with QtCreator on my pi2 (http://archlinuxarm.org/forum/viewtopic.php?f=60&t=8505) I was happy that all problems were solved. In the meantime, the new QtCreator 3.3.1 package is officially available in the arch arm repo, so it is no longer necessary to build QtCreator on your own. Everything has worked with Qt5.4.0

Today, the update to Qt5.4.1 was installed due to a pacman -Syu and now QtCreator fails to start with this output:
$this->bbcode_second_pass_code('', '[nexus@alarmpi ~]$ qtcreator
libEGL warning: DRI2: failed to authenticate
iconTheme "oxygen"
OpenGL ES 3.0 entry points not found
/usr/bin/qtcreator: line 2: 805 Aborted (core dumped) QT_LOGGING_TO_CONSOLE=1 qtcreator-bin $@')
Has anyone an idea? What's wrong with Qt5.4.1 or is just a rebuild of QtCreator necessary?
neXusPi2
 
Posts: 16
Joined: Sun Feb 22, 2015 2:41 pm

Re: QtCreator fails to start after update to Qt5.4.1

Postby neXusPi2 » Tue Mar 03, 2015 8:42 pm

I've recompiled QtCreator with the PKGBUILD from here https://github.com/archlinuxarm/PKGBUILDs/tree/master/extra/qtcreator but QtCreator still crashes on startup.
neXusPi2
 
Posts: 16
Joined: Sun Feb 22, 2015 2:41 pm

Re: QtCreator fails to start after update to Qt5.4.1

Postby neXusPi2 » Wed Mar 04, 2015 8:34 am

I've downgraded the Qt packages to Qt5.4.0 and set them on the IgnorePkg list in /etc/pacman.conf. Now, QtCreator starts without problems again, the console output is just this:
$this->bbcode_second_pass_code('', '[nexus@alarmpi ~]$ qtcreator
libEGL warning: DRI2: failed to authenticate
iconTheme "oxygen"')
The OpenGL ES 3.0 warning isn't there, maybe this is the problem with Qt5.4.1. As far as I know, raspberry's GPU is only OpenGL ES2.0 capable.

On my x86_64 ARCH Linux machine with nvidia GPU QtCreator runs fine with Qt5.4.1.
neXusPi2
 
Posts: 16
Joined: Sun Feb 22, 2015 2:41 pm

Re: QtCreator fails to start after update to Qt5.4.1

Postby iskenderoguz » Sat Mar 07, 2015 7:11 pm

How do you downgrade to Qt 5.4.0. I installed first Qt 5.4.1 so I do not have Qt 5.4.0 package in /var/cahce. How can I install Qt 5.4.0 ?
iskenderoguz
 
Posts: 1
Joined: Sat Mar 07, 2015 7:04 pm

Re: QtCreator fails to start after update to Qt5.4.1

Postby neXusPi2 » Sun Mar 08, 2015 11:26 am

From here https://wiki.archlinux.org/index.php/pacman#Cleaning_the_package_cache

$this->bbcode_second_pass_quote('', 'H')aving older versions of packages comes in handy in case a future upgrade results in a broken system, and if they are removed from the cache the only way to retrieve them is through an alternative source of deprecated packages such as the Arch Rollback Machine.


I don't have any experience with ARM (Arch Rollback Machine), in my case, the Qt5.4.0 packages are still available in my local /var/cache/pacman/pkg/ folder. Unfortunately, I haven't downloaded all of them, now I have a mix of Qt versions. After the release of Qt5.4.1 and my downgrade to Qt5.4.0 I've decided to make use of QtSerialPort, so, this module is of version 5.4.1 now and all other modules are of version 5.4.0, but it seems to work...
neXusPi2
 
Posts: 16
Joined: Sun Feb 22, 2015 2:41 pm

Re: QtCreator fails to start after update to Qt5.4.1

Postby neXusPi2 » Wed Mar 11, 2015 6:17 pm

Now, QtCreator 3.3.2 is available in the arch repo. Unfortunately, the problem still exists. QtCreator crashes on startup with Qt5.4.1, but runs fine with Qt5.4.0
neXusPi2
 
Posts: 16
Joined: Sun Feb 22, 2015 2:41 pm

Re: QtCreator fails to start after update to Qt5.4.1

Postby neXusPi2 » Thu Mar 12, 2015 6:21 pm

The problem can partly be solved: QtCreator 3.3.x starts without problems with Qt5.4.1 when the "Welcome"-plugin is disabled. I've also posted the issue http://forum.qt.io/topic/51982/qtcreator-3-3-x-crashes-during-start-up-on-raspberry-pi2-with-qt5-4-1. Thanks to SGaist for the hint.
neXusPi2
 
Posts: 16
Joined: Sun Feb 22, 2015 2:41 pm

Re: QtCreator fails to start after update to Qt5.4.1

Postby neXusPi2 » Tue Apr 21, 2015 7:38 pm

I've created a bug report here https://bugreports.qt.io/browse/QTBUG-45124. It's a Qt5.4.1 bug. Priority is set to P2 (Important).
neXusPi2
 
Posts: 16
Joined: Sun Feb 22, 2015 2:41 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 16 guests