[Interest] Run Console and windows screen
K. Frank
kfrank29.c at gmail.com
Mon Oct 28 16:25:38 CET 2013
Hi Daniel!
On Mon, Oct 28, 2013 at 9:31 AM, Daniel Mota <> wrote:
> Hi Frank, this is the small example suggested by you.
>
> I packed the complete project folder so that you have all files generated.
>
> I sent only to you for not uploading a 5 Mb file to the group, but if you
> think there's no problem, I can do it.
No, I was thinking of something different (and smaller) than 5 Mb.
I didn't look at the file you attached, but I'm assuming at this size
it's the project for your entire optimization app.
I was suggesting that you just try a minimal test where you have
a toy Qt gui app write to cout and include CONFIG += console
in your .pro file.
You should be able to do this with a single .cpp file that's maybe
a dozen lines, and a single .pro file that is only a few lines. That
should be at most a few kilobytes.
If you can display a gui and write to the console, then you are on
your way to doing the same with your real app; if not, then I would
be happy to try building and running your simple test app on my
system. If it works for me, but not for you, then we will have a
puzzle, but at least we'll have a starting point for debugging.
> Thanks for your help
> Best regards
>
> Daniel
Cheers!
K. Frank
> On Mon, Oct 28, 2013 at 11:15 AM, K. Frank <> wrote:
>>
>> Hello Daniel!
>>
>> On Mon, Oct 28, 2013 at 6:36 AM, Daniel Mota <> wrote:
>> > Hi Etienne,
>> > I have the application running, and I included the CONFIG tag in the
>> > .pro,
>> > with no success.
>>
>> As Etienne said, having CONFIG += console in your .pro file
>> _should_ work. (It works for me.)
>>
>> > I am using Windows 8, and Visual Studio.
>> > Does it make any difference?
>>
>> I wouldn't think that windows 8 or vs would matter. (I am using
>> mingw and mingw-w64 on windows 7.)
>>
>> Perhaps you could try a very small, simple "hello world" application
>> (with a very small, simple .pro file). If getting your "cout <<" to
>> the console still doesn't work, post it here, and I'll be happy to
>> try it out on my system.
>>
>> > Thanks again!
>> > Daniel
>>
>> Good luck.
>>
>> K. Frank
>> ...
More information about the Interest
mailing list