Hi Gerrit,

On Fri, 2004-09-03 at 04:39, Gerrit Voss wrote:
> Hi,
> 
> yep, this is one of the really ugly problems nobody came up with a good
> solution for. The simple fix is add the following code before you call
> read :
> 
> for(int ui = 0; ui < filename.length(); ui++)
>     if(filename[ui] == '/')
>         filename[ui] = '\\';
> 
> The problem is that the loader tries to guess if you provide a unix or
> windows path and in this case it guesses wrong because qt returns / 
> instead of \ as the dir sep.

Hm, wasn't the PathHandler supposed to detect the system it's running on
and map the separators to the correct one? What am I missing?

Thanks

        Dirk




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to