cmake not creating makefile.txt
Solved
General and Desktop
-
I am using a MacBook M1, I have installed Qt 6.2.0 and MySql 8.
I am following the Qt doc on building the MySql plugin driver.qt-cmake -G"Ninja" <qt_installation_path>/Src/qtbase/src/plugins/sqldrivers -DCMAKE_INSTALL_PREFIX=<qt_installation_path>/<platform> -DMySQL_INCLUDE_DIR="/usr/local/mysql/include" -DMySQL_LIBRARY="/usr/local/mysql/lib/libmysqlclient.<so|dylib>"
The config step above appears to have succeeded with no errors reported, but the Cmakefile.txt was not created. I'm hoping others have had this problem and can help me solve this.
-
@Vince2480 said in cmake not creating makefile.txt:
but the Cmakefile.txt was not created
I guess you mean Makefile?
You have -G"Ninja" that means you will use ninja to build, you should have build.ninja file in your build folder. So, call ninja to build. -
@Vince2480 Can you post the link to that docu? Does it say you need to call make? If so a bug report should be filed.