QSqlDatabase Valgrind - Uninitialised value



  • Hi,

    Does anyone have any ideas why Valgrind would report "Conditional jump or move depends on uninitialised value(s)" for just the following:

    @
    QSqlDatabase db = QSqlDatabase::addDatabase("QPSQL");
    db.setHostName("hostname");
    db.setDatabaseName("database_name");
    db.setUserName("username");
    db.setPassword("password");
    bool ok = db.open();
    @

    I'm using Qt5.3.0 on Linux Mint 17 x64. The above would produce the error for the line with db.open().

    Thanks.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.