Debug in MAC OsX10.9
-
Hi,
I try to debug an external application.
Everything is going well, compile right, macdeployqt works fine, but I have one problem...
The application show me this error:
QSqlDatabase: QMYSQL3 driver not loaded
QSqlDatabase: available drivers: QSQLITE QODBC3 QODBC QPSQL7 QPSQLWhen I read forums about this problem, everybody talk about libqsqlmysql.dylib in Qt/plugins/sqldrivers, but in this folder I only have:
- libssqlite.dylib
- libqssqlobdc.dylib
- libqsqlpslql.dylib
I use QT4.8. (Qt libraries 4.8.6 for Mac (185 MB) (Info) and debug libraries (476 MB) both installed)
Also in my computer I have installed Qt 5.0.2 and I have the same libraries in its respective plugin folder.
What is my error?
-
Thanks in advance
-
I was following this:
http://www.qtcentre.org/threads/45296-QSqlDatabase-QMYSQL-driver-not-loaded
But in the make instruction, show me an error about symbols not found for architecture x86_64
-
I've got libqsqlmysql_debug.dylib, but I haven't libqsqlmysql.dylib...
-
Hi,
What symbols doesn't it find ?
-
I followed this steps:
- I changed the name of the library to libqsqlmysql.dylib.
- I executed the instruction strip to the library.
macdeployqt worked fine and the application works perfectly.
Thank you so much.
-
You should not change the plugin name, rather build it in release mode