title: Qt/SQL - Get column type and name from table without record
body: <p>Using <code>Qt</code>, I have to connect to a database and list column's types and names from a table. I have two constraints:</p>
  
  <p>1 The database type must not be a problem (This has to work on <code>PostgreSQL</code>, <code>SQL Server</code>, <code>MySQL</code>, ...)</p>
  
  <p>2 When I looked on the internet, I found solutions that work but only if there are one or more reocrd into the table. And I have to get column's type and name with or without record into this database.</p>
  
  <p>I searched a lot on the internet but I didn't find any solutions.</p>
  
  <p>I am looking for an answer in <code>Qt/C++</code> or using a query that can do that.</p>
  
  <p>Thanks for help !</p>