PDA

View Full Version : Dumb newbie SQLITE, C++, Qt question...



scott_hollen
26th January 2011, 17:51
Morning all --

Still trying to come up to speed on Qt and C++ these days...Working on an app for my father-in-law, using Qt for the GUI and wanting to use standard C++ libraries as much as possible in case he decides he doesn't want to use Qt anymore (he let me know that one last night after I'd developed the basic GUI framework for his app that's to be delivered to a client in May)...Anyway...

I need to use a SQLite database and I was wondering if I can use the C++ SQLite libraries in Qt instead of the Qt ones...If I don't stick to standard C++ as much as possible I could get really hosed...

Coming from a PL/SQL world for 12 years, I think I may be in over my head with all this :)


thanks!

scott

BalaQT
27th January 2011, 09:16
hi ,
do u want sqlite + c++ and without Qt?
pls check
http://www.sqlite.org/capi3.html

Bala

nish
27th January 2011, 09:33
yes you can use sqlite as a seperate lib.

scott_hollen
27th January 2011, 13:08
@Bala -- I'm wanting to use native C++ within QT to increase portability of the processing, keeping it separated from the GUI...

@MrDeath -- apparently I misread the documentation (several sources, actually) and didn't realize the library needed to be included...Thought it was by default...


scott