[Interest] qmake exclude modules

Phil Hannent phil at hannent.co.uk
Thu Sep 19 10:22:39 CEST 2013


Good morning,

On 18 September 2013 15:48, Thiago Macieira <thiago.macieira at intel.com> wrote:
> 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.
Thank you very much for the clarification.

Phil



More information about the Interest mailing list