PDA

View Full Version : My compiler can't find QtSql



codymarc
1st October 2010, 14:44
Hi, I'm very newbie, I learn to program in C++ too many years ago, so I'm a little stock here. I'm copying the code from Sqlbrowser demo. So, I need help with this issue.

This is my code:


#include <QtSql>
#include <QtCore>
#include <QtGui>
#include "browser.h"


And I have a lot of error during the compiling, because the compiler can't find QtSql file, but this file is into the C:\Archiv...\...qt\include\QtSql\ :confused:

Thanks

Zlatomir
1st October 2010, 14:52
Do you have:

QT += sql
in your .pro file?