When I put everything in a jar file (class files and resources), then 
everything is works like expected. So it seems that the problem is related to 
finding resources on the classpath or in a jar-file. Hopefully this information 
helps finding the problem.

/Dimitri



Dimitri Frederickx <[EMAIL PROTECTED]> wrote:
 
> Yes, the examples work. I see the documentation and images. Strange that it 
> doesn't work for my own program anymore. I've tested it on Windows and on 
> Mac.
> 
> The files I want to open are just in a directory that is on my classpath.
> 
> I'm working with eclipse. I've created a java project and from withing that 
> project I launch my application. The following is also on my classpath:
> - jre 1.5
> - qtjambi-4.4.0_01.jar
> - qtjambi-macosx-gcc-4.4.0_01.jar
> 
> 
> 
> 
> 
> Eskil Abrahamsen Blomfeldt <[EMAIL PROTECTED]> wrote:
>  
>> Hi, Dimitri.
>> 
>> Dimitri Frederickx wrote:
>>>
>>> So it seems that the "classpath:" functionality is broken in Qt Jambi 
>>> 4.4. Did something changed in Qt Jambi 4.4?
>> 
>> Yes, the classpath file engine went through some rewrites and 
>> optimizations in Qt Jambi 4.4, so I'm guessing this is related to those. 
>> When you run the Qt Jambi Example Launcher, do you get documentation, 
>> list of examples, icons, images, etc. there? All this goes through the 
>> class path engine, so if it works, then there's something different 
>> going on in your particular use case.
>> 
>> Could you tell me specifically where the file you are trying to open 
>> resides (does it reside in a directory on the local disk or inside a 
>> ..jar file?) and how the path to this directory is specified in your 
>> class path? Also: Which platform are you on, please?
>> 
>> -- Eskil
>> 
>> 
>> 
>> 
> 
> 

_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to