Skip to content
  • Ahmad Samir's avatar
    Fix build with older ECM versions · fc9f97df
    Ahmad Samir authored
    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).
    fc9f97df