我用 QSqlTableModel 指定帶符號的資料庫表時,setTable時 Unable to find table ,但通過sql陳述句可以查詢到表單,代碼是
tableModel=new QSqlTableModel(0,db);
tableModel->setTable("123.456");
tableModel->setEditStrategy(QSqlTableModel::OnManualSubmit);
tableModel->setSort(0,Qt::AscendingOrder);
tableModel->select();
有哪位可以指導一下?
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/127435.html
標籤:Qt
上一篇:在Android studio開發集成支付寶的當面付功能(條碼支付,掃碼支付)時,均會出現Hostname找不到,頭痛幾天了
下一篇:android.app.ServiceConnectionLeaked: that was originally bound here
