Skip to content
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

Add support for building against Qt6 #81

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

Conversation

FMeinicke
Copy link
Contributor

  • Update CMakeLists.txt to try to load Qt6 and fallback to Qt5 if this is not possible
  • Update C++ standard requirement to C++17 since Qt6 requires a C++17 compiler now
  • Replace removed QRegExp with QRegularExpression
  • Replace QString::SkipEmptyParts with Qt::SkipEmptyParts

- Update CMakeLists.txt to try to load Qt6 and fallback to Qt5 if this
  is not possible
- Update C++ standard requirement to C++17 since Qt6 requires a C++17
  compiler now
- Replace removed `QRegExp` with `QRegularExpression`
- Replace `QString::SkipEmptyParts` with `Qt::SkipEmptyParts` for Qt>=6
  (in order to support all Qt5 versions we still have to use
  `QString::SkipEmptyParts` since `Qt::SkipEmptyParts` was first
  introduced with Qt 5.14)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant