Ralph
5th June 2007, 19:38
(Hi all)
I am using Qt 4.3.0 opensource for Win32 together with the Eclipse integration.
After using this guide: http://wiki.qtcentre.org/index.php?title=Building_the_QMYSQL_plugin_on_Wind ows_using_MinGW
I managed to built Qt with mysql support.
Now when i try one of the numerous examples available (see below)
static bool createConnection()
{
QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL");
db.setHostName("dbserver");
db.setDatabaseName("db");
db.setUserName("root");
db.setPassword("");
bool ok = db.open();
if (!db.open()) {
QMessageBox::critical(0, qApp->tr("Cannot open database"),
qApp->tr("Unable to establish a database connection.\n\n"
"Click Cancel to exit."), QMessageBox::Cancel);
return false;
}
return true;
}
When db.open() is called Eclipse shows me this in the console window:
warning: NOD32 protected [MSAFD Tcpip [TCP/IP]]
warning: NOD32 protected [MSAFD Tcpip [UDP/IP]]
warning: NOD32 protected [MSAFD Tcpip [RAW/IP]]
warning: NOD32 protected [RSVP UDP Service Provider]
warning: NOD32 protected [RSVP TCP Service Provider]
Anyone aware of any issues using NOD32 antivirus in conjunction with Qt4? Or antivirus in general? Or perhaps did i forget some step(s) in the re-build process? Maybe its the Eclipse integration?
Lots of questions :) but this got me somewhat puzzled.
I am using Qt 4.3.0 opensource for Win32 together with the Eclipse integration.
After using this guide: http://wiki.qtcentre.org/index.php?title=Building_the_QMYSQL_plugin_on_Wind ows_using_MinGW
I managed to built Qt with mysql support.
Now when i try one of the numerous examples available (see below)
static bool createConnection()
{
QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL");
db.setHostName("dbserver");
db.setDatabaseName("db");
db.setUserName("root");
db.setPassword("");
bool ok = db.open();
if (!db.open()) {
QMessageBox::critical(0, qApp->tr("Cannot open database"),
qApp->tr("Unable to establish a database connection.\n\n"
"Click Cancel to exit."), QMessageBox::Cancel);
return false;
}
return true;
}
When db.open() is called Eclipse shows me this in the console window:
warning: NOD32 protected [MSAFD Tcpip [TCP/IP]]
warning: NOD32 protected [MSAFD Tcpip [UDP/IP]]
warning: NOD32 protected [MSAFD Tcpip [RAW/IP]]
warning: NOD32 protected [RSVP UDP Service Provider]
warning: NOD32 protected [RSVP TCP Service Provider]
Anyone aware of any issues using NOD32 antivirus in conjunction with Qt4? Or antivirus in general? Or perhaps did i forget some step(s) in the re-build process? Maybe its the Eclipse integration?
Lots of questions :) but this got me somewhat puzzled.