QT window application with ocra and Open3.capture3 creates windows

33 views
Skip to first unread message

Cat Burgers

unread,
Oct 21, 2014, 1:33:01 PM10/21/14
to ruby...@googlegroups.com
We have a QT application that we bundle with OCRA. If we use --console, two different window are created when the EXE is started, a console window and the normal application window. If we use --windows, whenever we use Open3.capture3 to make system calls and capture the output, a console window appears.

Has anyone found a way to avoid seeing additional windows in this situation?

Lars Christensen

unread,
Oct 22, 2014, 6:08:17 AM10/22/14
to ruby...@googlegroups.com
Does the console window show when you run the same .rb script with rubyw.exe?

On Tue, Oct 21, 2014 at 7:33 PM, Cat Burgers <heistthe...@gmail.com> wrote:
We have a QT application that we bundle with OCRA. If we use --console, two different window are created when the EXE is started, a console window and the normal application window. If we use --windows, whenever we use Open3.capture3 to make system calls and capture the output, a console window appears.

Has anyone found a way to avoid seeing additional windows in this situation?

--
You received this message because you are subscribed to the Google Groups "OCRA One-Click Application Builder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-ocra+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Cat Burgers

unread,
Oct 22, 2014, 1:22:43 PM10/22/14
to ruby...@googlegroups.com
No it doesn't. 

Cat Burgers

unread,
Oct 23, 2014, 9:05:31 AM10/23/14
to ruby...@googlegroups.com
I should specify, running the script with rubyw will not create a console window, however each system calls made using Open3.capture3 will create a new console window (so it behaves like the bundled application). 

We use to bundle the application with rubyscript2exe and did not have this issue. 
Reply all
Reply to author
Forward
0 new messages