Hi,
I have qt for Windows installed and I have configured it using following commands using Visual Studio Command Prompt:
Now I want to add sqlite driver so I do configuration again first cleaning previous one using nmake confclean and using below command:configure -release -platform win32-msvc2005 -xplatform wincewm60professional-msvc2005
But driver is not configured,when I run simple program of creating DB,My Db is not created Error message appears,below is code for creating Db:configure -release -qt-sql-sqlite -platform win32-msvc2005 -xplatform wincewm60professional-msvc2005
I don't know what is the problem am I doing Wrong Configuration ?? , can anyone help me on this issue.Code:db = QSqlDatabase::addDatabase("QSQLITE"); db.setDatabaseName("Sample.db"); if (!db.open()) { QMessageBox *msg = new QMessageBox(); msg->setText("Error"); msg->show(); return; }
Regards,
Vishal




