Rainer, Thanks for your reply.
I have tried to do: git submodule sync —recursive And then run again: perl init-repository -f --module-subset=qt5compat,qtbase,qtdeclarative,qtimageformats,qtmultimedia,qtshadertools,qtsvg,qtwebsockets But the same problem happened: fatal: Unable to find current revision in submodule path 'qt5compat' git submodule update --force --no-fetch exited with status 32768 at init-repository line 207. Qt::InitRepository::exe(Qt::InitRepository=HASH(0x12f80b7d8), "git", "submodule", "update", "--force", "--no-fetch") called at init-repository line 452 Qt::InitRepository::git_clone_all_submodules(Qt::InitRepository=HASH(0x12f80b7d8), "tqtc-qt5", 0, "", "qt5compat", "qtbase", "qtdeclarative", "qtimageformats", ...) called at init-repository line 674 Qt::InitRepository::run(Qt::InitRepository=HASH(0x12f80b7d8)) called at init-repository line 685 Does anyone knows how to overcome this problem? Thank you in advance! Best regards, Nuno > On 6 Feb 2024, at 15:19, Rainer Wiesenfarth <rainer_wiesenfa...@trimble.com> > wrote: > > Not sure how Qt handles this, but whenever I ran into similar issues with git > submodules, a > > git submodule sync --recursive > > on the top level solved it. > > Background: The submodules' remote repository may have changed in > .gitmodules, but the submodule itself still references the outdated remote > repository. > > Cheers, Rainer > > On Tue, Feb 6, 2024 at 4:06 PM Nuno Santos via Interest > <interest@qt-project.org <mailto:interest@qt-project.org>> wrote: >> It seems that the same happens for qtshadertools: >> >> fatal: Unable to find current revision in submodule path ‘qtshadertools' >> >> > On 6 Feb 2024, at 15:02, Nuno Santos <nuno.san...@imaginando.pt >> > <mailto:nuno.san...@imaginando.pt>> wrote: >> > >> > Hi, >> > >> > While trying to build Qt 6 from source I’m having this error while >> > initialising the necessary modulates with the following line: >> > >> > ➜ tqtc-qt5 git:(v6.5.4-lts) perl init-repository >> > --module-subset=qt5compat,qtbase,qtdeclarative,qtimageformats,qtmultimedia,qtshadertools,qtsvg,qtwebsockets >> > >> > >> > fatal: Unable to find current revision in submodule path 'qt5compat' >> > git submodule update --force --no-fetch exited with status 32768 at >> > init-repository line 207. >> > Qt::InitRepository::exe(Qt::InitRepository=HASH(0x122808bd8), "git", >> > "submodule", "update", "--force", "--no-fetch") called at init-repository >> > line 452 >> > >> > Qt::InitRepository::git_clone_all_submodules(Qt::InitRepository=HASH(0x122808bd8), >> > "tqtc-qt5", 0, "", "qt5compat", "qtbase", "qtdeclarative", >> > "qtimageformats", ...) called at init-repository line 674 >> > Qt::InitRepository::run(Qt::InitRepository=HASH(0x122808bd8)) called >> > at init-repository line 685 >> > >> > Does anyone know how to overcome this? >> > >> > Thanks! >> > >> > Nuno >> >> _______________________________________________ >> Interest mailing list >> Interest@qt-project.org <mailto:Interest@qt-project.org> >> https://lists.qt-project.org/listinfo/interest > > > -- > > Rainer Wiesenfarth > Senior Software Engineer > Geospatial Division > > > > Rotebühlstr. 81, 70178 Stuttgart > Germany > > rainer_wiesenfa...@trimble.com <mailto:rainer_wiesenfa...@trimble.com> > geospatial.trimble.com/products-and-solutions/trimble-inpho > <https://geospatial.trimble.com/products-and-solutions/trimble-inpho> > > Trimble Services GmbH, Am Prime Parc 11, 65479 Raunheim, Eingetragen beim > Amtsgericht Darmstadt unter HRB 83893, Geschäftsführer: Rob Reeder, Jürgen > Kesper > _______________________________________________ > 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