[cmake-developers] [CMake 0014685]: cmake-gui does not display text in console
Mantis Bug Tracker
mantis at public.kitware.com
Tue Jan 7 04:15:03 EST 2014
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=14685
======================================================================
Reported By: Woomla
Assigned To:
======================================================================
Project: CMake
Issue ID: 14685
Category: QtDialog
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-01-07 04:15 EST
Last Modified: 2014-01-07 04:15 EST
======================================================================
Summary: cmake-gui does not display text in console
Description:
Cmake-gui does not display any text in a windows console.
Steps to Reproduce:
1. Start console: cmd.exe.
2. Execute: cmake-gui --help.
Additional Information:
I expect the help text to be displayed, just like cmake does.
Instead nothing seems to happen, no gui, no help text.
Running: cmake-gui --help cmake-help.txt creates the file with the expected
text. I was looking for the command-line parameters (-H and -B).
Probably the cause is that when writing to the console in a Qt GUI project (in
windows 8.1) the text is not written to the parent console. Redirecting the text
works.
To attach to the parent console I once did (when not starting the gui):
AttachConsole(-1);freopen("CONOUT$", "w", stdout);
But this leaves the console open...
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-01-07 04:15 Woomla New Issue
======================================================================
More information about the cmake-developers
mailing list