[Qt-jambi-interest] [Qt Jambi 4.4] QFile bug

Dimitri Frederickx info at dimitrifrederickx.be
Wed Mar 12 21:25:48 CET 2008


Hi,

I'm creating a QFile and with the constructor I'm passing the location  
of the file:

QFile stylesheetFile = new QFile("classpath:stylesheets/default.css");

When I call the method:
stylesheetFile.open(QIODevice.OpenModeFlag.ReadOnly);

the method returns false. My code worked under Qt Jambi 4.3, and I  
didn't do any code change. When I replace the file location with an  
absolute path, everything is working fine.

So it seems that the "classpath:" functionality is broken in Qt Jambi  
4.4. Did something changed in Qt Jambi 4.4?

Regards,
Dimitri

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.trolltech.com/pipermail/qt-jambi-interest/attachments/20080312/d10e1ea9/attachment.html 


More information about the Qt-jambi-interest mailing list