Mysql can't connect on MacBook
-
Use the full path to the executable.
-
@Eternus
@SGaist wants you to use the full path to yourqmake
executable (nothing to do with MySQL) when you run your make command, like:<path-to-qmake-in-your-Qt-distribution>/qmake -- MYSQL_PREFIX=/usr/local/mysql
He wants you to do that to make you run the exact right version of
qmake
which is in the Qt 5.15 installation area. At the moment there is noqmake
on your PATH. -
@Eternus
Hi
They want you to type the full path for qmake inside the Qt 5.15.0 folder
so first step is to use the search tool to find out where it is and then use the full path to it
for the compiling.Might be
/usr/local/opt/qt5
but it depends on where you actually installed it. -
@mrjj
I don't have there I only find this in qt folder but didnt work... its says me read only file system ..in usr/local I don't have/Users/macbook/Qt/5.15.0/Src/qtbase/src/plugins
and there /Users/macbook/Qt/5.15.0/Src/qtbase/tests/auto/tools/qmakebut didnt work
-
For the version you installed using the Online Installer it's going to be
/Users/macbook/Documents/Qt/5.15.0/clang_64/bin/qmake
. -
Which version of Qt are you using to build your application ?
Where did you install it ?
How did you install it ? -
@Eternus said in Mysql can't connect on MacBook:
a change path.. with my own where is qt located.
What do you mean by that ?
-
Where exactly did you install Qt on your machine ?
-
So what exactly did not work ?
-
The last message you showed screams about read-only filesystem so you are either trying to building in a location you have no access to or on a read-only drive.