Skip to content

Add support for building against Qt6#81

Open
FMeinicke wants to merge 1 commit intoAbleton:mainfrom
FMeinicke:qt6_support
Open

Add support for building against Qt6#81
FMeinicke wants to merge 1 commit intoAbleton:mainfrom
FMeinicke:qt6_support

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