[cmake-developers] FinQt4/UseQt4 / module QtWebKit isn't found with Qt 4.8.1 even if installed
Adrien Guinet
adrien at guinet.me
Wed May 16 00:51:03 EDT 2012
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,
--
Adrien.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmake-2.8.8-findqt4-webkit.patch
Type: text/x-patch
Size: 1860 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120516/c08111ef/attachment-0002.bin>
More information about the cmake-developers
mailing list