Problem 1400 - G4UIQt.cc pushbutton error
Summary: G4UIQt.cc pushbutton error
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: interfaces (show other problems)
Version: 9.6
Hardware: All All
: P5 normal
Assignee: garnier
URL:
Depends on:
Blocks:
 
Reported: 2012-12-03 20:31 CET by ungaro
Modified: 2014-05-09 15:20 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description ungaro 2012-12-03 20:31:44 CET
For some reason I get these, even though setAccessibleName is a member of qwidget.h :


/opt/programs/Darwin_macosx10.6-i386-gcc4.2.1/geant4/4.9.6/source/geant4.9.6/source/interfaces/basic/src/G4UIQt.cc:2193: error: ‘class QPushButton’ has no member named ‘setAccessibleName’
/opt/programs/Darwin_macosx10.6-i386-gcc4.2.1/geant4/4.9.6/source/geant4.9.6/source/interfaces/basic/src/G4UIQt.cc: In member function ‘void G4UIQt::VisParameterCallback(QWidget*)’:
/opt/programs/Darwin_macosx10.6-i386-gcc4.2.1/geant4/4.9.6/source/geant4.9.6/source/interfaces/basic/src/G4UIQt.cc:2630: error: ‘class QWidget’ has no member named ‘accessibleName’
/opt/programs/Darwin_macosx10.6-i386-gcc4.2.1/geant4/4.9.6/source/geant4.9.6/source/interfaces/basic/src/G4UIQt.cc: In member function ‘void G4UIQt::ChangeColorCallback(QWidget*)’:
/opt/programs/Darwin_macosx10.6-i386-gcc4.2.1/geant4/4.9.6/source/geant4.9.6/source/interfaces/basic/src/G4UIQt.cc:3028: error: ‘class QPushButton’ has no member named ‘accessibleName’
/opt/programs/Darwin_macosx10.6-i386-gcc4.2.1/geant4/4.9.6/source/geant4.9.6/source/interfaces/basic/src/G4UIQt.cc:3053: error: ‘class QPushButton’ has no member named ‘setAccessibleName’
Comment 1 garnier 2014-05-09 15:20:10 CEST
I assume that this bug was because you where compiling against Qt3?
Because setAccessibeName seems to been in Qt since Qt4.1 : http://doc.qt.digia.com/4.1/qwidget.html#accessibleName-prop

Perhaps you have both Qt3 and Qt4 installed at the same time.

Laurent