[Qt-interest] What makes an application show a console?

Malyushytsky, Alex alex at wai.com
Sun May 9 22:47:16 CEST 2010


<<don't tell me CONFIG -= console, as these other gui apps don't have it, and anyway it doesn't change a dyme.

There are only 2 flags which  seems might be relevant:
windows and console which you may set to CONFIG.

If you change such option you might need to make sure project is rebuild ( it depends on the environment you use ).
If you use msvc project you might need either manually change subsystem option to Windows (/SUBSYSTEM:WINDOWS) project properties or regenerate the project.

In either way that us where you should look for solution,
If it does not change a dime mostly likely you don’t rebuild everything or do something else wrong.

Regards,
   Alex


From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Gabriele Kahlout
Sent: Sunday, May 09, 2010 11:15 AM
To: qt-interest at trolltech.com
Subject: [Qt-interest] What makes an application show a console?

Hello,

My GUI application also starts a cmd.exe window, along the window. While other qt gui projects i create in qt creator (to compare) don't. What could be in the DNA of my app to require that console?

don't tell me CONFIG -= console, as these other gui apps don't have it, and anyway it doesn't change a dyme.


--
Regards,
K. Gabriele

--- unchanged since 25/1/10 ---
P.S. Unless a notification (LON), please reply either with an answer OR with " ACK" appended to this subject within 48 hours. Otherwise, I might resend.
In(LON, this) ∨ In(48h, TimeNow) ∨ ∃x. In(x, MyInbox) ∧ IsAnswerTo(x, this) ∨ (In(subject(this), subject(x)) ∧ In(ACK, subject(x)) ∧ ¬IsAnswerTo(x,this)) ⇒ ¬IResend(this).

Also note that correspondence may be received only from specified a priori senders, or if the subject of this email ends with a code, eg. -LICHT01X, then also from senders whose reply contains it.
∀x. In(x, MyInbox) ⇒ In(senderAddress(x), MySafeSenderList) ∨ (∃y. In(y, subject(this) ) ∧ In(y,x) ∧ isCodeLike(y, -LICHT01X) ).


---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.

“This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you.”

“Please consider our environment before printing this email.”
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100509/7c0a7fe3/attachment.html 


More information about the Qt-interest-old mailing list