Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find out version SQLite in Qt?

Tags:

sqlite

qt4

I want to discover SQLite version in Qt 4.6.2 & 4.7.4 How to find out version SQLite in Qt?

like image 203
Wonky Roger Avatar asked Oct 02 '12 06:10

Wonky Roger


People also ask

What is version in sqlite?

Version 2. April 6, 2022. androidx. sqlite:sqlite:2.3. 0-alpha02 , androidx. sqlite:sqlite-framework:2.3.

What is sqlite in Qt?

SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine. Used in Qt SQL Lite plugin. Configure Qt with -system-sqlite or -no-sqlite to avoid. The sources can be found in qt5/qtbase/src/3rdparty/sqlite.

What is SQLite in Qt?

You are browsing the documentation for a version of Qt that is no longer supported or actively maintained. SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine. Used in Qt SQL Lite plugin.

How do I Check my SQLite version?

In any case, if you found this page, maybe you need another method to check your SQLite version. When you first connect to SQLite using a command line interface (such as Terminal on the Mac), the first thing you should see is the version number. SQLite version 3.28.0 2019-04-15 14:49:49 Enter ".help" for usage hints.

Where can I find the source code for a custom SQLite database?

SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine. Used in Qt SQL Lite plugin. Configure Qt with -system-sqlite or -no-sqlite to avoid. The sources can be found in tqtc-qt5/qtbase/src/3rdparty/sqlite.

How to find the Qt Creator version?

You can also from shell type qmake -v to get it. The other version, namely 2.3, is the version of Qt Creator, not of Qt Show activity on this post.


1 Answers

If you have direct access to the SQLite C API, call sqlite3_libversion().

If you have only SQL access, run the query SELECT sqlite_version();.

like image 90
CL. Avatar answered Sep 25 '22 20:09

CL.