[Interest] Run Console and windows screen

Daniel Mota danielmota.producao at gmail.com
Mon Oct 28 11:36:26 CET 2013


Hi Etienne,
I have the application running, and I included the CONFIG tag in the .pro,
with no success.

I am using Windows 8, and Visual Studio.

Does it make any difference?

Thanks again!

Daniel


On Mon, Oct 28, 2013 at 5:08 AM, Etienne Sandré-Chardonnal <
etienne.sandre at m4x.org> wrote:

> 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.producao at 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 <tony at 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.au at qt-project.org [mailto:
>>> interest-bounces+tony=rightsoft.com.au at 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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131028/164fcd23/attachment.html>


More information about the Interest mailing list