Take a look at this

Also you can look at here or here

And from now on, before asking so basic things :

- Read at least Qt's documentation here
- Google a little or search Qt centre ( I've done a simple search : sqlite connect and got me 24 results )

And please, please, please : don't open TWO threads asking the same and don't ignore the answers people gently gives to you ( as here )

Thanks.