(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?t...ws_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()
{
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"
return false;
}
return true;
}
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;
}
To copy to clipboard, switch view to plain text mode
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]
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]
To copy to clipboard, switch view to plain text mode
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.
Bookmarks