a310319a04 (qt/qtbase/dev) a310319a04 (qt/tqtc-qtbase/dev) 7fe7441075 (qt/qtbase/6.3) 7fe7441075 (qt/tqtc-qtbase/6.3) 0284168bc3 (qt/qtbase/6.4) 0284168bc3 (qt/tqtc-qtbase/6.4) 1402ebd7ed (qt/tqtc-qtbase/6.2)
Qt ships 2 Find modules for the double conversion library:
This is troublesome if somebody who builds Qt wants to user their own Finddouble-conversion.cmake file, because the Qt one is always preferred.
One particular use case of this is building Qt with 3rd party dependencies provided by Conan, where Conan would generate its own Finddouble-conversion.cmake file.
To allow others to provide their own file, we should instead merge the contents of Finddouble-conversion.cmake into FindWrapDoubleConversion.cmake and only use that code if the 3rd party one could not be found.
This is a slight behavior change, and might cause some issues in case if pre-existing Finddouble-conversion files in the wild are broken (we've had multiple issues we had to work around with harfbuzz config files for example).
At the same time, for consistency, we could rename the file to FindWrapSystemDoubleConversion.cmake
|For Gerrit Dashboard: QTBUG-104541|
|419744,3||CMake: Rewrite double-conversion find module||dev||qt/qtbase||Status: MERGED||+2||0|
|419947,2||CMake: Rewrite double-conversion find module||6.4||qt/qtbase||Status: MERGED||+2||0|
|419948,2||CMake: Rewrite double-conversion find module||6.3||qt/qtbase||Status: MERGED||+2||0|
|419955,3||CMake: Rewrite double-conversion find module||tqtc/lts-6.2||qt/tqtc-qtbase||Status: MERGED||+2||0|