PDA

View Full Version : Hello Mysql World



thevikas
7th July 2010, 13:02
Hi,
Im just trying to learn Qt (have known MFC) on 64bit ubuntu 9.1
I installed Qt SDK and ran a simple tutorial in main.cpp
The problem is that compiler says <QtSql> - no such file
How should I fix this?

Im not sure if my install is healthy. Earlier it complained even for <QtCanvas>.
Also, where can i get a source tar for Qt so i could configure it and compile?

Thanks,
Vikas

Zlatomir
7th July 2010, 13:06
Try to add this line to your .pro file

QT += sql

thevikas
8th July 2010, 04:31
my .pro file already has that line.

QT += network sql