CopperSpice Overview  1.5.2

The following information pertains to building an SQL Driver plugin and using the plugin in your application.

  • You must use shared CS libraries, you can not use plugins with a static CS build
  • Make sure the client libraries are compiled with the same compiler to compile your CopperSpice project
  • Ensure that the plugin is located in the correct directory. You can use QApplication::libraryPaths() to determine where CS will look
  • SQL Driver plugins should normally be located in a sub-directory under your application. The directory name must be sqlDrivers, this can be changed by using a cs.conf file
  • If the following error occurs when connecting to the DBMS, review the documentation for Deploying Plugins
QSqlDatabase: QPSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE