Skip to content

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

updated Qt to 6.9.0 #7433

wants to merge 1 commit into from

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
Copy link
Collaborator Author

firewave commented Apr 8, 2025

I guess we wait with this until the next version because then Qt 5 will be removed (#6678) and we can simply the drop the VS2019.

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.

1 participant