The following information pertains to compiling an SQL Driver plugin, deployment, and using the plugin in your CopperSpice application.
- You must use shared CopperSpice libraries
- Make sure the driver plugins are compiled with the same compiler used to compile CopperSpice
- SQL Driver plugins should be located in a sub-directory called
sqldrivers
, which is relative to your application
- The sub-directory name can be changed by using a cs.conf file
- If the following error occurs when connecting to the DBMS review the CopperSpice API documentation for plugin deployment
QSqlDatabase: QPSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE