Building Plymouth-kcm-5.17.3 against Qt 5.14.0_beta3 fails to build.
I don't have much experience with QT/KDE programming but these
changes are sufficient to fix the build error on my end.
BUG: 414679
jriddell | |
davidedmundson |
Plasma |
Building Plymouth-kcm-5.17.3 against Qt 5.14.0_beta3 fails to build.
I don't have much experience with QT/KDE programming but these
changes are sufficient to fix the build error on my end.
BUG: 414679
Lint Skipped |
Unit Tests Skipped |
You'll find this with the other repos too.
In general I've been reverting the relevant path of the cmake that forces no deprecated.
src/kcm.cpp | ||
---|---|---|
55 | You could use QT_VERSION_CHECK to make the code more readable, e.g. #if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) qmlRegisterType<QStandardItemModel>(); qmlRegisterType<KCMPlymouth>(); #else qmlRegisterAnonymousType<QStandardItemModel>("KCMPlymouth", 1); qmlRegisterAnonymousType<KCMPlymouth>("KCMPlymouth", 1); #endif |