Re: [Interest] console on OSX

2016-09-22 Thread Konstantin Shegunov
On Thu, Sep 22, 2016 at 12:27 PM, René J.V. Bertin wrote: > > That's fine if you're running in a terminal emulator which already > connects the keyboard to stdin, and stdout to the display... > Right, I misunderstood, sorry. ___ Interest mailing list In

Re: [Interest] console on OSX

2016-09-22 Thread René J . V . Bertin
On Thursday September 22 2016 12:03:21 Konstantin Shegunov wrote: > QTextStream isn't good for that? > > QTextStream in(stdin), out(stdout); That's fine if you're running in a terminal emulator which already connects the keyboard to stdin, and stdout to the display... __

Re: [Interest] console on OSX

2016-09-22 Thread Konstantin Shegunov
On Thu, Sep 22, 2016 at 11:09 AM, René J. V. Bertin wrote: > but just need to be able to read from stdin and write to > stdout/stderr? > QTextStream isn't good for that? QTextStream in(stdin), out(stdout); int readFromConsole; in >> readFromConsole; out << readFromConsole; ___

Re: [Interest] console on OSX

2016-09-22 Thread René J . V . Bertin
Thiago Macieira wrote: PS: is there no (free) 3rd party QtConsole class out there, one that implements a more-or-less minimal console for applications that do not use *curses, readline, etc. but just need to be able to read from stdin and write to stdout/stderr? R. ___

Re: [Interest] console on OSX

2016-09-22 Thread René J . V . Bertin
Thiago Macieira wrote: > For macOS, there may be something equivalent in the Info.plist file for your > bundle. Please consult Apple documentation. No, not that I know of. The automatic way of launching a console application via Terminal is to build is as a traditional (POSIX-style) executable

Re: [Interest] console on OSX

2016-09-19 Thread Thiago Macieira
On segunda-feira, 19 de setembro de 2016 13:51:00 PDT Thiago Macieira wrote: > On segunda-feira, 19 de setembro de 2016 21:56:12 PDT Alexander Carôt wrote: > > Hi all, > > > > in my pro file I added CONFIG += console in order to have console output. > > > > This works fine on Windows but on OSX t

Re: [Interest] console on OSX

2016-09-19 Thread Thiago Macieira
On segunda-feira, 19 de setembro de 2016 21:56:12 PDT Alexander Carôt wrote: > Hi all, > > in my pro file I added CONFIG += console in order to have console output. > > This works fine on Windows but on OSX the console does not show up. > > Is there anything I need to add ? You need to launch T

[Interest] console on OSX

2016-09-19 Thread Alexander Carôt
Hi all, in my pro file I added CONFIG += console in order to have console output. This works fine on Windows but on OSX the console does not show up. Is there anything I need to add ? Thanks in advance, best Alex -- http://www.carot.de Email : alexan...@carot.de Tel.: +49 (0)177 5719797 ___