View Full Version : QT Sqlite database import/ export csv file
logesh
18th March 2010, 05:21
How can i export/ import Sqlite database using QT SQL package?. I can import/export Sqlite with Sqlite Commandline tool. How can i do the same in QT? any suggestions?
Thanks in advance.
Regards,
Logesh
nish
18th March 2010, 05:35
i cant recall a direct way... but you can easily do this in 10 lines of code.
Just "Select *" and loop over the results and create a nicely formatted text file using QFile/QTextStream
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.