geplaatst door: Devbizz
Beste lezers,

Ik heb het op het forum van Qt zelf ook al gevraagd maar een week later nog geen antwoord.
Hopelijk hier iemand die een oplossing weet, hieronder mijn post:

Citaat
Dear reader,

I am using Mac OS X Lion with the newest Qt version.
I have set the option “run in terminal” because I just started learning C++ so all I am doing at this point is writing console (terminal) applications.

I have set the path to my ‘terminal’ app.nWhen I press the run button to test my code, it will execute my terminal in OS X Lion succesfully, the only strange and anoying this is that it executes four (4) terminal windows. All 4 have gibberish in them, even the one which shows my code (only on top, it says something like last time visited i.e. used the terminal app).

Is there any way to prefent it from executing four (now it even executes more!) terminals everytime?
This is the screenshot. It seems that my Terminal runs some various Qt resources which I do not even ask for automatically.

http://img217.imageshack.us/img217/526/unled1rl.png

The image is pretty large so I didn’t use a image, but a link instead.
Hope this gives you a bit more info on what is wrong.


Best regards,

GZ

Komt er dus op neer dat wanneer ik een console applicatie schrijf en deze wil starten door op de knop "Run" te klikken dat er meerdere terminals geopend worden met diverse informatie er in welke ik gewoon weg niet wil zien. Hopelijk weet iemand een oplossing!

[Qt programmeren] Terminal.app start meerdere boxen op!
4 augustus 2011 - 18:28    reactie #1
geplaatst door: Pieterr
Ik vermoed dat het eerder aan Lion ligt dan aan QT.

Ik zie bij het draaien van Python programma's in Lion ook extra Terminal vensters opkomen. Ik heb me er tot nu toe nog niet zo druk over gemaakt. Als ik een oplossing vind zal ik het je laten weten.

Overigens: met QT heb ik in het verleden ook gewerkt. Als je QT vooral gekozen hebt om platformonafhankelijke programma's te schrijven moet je zeker ook eens naar Python kijken. Met wxPython heb je zo een GUI in elkaar gestekkerd die er nog Mac-like uitziet op de Mac ook. Maar ik dwaal af...  :smile:

"One experiment is worth a thousand expert opinions."
[Qt programmeren] Terminal.app start meerdere boxen op!
4 augustus 2011 - 18:34    reactie #2
geplaatst door: Devbizz
Ik had het probleem met OS X ook al, ben vorige weer geupgrade naar Lion dus het ligt niet aan Lion zelf haha.

Ik zal Python eens checken, dankjewel voor de tip!

[Qt programmeren] Terminal.app start meerdere boxen op!
23 mei 2014 - 08:21    reactie #3
geplaatst door: Pieterr
Klein schopje. Qt 5.3 is uit.
@Devbizz: Geen last van popup vensters bij console apps op Lion. :wink:

http://blog.qt.digia.com/blog/2014/05/20/qt-5-3-released/

Citaat

I’m happy to announce that Qt 5.3 has been released. The main focus for this release was performance, stability and usability. Nevertheless, Qt 5.3 has also gotten a fair amount of new features that help make developers’ lives easier.

Qt 5.2 has been a tremendous success, having been downloaded over 1 million times. With Qt 5.2, we delivered on our promise that Qt is a true cross-platform framework by adding Android and iOS support. Qt 5.3 is building on that foundation, and adding to it.

"One experiment is worth a thousand expert opinions."