qtsql
QSql module and multithreaded application
I\'m troubled by how the Sql module works with multithreaded application in Qt. http://doc.qt.io/qt-5/threads-modules.html#threads-and-the-sql-module clearly states[详细]
2023-04-07 16:34 分类:问答Qt Database content view / manipulation as list view
I have a database, which tables should viewed in a widget. Seems simple, but I can\'t decide what to du or use.[详细]
2023-04-07 13:48 分类:问答Qt: Example of QAbstractItemModel implementation using QtSql (to use with QTreeView)
I\'m looking for an example implementation of QAbstract开发者_运维问答ItemModel to use with QTreeView.[详细]
2023-04-06 23:10 分类:问答QSql connect and read from Database example? - Driver not loaded
I\'ve recently started found the need to change from the __mysql module to PyQt\'s QSql but have nooo idea whatsoever where to start. All I want to do (for now) is read from a database and print the r[详细]
2023-04-04 18:20 分类:问答Updating a record in QSqlTableModel
I am trying to update a record and i have this: tableModel->select(); QModelIndex index = ui.tableView->currentIndex();[详细]
2023-04-04 09:10 分类:问答Problem with QIBASE (firebird + Ubuntu)
Good morning. I\'ve tried to compile QIBASE driver to access FireBird database using sqlbrowser from %QTDIR/demos. But after i filled all fields in sqlbrowser and pushed OK button the program crashed[详细]
2023-03-26 17:00 分类:问答Qt - QSql Unable to fetch row, no query on attempt to insert
I\'m trying to insert data into a table. Here\'s the code: void AddContacts::saveContact() { QString first_name = ui->lineFirstName->text();[详细]
2023-03-24 07:37 分类:问答How do I work with the Qt data base in Python?
I\'m beginning with PyQt and heard that the Qt comes with a special data base module named QtSQL. The docs of the module, like everything in Qt, cover only C++ usage. In my work, I\'ll need a data bas[详细]
2023-03-12 20:02 分类:问答Deploy Qt ODBC application
My application uses Qt SQL this way QSqlDatabase db = QSqlDatabase::addDatabase(\"QODBC\"); db.setDatabaseName(\"DRIVER={Microsoft Access Driver (*.mdb)};DBQ=\"+QDir::currentPath()+\"/database.mdb\")[详细]
2023-03-10 09:25 分类:问答Qt SQLite SELECT queries are very slow on Symbian
I\'m writing an application with Qt for Symbian and I\'m using lots of little SQLite queries to fetch data from the database I\'ve created.[详细]
2023-03-07 11:34 分类:问答