Re: [Interest] Excluding Qt Modules

2017-10-27 Thread Thiago Macieira
On Friday, 27 October 2017 02:59:06 PDT Nuno Santos 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? Option 1: clone only the ones you want.

Re: [Interest] Excluding Qt Modules

2017-10-27 Thread Konstantin Shegunov
On Fri, Oct 27, 2017 at 1:46 PM, Nuno Santos wrote: > > What’s the quickest way of clearing a Qt checked source for a new build? > make clean is very slow. > > What’s your approach in this case? > I usually do: $> git submodule foreach --recursive "git clean -dfx" && git clean -dfx As mentioned

Re: [Interest] Excluding Qt Modules

2017-10-27 Thread Nuno Santos
Konstantin, Cool! Today was actually the first time I looked to init-repository help! :) What’s the quickest way of clearing a Qt checked source for a new build? make clean is very slow. What’s your approach in this case? Thx! Nuno > On 27 Oct 2017, at 11:39, Konstantin Shegunov wrote: >

Re: [Interest] Excluding Qt Modules

2017-10-27 Thread Jean-Michaël Celerier
> 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 wrote: > But you were suggesti

Re: [Interest] Excluding Qt Modules

2017-10-27 Thread Konstantin Shegunov
On Fri, Oct 27, 2017 at 1:16 PM, Nuno Santos wrote: > > 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 > This is from init-repository: On

Re: [Interest] Excluding Qt Modules

2017-10-27 Thread Nuno Santos
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

Re: [Interest] Excluding Qt Modules

2017-10-27 Thread Konstantin Tokarev
27.10.2017, 12:59, "Nuno Santos" : > 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 su

Re: [Interest] Excluding Qt Modules

2017-10-27 Thread Jean-Michaël Celerier
> 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 wrote: > Jean, > > Thanks for your reply. > > By default all the modules are selected unless y

Re: [Interest] Excluding Qt Modules

2017-10-27 Thread Nuno Santos
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

Re: [Interest] Excluding Qt Modules

2017-10-27 Thread Jean-Michaël Celerier
> 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.

[Interest] Excluding Qt Modules

2017-10-27 Thread Nuno Santos
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 g