organicmaps/organicmaps

[CI] Inconsistent Qt6 versions used in GitHub Actions for MacOS and Linux

Aperta

#5435 aperta il 2 lug 2023

 (1 commento) (0 reazioni) (0 assegnatari)C++ (761 fork)batch import
BugGood first issue

Metriche repository

Star
 (7887 stelle)
Metriche merge PR
 (Merge medio 13g 6h) (91 PR mergiate in 30 g)

Descrizione

Describe the issue Inconsistent Qt6 versions used is GitHub Actions for MacOs and Linux. Right now we have

Linux:

sudo apt install -y qt6-base-dev libqt6svg6-dev    # Qt version: 6.2.4

MacOS:

brew install qt@6    # Qt version: 6.5.1

This issue results in deprecation warnings on MacOS, which currently remain hidden due to the -Wno-deprecated-declarations flag being set. However, it poses a potential risk of introducing bugs or disrupting the CI process when deprecated functions are eventually eliminated in a future release of Qt. It is imperative to explicitly set the Qt version for both workflows.

Expected behavior Same versions of Qt are used for all platforms on CI.

Guida contributor