I am developing a QGIS plugin and need to create a table view in my GUI that I have been designing with QT Designer. I have PyQT4 installed but I have noticed that I have 2 Python directories. I have one main install on my C: drive and one in my QGIS directory. Both of these Python folders have PyQT4 installed, but the contents of the folders are different. The main issue that I am having is that while the main install of Python has everythign I need to connect to a postgres databased, the QGIS install of PyQT4 has the QSql module but not the drivers to connect to the database!
I don't know why this is or how I can get a complete install of PyQT4 in the QGIS version of Python?