[Qt-creator] Cout not printing

Jothy jothybasu at gmail.com
Thu Jul 22 16:41:53 CEST 2010


Yes, it works fine!

Does anyone have experience of using boost libraries with QtCreator?

If so, any instruction on how to use.

I think we should start a WIKI page for Qt Creator.

Thank you

Jothy

On Thu, Jul 22, 2010 at 3:30 PM, Coda Highland <coda at bobandgeorge.com>wrote:

> Why not use qDebug() then? qDebug() << "printing"; should work fine.
>
> On Thu, Jul 22, 2010 at 9:18 AM, Jothy <jothybasu at gmail.com> wrote:
> > No, even with "std::cout << "printing" << std::endl;" - it doesn't print
> ,
> > prints only for console projects.
> >
> > Thanks,
> >
> > Jothy
> >
> > On Thu, Jul 22, 2010 at 3:15 PM, Christian Kandeler
> > <christian.kandeler at nokia.com> wrote:
> >>
> >> On 07/22/2010 04:11 PM, ext Jothy wrote:
> >> > Hi all,
> >> >
> >> > I am trying to print a string with cout, but it's not printing at all!
> >> >
> >> > I have included #include<iostream>
> >> >
> >> > then
> >> >
> >> > cout<<"printing";
> >> >
> >> > But, nothing prints, while the application compiles and runs fine.
> >>
> >> Not a Qt Creator problem.
> >> You have to flush the output:
> >> std::cout << "printing" << std::endl;
> >>
> >>
> >> Christian
> >> _______________________________________________
> >> Qt-creator mailing list
> >> Qt-creator at trolltech.com
> >> http://lists.trolltech.com/mailman/listinfo/qt-creator
> >
> >
> > _______________________________________________
> > Qt-creator mailing list
> > Qt-creator at trolltech.com
> > http://lists.trolltech.com/mailman/listinfo/qt-creator
> >
> >
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100722/15190ebf/attachment.html 


More information about the Qt-creator-old mailing list