Skip to content

katecpp/sql_with_qt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sql_with_qt

This repository is a small example of how to set up sqlite database with Qt and perform some basic queries.

Instructions

  1. Install SQLITE
  2. Download this Github repository
  3. Run in QT Creator and watch it connect to the database.

Visit the main article here to understand more.

IMPORTANT If you don't see your database file show up in your file directory, you need to go to Projects -> Build & Run -> Run -> Working Directory. This is where your database file will be generated.


Update History

Updated October 29, 2016

  • Added a function to create tables, which will also automatically create a new database if it doesn't already exist.

About

SQLite with Qt Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published