Message: Geant4.10.01.p02 ‘class QVBoxLayout’ has no member named ‘setContentsMargins’ Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Geant4.10.01.p02 ‘class QVBoxLayout’ has no member named ‘setContentsMargins’ 

Forum: Installation and Configuration
Date: 06 Jul, 2015
From: Beatrice Panico <Beatrice Panico>

Trying to install Geant4 version 10.01.p02 under SL5 I get the following errors:

/Geant4/Geant_v4.10/geant4.10.01.p02/source/interfaces/basic/src/G4UIQt.cc: In member function ‘QWidget* G4UIQt::CreateHelpTBWidget()’:

/Geant4/Geant_v4.10/geant4.10.01.p02/source/interfaces/basic/src/G4UIQt.cc:308: error: ‘class QVBoxLayout’ has no member named ‘setContentsMargins’

/Geant4/Geant_v4.10/geant4.10.01.p02/source/interfaces/basic/src/G4UIQt.cc: In member function ‘G4UIDockWidget* G4UIQt::CreateCoutTBWidget()’:

/Geant4/Geant_v4.10/geant4.10.01.p02/source/interfaces/basic/src/G4UIQt.cc:448: error: ‘class QHBoxLayout’ has no member named ‘setContentsMargins’

/Geant4/Geant_v4.10/geant4.10.01.p02/source/interfaces/basic/src/G4UIQt.cc: In member function ‘void G4UIQt::updateHelpArea(const G4UIcommand*)’:

/Geant4/Geant_v4.10/geant4.10.01.p02/source/interfaces/basic/src/G4UIQt.cc:2761: error: ‘class QTableWidget’ has no member named ‘setWordWrap’

/Geant4/Geant_v4.10/geant4.10.01.p02/source/interfaces/basic/src/G4UIQt.cc:2799: error: ‘NoItemFlags’ is not a member of ‘Qt’

I compile with cmake28 -DCMAKE_INSTALL_PREFIX=/Geant4/Geant_v4.10/geant4.10.01.p02-install -DQT_QMAKE_EXECUTABLE=/usr/lib64/qt4/bin/qmake -DGEANT4_INSTALL_DATA=ON --DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_QT=ON /Geant4/Geant_v4.10/geant4.10.01.p02

What can I do?

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Note: Re: Geant4.10.01.p02 ‘class QVBoxLayout’ has no member named ‘setContentsMargins’   (Ben Morgan - 13 Jul, 2015)
 Add Message Add Message
to: "Geant4.10.01.p02 ‘class QVBoxLayout’ has no member named ‘setContentsMargins’"

 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 ]