QMYSQL, Qt5Sql_QMYSQLDriverPlugin.cmake not a valid Mach-O binary
-
Hi,
I've been trying to establish a connection to a remote database for some time now using various methods I have found in numerous threads but I'm still having no luck. When connecting using QMYSQL I get the following error when using QT_DEBUG_PLUGINS:
QMachOParser: 'path/Qt5Sql_QMYSQLDriverPlugin.cmake' is not a valid Mach-O binary (invalid magic number)
When using a working dsn with QODBC my program unexpectedly finishes.
All the drivers are available in my sqldrivers directory.I would be very grateful if someone had any answers - I'm at my wits end!
Thanks
-
Hi and welcome to devnet,
The first question would be: why does it try to load a cmake file in place of the dylib file of the plugin ?
What version of Qt are you using ? -
What was the problem ?