[Interest] qmake exclude modules

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Wed Sep 18 12:28:52 CEST 2013


Will webkit work w/o network?

I think it depends on the network module. Same might be true for other
modules, but I'm not sure.

HTH,
-mandeep


On Wed, Sep 18, 2013 at 3:19 PM, Phil Hannent <phil at hannent.co.uk> wrote:

> Hi,
>
> I am trying to remove some Qt modules that I don't need at the moment,
> however qmake isn't outputting a Makefile with the expected syntax. In
> my .pro file I have:
>
> QT += core gui webkit
>
> greaterThan(QT_MAJOR_VERSION, 4) {
>     message("Using QT5")
>     QT += widgets
>     QT += webkitwidgets
>     QT -= printsupport
>     QT -= sensors
>     QT -= qml
>     QT -= opengl
>     QT -= quick
>     QT -= network
>     QT -= multimedia
>     QT -= multimediawidgets
> }
>
> CONFIG   = qt warn_on debug_and_release
>
> So I am expecting things like QtSensors not to be in the includes or
> LIBS of the Makefile.Release however they are there. Is there some
> sort of dependency with webkit that drags in the other modules?
>
> Regards
> Phil
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130918/4902e28b/attachment.html>


More information about the Interest mailing list