Код: Выделить всё
`qt-cmake -G Ninja "C:\Qt1\6.8.1\Src\qtbase\src\plugins\sqldrivers" -DCMAKE_INSTALL_PREFIX="C:\Qt1\6.8.1\msvc2022_64" -DMySQL_ROOT="C:\Program Files\MySQL\MySQL Server 8.0"`
Код: Выделить всё
`CMake Error: Error: generator : Ninja Does not match the generator used previously: MinGW Makefiles Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory`.
Подробнее здесь: https://stackoverflow.com/questions/792 ... sql-driver