[Interest] Excluding Qt Modules

Jean-Michaël Celerier jeanmichael.celerier at gmail.com
Fri Oct 27 12:43:11 CEST 2017


> perl init-repository —module-subset=qtbase,qtdeclarative,etc

oh, TIL! I always used to do it manually with "git submodule update --init
qtbase qtdeclarative"



-------
Jean-Michaël Celerier
http://www.jcelerier.name

On Fri, Oct 27, 2017 at 12:16 PM, Nuno Santos <nunosantos at imaginando.pt>
wrote:

> But you were suggesting that… how do you do it?
>
> I have just checked out Qt source from git and was playing with the
> init-repository script. I was trying to make something like:
>
> > perl init-repository —module-subset=qtbase,qtdeclarative,etc
>
> Is this what you meant?
>
> Regards,
>
> Nuno
>
> On 27 Oct 2017, at 11:13, Jean-Michaël Celerier <
> jeanmichael.celerier at gmail.com> wrote:
>
> > How can I do the opposite? Initialising only the modules I want?
>
> don't think it's possible :(
>
>
>
> -------
> Jean-Michaël Celerier
> http://www.jcelerier.name
>
> On Fri, Oct 27, 2017 at 11:59 AM, Nuno Santos <nunosantos at imaginando.pt>
> wrote:
>
>> Jean,
>>
>> Thanks for your reply.
>>
>> By default all the modules are selected unless you specify which ones it
>> should skip.
>>
>> How can I do the opposite? Initialising only the modules I want?
>>
>> I’m starting with the source downloaded by Qt installer. I suppose that
>> that tactic needs that I start with the Qt source from git.
>>
>> Regards,
>>
>> Nuno
>>
>> On 27 Oct 2017, at 10:12, Jean-Michaël Celerier <
>> jeanmichael.celerier at gmail.com> wrote:
>>
>> > However, it doesn’t show the modules that can be included or excluded.
>>
>> well, every submodule in a git clone of qt5 can be excluded:
>> https://github.com/qt/qt5.
>> At the very least you'd want qtbase, and qtdeclarative if you're using
>> QML.
>>
>> A simpler way is to only initialize the submodules you want.
>>
>> Best,
>>
>>
>>
>>
>> -------
>> Jean-Michaël Celerier
>> http://www.jcelerier.name
>>
>> On Fri, Oct 27, 2017 at 10:55 AM, Nuno Santos <nunosantos at imaginando.pt>
>> wrote:
>>
>>> Hi,
>>>
>>> This documentation page explains how to exclude a module from the build.
>>>
>>> http://doc.qt.io/qt-5/configure-options.html#excluding-qt-modules
>>>
>>> However, it doesn’t show the modules that can be included or excluded.
>>>
>>> How can I get the list? Is there any command on the configure to make
>>> that? I can’t find it.
>>>
>>> Does Qt Configuration Tool works for Qt builds other than Qt for Device
>>> Creation builds?
>>>
>>> Regards,
>>>
>>> Nuno
>>>
>>> _______________________________________________
>>> 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/20171027/ff400dbc/attachment.html>


More information about the Interest mailing list