Update:
The same bug rears its ugly head in this snippet:
Qt Code:
sourcesTableModel->setTable("videosource"); sourcesTableModel->select(); //BANG! SIGSEGVTo copy to clipboard, switch view to plain text mode
Update:
The same bug rears its ugly head in this snippet:
Qt Code:
sourcesTableModel->setTable("videosource"); sourcesTableModel->select(); //BANG! SIGSEGVTo copy to clipboard, switch view to plain text mode
I assure you I'm working with QtSQL almost every day and such statements work just fineYour problem is related strictly to your installation and/or the version of Qt and/or MySQL you are using. If changing the version of Qt doesn't help, try changing the version of MySQL client library you are using.
Thanks wysota - I had similar feedback from QT support regarding my bug report yesterday so I tried the latest snapshot; it works perfectly.
There had been several developments in qsql_mysql.cpp since the Beta1 release which were directly concerned with my problem.
Bookmarks