Fix build with older ECM versions
QT_MAJOR_VERSION is defined automatically by QtVersionOption (since ECM 5.82) which is included by KDEInstallDirs. For older ECM, if QT_MAJOR_VERSION isn't already set, default to 5. There is similar to what's used in polkit-qt-1 (which doesn't depend/use ECM at all).
Please register or sign in to comment