Message: Re: Can't work with terminal console together with Qt support Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Can't work with terminal console together with Qt support 

Forum: (Graphical) User Interfaces
Re: Question Can't work with terminal console together with Qt support (Igor Vorobyev)
Re: None Re: Can't work with terminal console together with Qt support (John Allison)
Re: None Re: Can't work with terminal console together with Qt support (Igor Vorobyev)
Re: None Re: Can't work with terminal console together with Qt support (John Allison)
Date: 29 Jan, 2018
From: Igor Vorobyev <Igor Vorobyev>

On Mon, 29 Jan 2018 10:10:46 GMT, John Allison wrote:
> I don't understand why you have a problem - "need to edit code before
> compiling". Everyone does that. It is simply that if you build an app
> with Qt in the canonical way it will start a Qt session unless you
> specify otherwise in ~/.g4session or use one of the other ways
> documented in "How to Select Interface in Your Applications". If you
> don't want Qt at all then build the Geant4 libraries without it.
> 
> Another thought: if the graphics is freezing up you can "/vis/disable".
> 
> I'm afraid I still don't understand your problem. Build your app
> following the steps set out in the Installation Guide. You may choose to
> build with or without Qt. (Don't forget, cmake has a "memory" in
> CMakeCache.txt - delete that file before respecifying cmake options.)
> 
Thanks a lot for answer!

Maybe, I explain badly. I will try one more time.

For example, I created project files without Qt support, but with terminal commands and with some text editor. And in this project I output some messages per event in terminal console. I want to see these messages. And I execute command /run/beamOn 10000000000 and etc., for example. Without visualization.

If my program will start with Qt interface (without visualization), Qt console will freeze - and I won't see my messages per event. But I want! I need it! I want output my messages to terminal console.

I know, something wrong in cmake parameters (flags). I need to remove this flags, if they relate to Qt. But how to do it forever - the question.

Maybe, this explanation is better.

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

1 None: Re: Can't work with terminal console together with Qt support   (John Allison - 29 Jan, 2018)
(_ None: Re: Can't work with terminal console together with Qt support   (Igor Vorobyev - 29 Jan, 2018)
 Add Message Add Message
to: "Re: Can't work with terminal console together with Qt support"

 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 ]