I’d been looking for a DB access library for C++ which will run under Windows. I tried
- SOCI: does not compile
- SQLAPI++: not free
Next option was to use Qt’s DB access module, QtSql.
Is it possible only to use QtSql without importing or linking any other Qt stuff?
Yes you can compile against only a part of the Qt Dlls. But I guess in all cases you have to build against QtCore too.
So your .pro file should have