Message: Fedora 22 - install with fallback Qt 4.8 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Fedora 22 - install with fallback Qt 4.8 

Forum: Installation and Configuration
Date: 29 Oct, 2015
From: Jan Pipek <Jan Pipek>

Situation: In Fedora 22 (not directly supported, I know, but one of the most popular desktop distributions nowadays), each new version of Geant4 (now the recent reference tag before December release 10.2) brings new problems with Qt5 (5.5). While it would be nice to debug and find the reason (invalid read in QWidgetPrivate::showChildren causes segfault), I have neither knowledge nor time to do it. So I decided to switch to fallback Qt 4.8...

Complication: It is very hard to obtain working copy of Qt 4.8 nowadays. On the other hand, Fedora 22 includes it by default alongside Qt 5.5. Unfortunately, it is not possible to use -DCMAKE_PREFIX_PATH because both versions are included in /usr without independent prefixes.

Idea of solution: It would be nice to be able to force the use of Qt 4.8 for users that have problems with the newer library. For my personal purposes, I introduced new option in Geant4InterfaceOptions.cmake called GEANT4_FORCE_QT4 that does exactly this (skips looking for Qt5). Maybe such kind of solution (modified to your CMake styling conventions) could be included in Geant4? Please, see https://gist.github.com/janpipek/c3bf4abb65b9c9605959 if you're interested.

Thanks, Jan

 Add Message Add Message
to: "Fedora 22 - install with fallback Qt 4.8"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]