Qt World Summit: Register Today!

Qt Postgres Connection Warning

  • Hi guys, I am sorry if this is a repeated question. When connecting to a postgresql database, I get an error about non standard use of \ in sql string. Apparently when opening a connection to a Postgres database, it tries to execute something involving SELECT '\' x. I am running Qt 5.6 and Postgresql 8.4. I get an ugly warning when it makes a connection, but it works afterwards as advertised. Has anyone ever seen this?

  • @Chris-B Hi, and welcome to the Qt forum! Please post the exact text of the warning and please show us the code that triggers the warning.

Log in to reply