[Interest] qmake exclude modules

Thiago Macieira thiago.macieira at intel.com
Wed Sep 18 16:48:17 CEST 2013


On quarta-feira, 18 de setembro de 2013 13:46:28, Phil Hannent wrote:
> Ok, so I went digging into qt_lib_webkit.pri file and found:
> 
> QT.webkit.depends = core gui network

This one declares what your -I should be because you really can't write 
QtWebKit code without those includes. The classes from QtCore, QtGui and 
QtNetwork are used in the QtWebKit headers.

> and then:
> 
> QT.webkit.run_depends = sensors qml quick sql core gui multimedia
> 
> That's really strange, why would the two be different and why would
> qml and quick be required?

The second one declares what QtWebKit uses at runtime, what the library is 
linked to. It's impossible to load a program using QtWebKit without those 
modules getting loaded.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130918/ca0f016a/attachment.sig>


More information about the Interest mailing list