Using Qt 4.6.2 and qtcreator, I am working with a cmake/ninja managed project that makes use of the QSQLITE database driver from the Qt Framework. The environment makes use of the msvc compiler.
Strange thing happening is that I can't run the project in debug configuration (cmake ran with build option set to Debug) since :
QSqlDatabase::isDriverAvailable("QSQLITE")
always returns false and fails a Q_ASSERT_X. However, running the application from the command line then attaching the debugger is working (but really impractical).
The dll (debug and release) can be found in the bin\sqldrivers folders for the application, so they do exist.
Any clue on why does this behaviour occur?
(Additional information: tested on qtcreator 3.1.1 and 3.3.0)
Aucun commentaire:
Enregistrer un commentaire