Kornel Benko wrote: > He claimed to have installed QT5.7. > We are using find_package(Qt5Core REQUIRED) > The module (not part of cmake but part of qt) is named > <some_path>/Qt5CoreConfig.cmake. So it depends of where he installed his > QT and if he has the correct path set. It may be sufficient to know > qmake-path, I prefer to use also some other QT executables so I set the > PATH variable. (See moc, linguist, rcc, designer etc)
OK, then we need to document that instead of QT_QMAKE_EXECUTABLE. What I did not understand yet is how cmake finds Qt5CoreConfig.cmake. If I only have $QTDIR/bin in $PATH then does cmake find $QTDIR/lib/cmake/*.cmake? Or does cmake require $QTDIR to be set? Or something else? Georg