[Paraview] Qt QTWEBKIT library not found

Magician f_magician at mac.com
Sat Apr 14 05:21:17 EDT 2012


I had been trying to rebuild ParaView, and finally successed.

I installed Qt at /usr/local, and cmake couldn't find QtWebKit libraries.
I couldn't look up them by "find" command, but they were in
/usr/local/include/QtWebKit, and QtWebKit Library was in
/usr/local/lib/libQtWebKit.so.4.#.#.
I set these libraries on cmake's CUI, and built ParaView successfully.
(Qt 4.7.4 dumped errors on making ParaView, so I used Qt 4.6.4.)

But when I started ParaView, I got an error about shared QtWebKit library.
I made a symbolic link of libQtWebKit.so.4 in /usr/local/lib/paraview,
then ParaView was started successfully.


Magician


On 2012/04/08, at 17:03, Magician wrote:

> Utkarsh,
> 
> 
> I rebuilt Qt with "-webkit" option, but cmake still dumped same errors.
> My Qt source is:
> ftp://ftp.trolltech.no/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz
> 
> Comparing my Mac (able to build ParaView), I could find:
>> QT_QTWEBKIT_INCLUDE_DIR          /opt/local/include/QtWebKit
>> QT_QTWEBKIT_LIBRARY_RELEASE      /opt/local/lib/libQtWebKit.dylib
> 
> So I tried to find my QtWebKit and libQtWebKit on my CentOS.
> I found QtWebKit in:
> /usr/local/include/Qt
> /usr/local/include/QtWebKit
> But no libQtWebkit was found by "find" command.
> 
> I rebuild Qt again.... :(
> 
> 
> Magician
> 
> 
> On 2012/04/07, at 0:16, Utkarsh Ayachit wrote:
> 
>> Since you're building Qt from source, try to reconfigure and build Qt
>> with WebKit enabled. Your configure command for QT should look
>> something like follows:
>> 
>> ./configure  -webkit -xmlpatterns <any other params>
>> 
>> Then, before Qt starts building, it spits out a block of text saying
>> what features were enabled/disabled. Pay close attention to that. Post
>> that piece of test if needed. That should tell you if webkit was
>> enabled or disabled.
>> 
>> ParaView doesn't currently support not building with WebKit support
>> (except for using John's patch).
>> 
>> Utkarsh



More information about the ParaView mailing list