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)
Re: None Re: Can't work with terminal console together with Qt support (Igor Vorobyev)
Date: 29 Jan, 2018
From: John Allison <John Allison>

On Mon, 29 Jan 2018 10:32:22 GMT, Igor Vorobyev wrote: > Maybe, this explanation is better.

Not really. But let me guess some more.

> For example, I created project files

Do you mean Qt project files? Don't use them.

> without Qt support,

Do you mean Qt Creator? Don't use it.

> but with
> terminal commands and with some text editor.

Yes. most us do that.

> And in this project

You mean your application?

> I
> output some messages per event in terminal console.

Yes. Good idea.

> I want to see these
> messages.

Yes. I understand.

> And I execute command /run/beamOn 10000000000 and etc., for
> example. Without visualization.

OK.

> 
> If my program will start with Qt interface (without visualization), Qt
> console will freeze - and I won't see my messages per event.

Yes, that is true.

> But I want!
> I need it! I want output my messages to terminal console.

Yes. I understand. So why not start your application with the terminal, using ~/g4session, as I suggested?

> 
> 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.

You can keep the Qt flags - they will be ignored if you request tcsh in your ~/.g4session. Or you can build your app on top of Geant4 libraries that have been built without Qt.

Sorry if I still misunderstand.

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   (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 ]