[Development] Switch the main "Qt Build System"
Edward Welbourne
edward.welbourne at qt.io
Wed Jun 10 11:46:02 CEST 2020
On 10. Jun 2020, at 04:39, André Pönitz <apoenitz at t-online.de> wrote:
>> [...] at least in the early phases of a bisection one has to find out
>> what setup has to used to build a module, too.
Alexandru Croitor (10 June 2020 09:44) replied:
> Yes. But how could we improve this really? Do we create some file in
> the root tree called "repo_does_not_build_with_qmake_anymore.txt"?
No need for an extra file: just check for src/src.pro - if it's not
there, the module's in cmake-only state - and src/CMakeLists.txt - if
that's not there, the module's in qmake-only mode. If both are present,
use either or both. The first step of that is, of course, one more
argument in favour of killing *.pr[fio] as soon as we stop using them in
CI (since bisect is apt to fail after that, if it tries to use qmake,
due to the qmake config having bit-rotted).
Bisecting across the divide shall be "harder than usual" but such a
heuristic makes it *possible* for a script to do the build-and-test. As
time goes by, the need for such bisects shall become rarer.
Eddy.
More information about the Development
mailing list