Message: QTWidget and QTGui Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None QTWidget and QTGui 

Forum: (Graphical) User Interfaces
Date: 19 May, 2011
From: <>

Hi all,

with 4.9.4 I had problems running my own QT Gui (was working fine with 4.9.3).

If I comment out line 136 of visualization/OpenGL/src/ :

  if ( uiQt) {
    isTabbedView = uiQt->AddTabWidget(fWindow,name,getWinWidth(),getWinHeight());

I get what I want.

If I don't do that (and I'd like very much not to change G4 code) , I thought that not having G4UIQt would be enough, i.e. remove this line from the main code:

  G4UIsession *session = new G4UIQt(argc,argv);

But in that case, /vis/open stop working.

Any help would be greatly appreciated.

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

1 None: Re: QTWidget and QTGui   (Laurent Garnier - 26 May, 2011)
 Add Message Add Message
to: "QTWidget and QTGui"

 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 ]