[Qt-jambi-interest] Demos bug
Bruno Janvier
bruno at contenta-software.com
Sat Jan 16 19:25:40 CET 2010
Here it is:
In Launcher.java
method is traverseDirectory(String directory)
The QDir object is constructed then entryInfoList() is called to
generate a list of QFileInfo.
The problem is that the list is empty. It should not.
The QDir is constructed with the String
"classpath:com/trolltech/examples" as parameter.
If I do a makeAbsolute on it and then print dir.absolutePath(),
it will display
"classpath:file:C:/Users/Bruno/workspace/qtjambi-examples/bin#com/trolltech/examples"
So the bug is that QDir do not seem to know how to handle "classpath:"
anymore.
QDir.java comes from the generator. I should have a look there, but it
won't fix anything.
The fix will need to be applied either in the generator or Qt itself.
I CC this to Gunnar in case he is able to enlighten us a little.
Cheers,
Bruno
More information about the Qt-jambi-interest
mailing list