Hi, Do you already have a QT windowed application running? In that case, adding CONFIG+=console in your .pro file will enable the console, just add the cout<<'s and it will work (I actually do it)
Don't forget that if you run the app in Qt Creator, it doesn't open a console by default, but displays the output to the "Application Output" pane instead. You need to check the "Run in Terminal" option in the Run settings of the Project config. Etienne 2013/10/27 Daniel Mota <danielmota.produ...@gmail.com> > Hi Tony! > > I think by answering you, I may give some clarification to Frank as well. > > I already have the console application running. (actually, it is giving me > good benchmark results) > > In another project, I already have the windows application running as well > (is not very fancy, but it is nice!). > > but I could not find a way to put both working together, what means... OR > I can see the paths being updated, OR I can see the "COUT <<" printed in > the screen, but I could not find a way to see the paths being linked, and > the console giving me information at the background. > > Is it better now? > > Once again, thanks a lot guys! > > > Daniel > > > > > On Sat, Oct 26, 2013 at 1:10 AM, Tony Rietwyk <t...@rightsoft.com.au>wrote: > >> Hi Daniel, **** >> >> ** ** >> >> I'm still confused... you haven't said how you want to get the results >> into the window app: **** >> >> ** ** >> >> - Is the console application already written, and you want to read the >> output and update your window? **** >> >> ** ** >> >> - Or you want the console application to send the data and results to the >> window app some other way? **** >> >> ** ** >> >> - Or do you want to incorporate the algorithm code into a window app, and >> therefore don't actually need the console? **** >> >> ** ** >> >> - Or something else...?**** >> >> ** ** >> >> Regards, **** >> >> ** ** >> >> Tony**** >> >> ** ** >> >> ** ** >> >> *From:* interest-bounces+tony=rightsoft.com...@qt-project.org [mailto: >> interest-bounces+tony=rightsoft.com...@qt-project.org] *On Behalf Of *Daniel >> Mota >> *Sent:* Saturday, 26 October 2013 10:07 AM >> *To:* K. Frank >> *Cc:* Qt-interest >> *Subject:* Re: [Interest] Run Console and windows screen**** >> >> ** ** >> >> Thanks again Frank**** >> >> ** ** >> >> I think a picture worth a thousand words...**** >> >> ** ** >> >> That's what I am trying to do... **** >> >> ** ** >> >> http://www.youtube.com/watch?v=siW7koL086E**** >> >> ** ** >> >> Just remarking some points:**** >> >> ** ** >> >> 1) I am running under windows, not Linux**** >> >> 2) My focus is on the screen, I have the algorithm**** >> >> 3) It is not a homework... is a self learning effort, I am a researcher** >> ** >> >> ** ** >> >> ** ** >> >> Could you gimme some directions?**** >> >> ** ** >> >> once again, thanks a lot!**** >> >> ** ** >> >> Best regards**** >> >> ** ** >> >> Daniel **** >> >> _______________________________________________ >> Interest mailing list >> Interest@qt-project.org >> http://lists.qt-project.org/mailman/listinfo/interest >> >> > > > -- > _______________________________ > M. Sc. Daniel de Oliveira Mota > UFJF / NCA&T > Management Science - Operational Research > > "The best way to predict the future is to invent it" Alan Key > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest