[Qt-interest] Welcome to the "Qt-interest" mailing list
slayer81 at gmx.de
slayer81 at gmx.de
Tue Jul 13 06:57:44 CEST 2010
Hello!
There's a small piece of code I use:
--------------------------------------------------------
bool
SqlController::openConnection(
QString& databaseName) {
this->closeConnection();
this->database = QSqlDatabase::addDatabase("QSQLITE");
this->database->setHostName("");
this->database->setDatabaseName(databaseName);
this->database->setUserName("");
this->database->setPassword("");
return this->database->open();
}
--------------------------------------------------------
Whenever I call this from VS '08, I get the following output:
"xxxx.exe": "D:\Programme2\Qt\4.6.3\plugins\sqldrivers\qsqlpsqld4.dll" wurde geladen
LDR: LdrpWalkImportDescriptor() failed to probe D:\Programme2\Qt\4.6.3\plugins\sqldrivers\qsqlpsqld4.dll for its manifest, ntstatus 0xc0150002
"xxxx.exe": "D:\Programme2\Qt\4.6.3\plugins\sqldrivers\qsqlpsqld4.dll" entladen.
"xxxx.exe": "D:\Programme2\Qt\4.6.3\plugins\sqldrivers\qsqlited4.dll" wurde geladen
Now I wonder why the DLL for PSQL is loaded in the first place, although I connect to a SQLite database.
Is there something I'm doing wrong so far?
Thank you for you time,
Paule
More information about the Qt-interest-old
mailing list