well, this issue is fixed now.

another thing is, the plugin issue, i get this msg when i run the executable:

Qt Code:
  1. QSqlDatabase: QMYSQL driver not loaded
  2.  
  3. QSqlDatabase: available drivers: QSQLITE QODBC3 QODBC
To copy to clipboard, switch view to plain text mode 

there is a solution which said the following:

1. you need to compile qt with -qt-sql-mysql -lmysql -I
c:\path\to\mysqlsrc\include -L c:\path\to\msyqlinstall\lib\opt
As on http://qtnode.net/wiki/Qt4_on_Windows
is this true? Do i need to compile qt from source with these arguments in order to get sql to work?

btw i have 4 dll files in Qt\4.4.1\plugins\sqldrivers which are:

1.qsqlite4.dll
2.qsqlited4
3.qsqlodbc4.dll
4.qsqlodbc4d.dll

which i copied to my Qt\4.4.1\bin

thanks.