[Development] Massive amount of useless(?) .gitignore files in qtbase/tests

Thiago Macieira thiago.macieira at intel.com
Tue May 12 01:50:49 CEST 2026


On Monday, 11 May 2026 11:00:18 Pacific Daylight Time Christian Ehrlicher via 
Development wrote:
> There is a .gitignore file in nearly every subdirectoy of
> qtbase/tests/auto - they were added in qt4 times afaics. Do we still
> need them? We don't support in-source builds anymore so from my pov they
> are pretty useless and just slow down git.

Agreed. They existed because of in-source builds, because back in Qt 4 many 
tests actually had to be run from the source dir. I ended up fixing most of 
them that made sense still in the qmake-using days, but the final clean up only 
happened for 6.0 by the CMake-porting team.

And, of course, the porting to some devices (Android, iOS) made quite a few 
more changes.

I support removing them all. If people notice running tests leave artefacts 
behind in the source dir, please fix the test instead of re-adding .gitignores.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Principal Engineer - Intel DCG - Platform & Sys. Eng.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5176 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20260511/a3e416f0/attachment-0001.bin>


More information about the Development mailing list