[Qt-interest] Strange include problem
Neville Dastur
qt at dastur.me.uk
Wed Nov 25 12:36:59 CET 2009
Sorry, that was exactly the problem. But I could swear I chose sql as a
module in the project setup. Anyhow thanks
Neville Dastur wrote:
> I have come across a strange #include problem.
>
> I am trying to use my own database driver. As per the docs
> (http://doc.trolltech.com/4.5/qsqldatabase.html#addDatabase) I have
> included the relevant plugin file.
>
> First problem is that the #include <QSqlDatabase> directive resulted in
> a file not found. Fine so I changed to <QSql/QSqlDatabase> but now the
> included file contains a load of files that can't be found. Obviously
> this is a include path issue.
>
> I am using Qt creator and can't find a way to get the relevant path
> searched other than listing them all in .pro file. My question really is
> that shouldn't this be taken care of by creator and if not is there a
> way of adding to the INCLUDEPATH option using a the currently selected
> Qt SDK?
>
> Thanks
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
More information about the Qt-interest-old
mailing list