Also if i turn on the qt4 use the visualizzation driver fot qt was not compiled. I resolved the problem modifing the src_configure() in ebuild: src_configure() { export GEANT4_DIR="/usr/share/${PN}${PV1}" # where to put compiled libraries; # we set env var G4LIB in src_install() # to avoid confusing make export GEANT4_LIBDIR=/usr/$(get_libdir)/${PN}${PV1} export G4INSTALL="${S}" export G4WORKDIR="${S}" export G4INCLUDE="${D}/usr/include/${PN}" export CLHEP_BASE_DIR=/usr # parse USE; just set flags of drivers to build, G4*_USE_* vars are set # later automatically for G4*_BUILD_*_DRIVER use minimal && export G4UI_NONE=y \ && export G4VIS_NONE=y use motif && export G4UI_BUILD_XM_SESSION=y use athena && export G4UI_BUILD_XAW_SESSION=y if use qt4; then export G4UI_BUILD_QT_SESSION=y export G4VIS_BUILD_OPENGLQT_DRIVER=1 export G4UI_USE_QT=1 export G4VIS_USE_OPENGLQT=1 export QTLIBS="-L/usr/$(get_libdir)/qt4 -lQtCore -lQtGui" export QTFLAGS="-I/usr/include/qt4 -I/usr/include/qt4/Qt" use opengl && \ export GLQTLIBS="${QTLIBS} -lQtOpenGL" #export QTFLAGS="${QTFLAGS} -I/usr/include/qt4/QtOpenGL" fi use dawn && export G4VIS_BUILD_DAWN_DRIVER=y use raytracerx && export G4VIS_BUILD_RAYTRACERX_DRIVER=y use openinventor && export G4VIS_BUILD_OI_DRIVER=y use opengl && export G4VIS_BUILD_OPENGLX_DRIVER=y use opengl && use motif && export G4VIS_BUILD_OPENGLXM_DRIVER=y use gdml && export G4LIB_BUILD_GDML=y use geant3 && export G4LIB_BUILD_G3TOG4=y use zlib && export G4LIB_USE_ZLIB=y use vrml && export G4VIS_BUILD_VRML_DRIVER=y \ && export G4VIS_BUILD_VRMLFILE_DRIVER=y use aida && export G4ANALYSIS_USE=y use data && export G4DATA="${GEANT4_DIR}/data" use debug && export G4DEBUG=y || export G4OPTIMIZE=y # switch to see compiling flags export CPPVERBOSE=y # if shared libs are built, the script will also build static libs # with pic flags # avoid that by building it twice and removing temporary objects export G4LIB_BUILD_SHARED=y } I thik the important line is: export G4VIS_BUILD_OPENGLQT_DRIVER=1 Can you test ad update official ebuild for future geant version? tanks.
Created attachment 256295 [details, diff] fix qt4 support
Thank you for your report. I would like to ask you to submit diff against ebuilds (see attachment) rather than paste code into bugzie. Assigning to the maintainers. Thanks again!
fixed. aida will not come back until we have an implementation of aida in the gentoo portage tree