hello:
I am starting this as a separate thread on the same topic because this thread is in a different context. Earlier than this, I had posted my problem of using mysql plugins. I followed the relevant directions I got in response to my questions (place plugins directory relatively below the executable etc)...but to avail no success. I had posted this problem on another forum and had received the reply as to use the following code:
QSqlDatabase::registerSqlDriver("MYDRIVER",
new SqlDriverCreator<MyDatabaseDriver>);
QSqlDatabase db = QSqlDatabase::addDatabase("MYDRIVER");
with reference to the QT Documentation link:
http://doc.qt.nokia.com/latest/qsqld...isterSqlDriver
I however did not receive any response concerning the question of what should I supply in place of "MYDRIVER" and <MyDatabaseDriver> arguments?
I am running windows 7, visual studio 8 and MySQL.
Would appreciate help as I think a lot many people having similar problems ( as I see after searching this website) would also benefit from this discussion.
Bookmarks