{"repo":"TinyTinni/QtDuckDBDriver","free":true,"listed":false,"github":"https://github.com/TinyTinni/QtDuckDBDriver","clone":"git clone https://github.com/TinyTinni/QtDuckDBDriver.git","description":"DuckDB Driver Plugin for Qt 🦆","language":"C++","stars":24,"topics":["duckdb","qt","qt6","qt5"],"license":"LGPL-3.0","category":"databases-storage","readme_excerpt":"A DuckDB Driver Plugin for Qt Implements a driver plugin for Qt's SQL Databases for DuckDB. Just copy the .dll/.so to your Qt plugin directory and you can add a \"DUCKDB\" database at any time. No other dependencies are required. You can use the full capabilities of DuckDB in your Qt program. It also enables you to use duckdb in an easy way with Qt and Qt widgets, see the example below. Example for creating a in memory database: You can also use it to load csv or parquet (if duckdb was compiled with parquet support) files: Example In order to show a widget with a Sql content, you can use QSqlTableModel . Here is an example on how to use the built-in Qt widget to show the contents of a DuckDB database in a grid widget Which results in the following widget: Full example can be found in the example directory Build requirements - DuckDB = 0.7.1 (Version can be defined in the CMakeLists.txt) - Qt 6 or 5 DuckDB will be linked statically. CMake options: - QTDUCKDB DUCKDB VERSION specify the DuckDB version you want to build and link e.g. \"1.1.3\". It will be automatically downloaded - QTDUCKDB QT VERSION specify the version you want to use. Default: tries to autodetect which is installed. Prefers 6 over 5 - QTDUCKDB DUCKDB EXTENSIONS specify additional DuckDB extensions that should be built into the bundled DuckDB. Default: autocomplete For pre-build dlls, please choose the right version (See Qt Doc about plugin version) tl;dr : don't use the plugin on Qt version below the version it wa","default_branch":null,"files":null,"tree":[],"storefront":"/r/TinyTinni","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/TinyTinni/QtDuckDBDriver/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}