Change CMake code to enable building against Qt 5 or 6
- forward declaring QStringList doesn't work with Qt6, instead #include it (for Qt6 we could use 'using QStringList = QList<QString>' but that wouldn't work with Qt5, and it's not worth an #ifdef, QStringList is common in Qt and KDE code anyway) - Add a copy constructor to PolkitQt1::Details, required because of QMetaType and the QESDP d-pointer By default this builds with Qt5, to build with Qt6 pass -DQT_MAJOR_VERSION=6 to cmake.
polkit-qt6-1.pc.cmake
0 → 100644
polkit-qt6-agent-1.pc.cmake
0 → 100644
polkit-qt6-core-1.pc.cmake
0 → 100644
polkit-qt6-gui-1.pc.cmake
0 → 100644
Please register or sign in to comment