Subject Firebird and PySide
Author

Hi,


I want to connect a QT/Pyside Application to a firebird 3 server using ODBC but I get only "Error":

app = QApplication(sys.argv)

db = QtSql.QSqlDatabase.addDatabase('QODBC')

db.setHostName('localhost')

db.setDatabaseName('iNew.fdb')

db.setUserName('SYSDBA')

db.setPassword('masterkey')

if not db.open():

    print('Error')

    sys.exit(1)


So please, someone who use PySide/QT can tell me what am I doing wrong?


Thank's a lot!



ps: I can't use QIBASE