[MYSQL-Qt] Create plugin MYSQL for Qt on MAC
-
i tried, and almost every step is absolutely like yours, but at last step, i still get "drivers not loaded"
@overmatch A maybe silly question but did you call make install at the end ?
What do you get if you start the application with the QT_DEBUG_PLUGINS environment variable set to 1 ?
-
@Quang-Phu said in [MYSQL-Qt] Create plugin MYSQL for Qt on MAC:
/usr/local/mysql/lib/
Brilliant, I have been beating my head against the wall on this for a week or so before finding your post. Worked like a charm...thank you so much for taking the time to share.
-
Could anyone tell me where/how to add the environment variable"DYLD_LIBRARY_PATH"??
I am using qt5.14.2 and I couldn’t figure out how to add it -
@Imon hi and welcome to devnet,
If using Qt Creator, go to the Run part of the Project panel.
-
@Quang-Phu said in [MYSQL-Qt] Create plugin MYSQL for Qt on MAC:
make sub-mysql
i stopped on. this he says me :
macbook@MacBook-Pro-uzivatela-Macbook sqldrivers % make sub-mysql
make: *** No rule to make target `sub-mysql'. Stop.
macbook@MacBook-Pro-uzivatela-Macbook sqldrivers %me sqldrivers folder:
-
@Quang-Phu said in [MYSQL-Qt] Create plugin MYSQL for Qt on MAC:
make sub-mysql
i stopped on. this he says me :
macbook@MacBook-Pro-uzivatela-Macbook sqldrivers % make sub-mysql
make: *** No rule to make target `sub-mysql'. Stop.
macbook@MacBook-Pro-uzivatela-Macbook sqldrivers %me sqldrivers folder:
-
Thanks a lot. I fixed my problem in 1hour due to this topic.
-
i tried, and almost every step is absolutely like yours, but at last step, i still get "drivers not loaded"
@overmatch have you solve this problem ,i have the same problem
-
Hey guys, who are strugling with same problem on Mac M1. Follow steps that are descripted here: https://forum.qt.io/topic/136231/mysql-plugin-on-m1-mac/11