I tried the first solution and it worked without a problem. Thanks for the 
information.

/Dimitri



Eskil Abrahamsen Blomfeldt <[EMAIL PROTECTED]> wrote:
 
> Dimitri Frederickx wrote:
>> Hi,
>>
>> I've downloaded the Qt Jambi 4.4 preview for Windows. When I try to 
>> create a QWebView, I'm getting the error specified below. Does someone 
>> has a clue of what is going wrong and how the problem can be solved?
> 
> Hi, Dimitri and thank you for the report.
> 
> The problem is a bug in our WebKit bindings. In order to load QtWebKit 
> it needs to preload QtNetwork, and this code is missing.
> 
> Please use one of the following workarounds until the final release is out:
> 
> 1. Add the following code to the class containing your main() method:
> 
>     static {
>         com.trolltech.qt.Utilities.loadQtLibrary("QtCore");
>         com.trolltech.qt.Utilities.loadQtLibrary("QtNetwork");
>     }
> 
> 2. Add "path/to/jambi/bin" to your PATH environment variable.
> 
> Please note that while the first option adds bandaid code to your 
> source, I recommend using it, as it will make sure your application is 
> able to run against the Qt Jambi .jar files, which would make it easier 
> to move it from system to system. With option 2 you will have to 
> manually set the PATH on any machine where you want to run the application.
> 
> The bug will of course be fixed for the final release of Qt Jambi 4.4.0.
> 
> -- Eskil
> 

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

Reply via email to