Hi,

I just tried the following sequence of commands locally with no pre-existing 
directory, and everything worked fine.

git clone "ssh://<my-username>@codereview.qt-project.org:29418/qt/tqtc-qt5" 
qt6_new
cd qt6_new
git checkout origin/tqtc/lts-6.5.4
./init-repository --module-subset=qt5compat

Can you confirm whether the same works for you, to figure out whether this is a 
general issue, or an issue with the state of your pre-existing checkout?

Also please show the output of running 'git rev-parse HEAD' in your 
pre-existing qt5compat directory and in your tqtc-qt5 directory.


> On 9. Feb 2024, at 10:33, Nuno Santos via Interest <interest@qt-project.org> 
> wrote:
> 
> Thiago,
> 
> Doing just:
> 
> git submodule init qt5compat does nothing, the directory remains empty
> 
> Curiously it says the same thing as the perl init repository if I do:
> 
> git submodule update --init --recursive qt5compat
> 
> fatal: Unable to find current revision in submodule path ‘qt5compat’
> 
> ➜  tqtc-qt5 git:(v6.5.4-lts) ✗ cat .gitmodules | grep qt5compat
> [submodule "qt5compat"]
> path = qt5compat
> url = ../tqtc-qt5compat.git
> alias = qt/qt5compat
> 
> Any ideas?
> 
> Best,
> 
> Nuno
> 
> 
>> On 9 Feb 2024, at 00:37, Thiago Macieira <thiago.macie...@intel.com> wrote:
>> 
>> On Thursday, 8 February 2024 13:28:10 PST Nuno Santos via Interest wrote:
>>> One question. I’m not interested in all the modules. Just some of them. If I
>>> do that I will unit all the modules and therefore the build will contain
>>> them all right?
>> 
>> Correct.
>> 
>> You can do "git submodule init" for each of the modules you want.
>> 
>> Alternatively, you can clone and build just the modules you want. You don't 
>> need the top-level dir.
>> 
>> -- 
>> Thiago Macieira - thiago.macieira (AT) intel.com
>> Cloud Software Architect - Intel DCAI Cloud Engineering
>> _______________________________________________
>> Interest mailing list
>> Interest@qt-project.org
>> https://lists.qt-project.org/listinfo/interest
> 
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to