Commit 0c739e6
fix: Address warnings with QSet::fromList in Qt 5.15
Starting with Qt 5.15, the conversion functions between QList and QSet
(e.g., `QSet::fromList`) have been deprecated in favor of range constructors.
This change updates the code to use the new range constructors to avoid
deprecation warnings starting from Qt 5.14 (instead of Qt 6)
Related upstream Qt commits:
* qt/qtbase@92f984273 ("Deprecate conversion functions between QList and QSet", 2019-05-07)
* qt/qtbase@e59e5643b ("Use QT_DEPRECATED_X instead of Q_DECL_DEPRECATED_X", 2020-02-25)
(cherry picked from commit commontk/PythonQt@630e376)1 parent 55ee2b4 commit 0c739e6
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
565 | | - | |
| 565 | + | |
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
| 480 | + | |
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
| |||
0 commit comments