Im trying to use Spyder with pyodbc to connect mysql using a PyQT4 gui framework. I have pyodbc in Spyder figure out.
How do I use PyQt4 to get info into开发者_如何学编程 gui's? I'm looking to use gui on Fedora and winx64.
Edit: I figured out the fedora driver. Can anyone help me with QMYSQL driver.
See this
http://doc.qt.nokia.com/latest/sql-driver.html#how-to-build-the-mysql-driver-for-mingw-users
Maybe that will help.
Have you considered using PyQt's built-in MySQL support? This could make it a bit easier to display DB info, depending on what you want the interface to look like.
精彩评论