[Qt-interest] install message handler

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Thu Sep 2 11:47:43 CEST 2010


On 2010-09-02 Sajjad Sajjad wrote:

> ...
>     static QFile *file = new QFile(":/H3D/debugOut.txt");
> ...
>         out << "Debug" << QString(msg);

Not sure, but don't you have to *open* the file first before writing into it? Check the Qt docs for QFile.

Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22






More information about the Qt-interest-old mailing list