On Wed, 16 May 2012 08:34:22 +0200, Michael Wild <them...@gmail.com> wrote: > On 05/16/2012 06:51 AM, Adrien Guinet wrote: >> Hello everyone, >> >> It seems that, in Qt 4.8.1 (at least in the Debian packages), the >> QtWebKit >> module isn't shipped in a separated .so (libQtWebKit.so). >> Thus, this makes FindQt4.cmake fails to find the QtWebkit modules, >> beucase >> a module is considered found when both its libraries files and >> directories >> are found. As a consequence, include directories are not set if the >> QT_USE_QTWEBKIT variable is set to TRUE (for instance), and code fails to >> compile. >> >> I don't know if this is an issue with the Debian packages of Qt (last >> packages in sid as of today), or if Qt decided to build QtWebkit within >> QtGui. >> >> Attached to this mail is a temporary patch (well, an ugly *hack* >> actually) >> that I am using (against FindQt4.cmake) : >> >> Thanks for any help or comments about this ! >> >> Regards, >> > > Do you have the libqtwebkit-dev package installed? > > Michael
Yes I have (first thing I checked...), but this package does not contain any .so anymore : $ dpkg -c /var/cache/apt/archives/libqtwebkit-dev_2.1.0~2011week13-2_amd64.deb |egrep "\.so" lrwxrwxrwx root/root 0 2011-06-20 16:17 ./usr/lib/libQtWebKit.so -> libQtWebKit.so.4.8.0 I updated libQtWebKit using the last *sid* package, and the libqtwekit.so library came back : $ dpkg -c /var/cache/apt/archives/libqtwebkit-dev_2.2.1-4+b1_amd64.deb |egrep "\.so" -rw-r--r-- root/root 22960 2012-05-16 01:44 ./usr/lib/x86_64-linux-gnu/qt4/plugins/designer/libqwebview.so lrwxrwxrwx root/root 0 2012-05-16 01:43 ./usr/lib/x86_64-linux-gnu/libQtWebKit.so -> libQtWebKit.so.4.9.0 So, I think this is more a debian issue than anything else ! CMake works fine with the updated package, so sorry for the noise ! Regards, -- Adrien. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers