Qt-interest Archive, May 2008
RE: Unable to load QWebView with QUiLoader (resolved)
Message 1 in thread
I small addition to the question. The problem
appeared on the development computer in debug build,
but not in the release build.
The problem here was simply missing qwebviewd.dll.
When using uitools, qtwebkitd.dll is not enough,
but you need to compile a designer plugin before
it works. The release version of the dll,
qwebview.dll, is in plugins\designer readily
after Qt installation, but the debug version
must be compiled separately in Qt 4.4.0.
To do this, one just changes
tools/designer/src/plugins/qwebview/qwebview.pro
so that it is configured to do debug_and_release,
and then qmake + nmake debug compiles and installs
the dll for the development computer.
Still open question: how do you know what dlls to
are needed to run the ready application.
--
[ signature omitted ]
Message 2 in thread
Hi,
Thanks for your comming back on what you found out, that is usefull for the
list archive.
> Still open question: how do you know what dlls to
> are needed to run the ready application.
Use something like ldd (*nix) or dependency walker to find out the list of
dependencies of your application.
André
--
[ signature omitted ]
Message 3 in thread
>Thanks for your comming back on what you found out
Thank Trolltech support for the solution.
> > Still open question: how do you know what dlls to
> > are needed to run the ready application.
> Use something like ldd (*nix) or dependency walker to find out the list
> of dependencies of your application.
That is what I expected as well, but qwebviewd.dll does not
appear as a normal nor a delay-loaded dependency, nor the
documentation mentioned qwebview*.dll in any obvious place.
Evidently there is something special in these plugins,
RTFM could help.
--
[ signature omitted ]