Skip to content

fixed #13853 - updated Qt to 6.9.0 #7433

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 17, 2025
Merged

fixed #13853 - updated Qt to 6.9.0 #7433

merged 1 commit into from
May 17, 2025

Conversation

firewave
Copy link
Collaborator

@firewave firewave commented Apr 5, 2025

No description provided.

@firewave
Copy link
Collaborator Author

firewave commented Apr 5, 2025

D:\a\cppcheck\Qt\6.9.0\msvc2022_64\include\QtCharts\qxyseries.h(132,10): error C2143: syntax error: missing ';' before '<' [D:\a\cppcheck\cppcheck\build\gui\cppcheck-gui.vcxproj]
  (compiling source file '../../gui/statsdialog.cpp')

This is caused by the header using the deprecated QPair which we disabled.

Update: I filed https://bugreports.qt.io/browse/QTBUG-135637 about it.

@firewave firewave marked this pull request as draft April 5, 2025 09:29
@firewave
Copy link
Collaborator Author

firewave commented Apr 5, 2025

/home/runner/work/cppcheck/cppcheck/cmake.output/gui/test/resultstree/__/__/moc_projectfile.cpp:40:5: error: 'QtMocHelpers::StringRefStorage' may not intend to support class template argument deduction [clang-diagnostic-ctad-maybe-unsupported]
   40 |     QtMocHelpers::StringRefStorage qt_stringData {
      |     ^
/home/runner/work/cppcheck/Qt/6.9.0/gcc_64/include/QtCore/qtmochelpers.h:57:39: note: add a deduction guide to suppress this warning
   57 | template <typename... Strings> struct StringRefStorage
      |                                       ^
/home/runner/work/cppcheck/cppcheck/cmake.output/gui/test/resultstree/__/__/moc_projectfile.cpp:44:5: error: 'QtMocHelpers::UintData' may not intend to support class template argument deduction [clang-diagnostic-ctad-maybe-unsupported]
   44 |     QtMocHelpers::UintData qt_methods {
      |     ^
/home/runner/work/cppcheck/Qt/6.9.0/gcc_64/include/QtCore/qtmochelpers.h:211:37: note: add a deduction guide to suppress this warning
  211 | template <typename... Block> struct UintData
      |                                     ^

I filed https://bugreports.qt.io/browse/QTBUG-135638 about this.

Update: This causes a build failure with Visual Studio 2019.

@firewave
Copy link
Collaborator Author

firewave commented Apr 7, 2025

Qt 6.8.x already removed support for VS2019: https://doc.qt.io/qt-6.8/windows.html. So we should/need to remove that combination from the CI.

@firewave

This comment was marked as resolved.

@firewave

This comment was marked as resolved.

@firewave firewave changed the title updated Qt to 6.9.0 fixed #13853 - updated Qt to 6.9.0 May 15, 2025
@firewave firewave marked this pull request as ready for review May 16, 2025 19:45
@firewave
Copy link
Collaborator Author

Successful installer build with changes applied: https://github.com/danmar/cppcheck/actions/runs/15045760579.

I gave it a short spin and the GUI seems to work fine.

@firewave firewave merged commit 5147b19 into danmar:main May 17, 2025
53 checks passed
@firewave firewave deleted the qt-69 branch May 17, 2025 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants