title: Use sqlite with Qt5
body: <p>I'm on ubuntu</p>
  
  <pre><code>#include &lt;sqlite3.h&gt;    /* sqlite3 */
  
  
  void prog::on_pushButton_clicked()
  {
      sqlite3 *db;
      int rc = sqlite3_open("/home/profile.sqlite", &amp;db);
      if (rc != SQLITE_OK) {
          fprintf(stderr, "Cannot open database: %s\n",
                  sqlite3_errmsg(db));
          sqlite3_close(db);    
       }
  }
  </code></pre>
  
  <p>I get this error:  </p>
  
  <p><a href="https://i.stack.imgur.com/TYzZX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TYzZX.png" alt="enter image description here"></a></p>