| Summary: | Unable to compile Geant4 on Debian/Ubuntu using Qt5 | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Michele Renda <michele.renda> |
| Component: | cmake | Assignee: | Ben Morgan <Ben.Morgan> |
| Status: | CLOSED INVALID | ||
| Severity: | minor | ||
| Priority: | P4 | ||
| Version: | 10.2 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Attachments: | patch | ||
The patch is for the GNUmake system - could you clarify whether you were trying to build Geant4 itself, or an end user application please? Building Geant4 with GNUmake is no longer supported, and is provided now only to build applications using Geant4 (and even then for convenience). Hello, sorry for late answer. I had the possibility to double check, and indeed, it is not a problem for CMake (he guess correctly the right libraries). Closing this issue as INVALID. Thank you and best regards |
Created attachment 420 [details] patch I was trying to compile Geant4 in a fresh installed Debian machine without installing any Qt4 package (only Qt5 package was existing). Unfortunately the compilation is failing because it was unable to find -lQtGui. In Debian 8 (and Ubuntu) system, to allow the concurrent existence of Qt4 and Qt5 have renamed the: libQtCore.so libQtGui.so libQtWidgets.so libQtPrintSupport.so to: libQt5Core.so libQt5Gui.so libQt5Widgets.so libQt5PrintSupport.so To be able to compile Geant4 with Qt5 I created the attached patch. Unfortunately I don't think it is universally applicable because Scientific Linux may have a different naming convention (I did not check).