i try the following code on my own computer, it can access to the database (the database is on my own computer).
However, when i run this code on another computer, it cannot access to the database


xxx.xxx.xxx.xx is the ip address of my own computer (which launch the MSSQL)

i try whole days, but still no idea :/
can anyone give me some suggestions?
Thank you very much!

QString serverName = "xxx.xxx.xxx.xx\\SQLEXPRESS";
QString dbName = "myDB";
QString dbID = "sa";
QString dbPW = "abcd";

QSqlDatabase db = QSqlDatabase::addDatabase("QODBC");
QString dsn = QString("DRIVER={SQL Server Native Client 10.0};SERVER=%1;DATABASE=%2;UID=%3;PWD=%4;").arg(s erverName).arg(dbName).arg(dbID).arg(dbPW);

db.setDatabaseName(dsn);