Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
find_package(QT ...) only finds out if Qt5 or Qt6 is available. One needs to then to find_package(Qt5...) or find_package(Qt6...) as in the Qt documentation: https://doc.qt.io/qt-6/cmake-qt5-and-qt6-compatibility.html Otherwise, one gets this error: CMake Error: AUTOMOC for target linuxdeployqt: Could not find moc executable target Qt6::moc CMake Generate step failed. Build files cannot be regenerated correctly. Co-authored-by: David Faure <[email protected]>
- Loading branch information