qt5base-lts/examples/sql
Ahmad Samir 09b852b1d8 examples/: compile with QT_NO_CONTEXTLESS_CONNECT
Examples are usually a good way to get to know a new codebase, do not
teach developers who are new to Qt about the 3-arg connect() to begin
with.

Drive-by changes:
- `this` can't be implicitly captured with [=] in a lambda, instead
  capture by reference
- Update docs related to the sqlbrowser example; the overloaded signal
  it mentions has been removed in Qt6
- In the sqlbrowser example, rename addConnection() (no-arg) overload to
  openNewConnectionDialog, suggested in code review

Change-Id: I30c9f35bda4ac2f460d767ab7f84422ae3ed09f7
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-09-08 19:17:36 +03:00
..
books Examples: Revamp sql/books 2023-06-29 16:06:33 +00:00
cachedtable Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
doc examples/: compile with QT_NO_CONTEXTLESS_CONNECT 2023-09-08 19:17:36 +03:00
drilldown examples/: compile with QT_NO_CONTEXTLESS_CONNECT 2023-09-08 19:17:36 +03:00
masterdetail Examples: Remove unnecessary Q_INIT_RESOURCE calls 2023-06-08 16:15:02 +00:00
querymodel Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
relationaltablemodel Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
sqlbrowser examples/: compile with QT_NO_CONTEXTLESS_CONNECT 2023-09-08 19:17:36 +03:00
sqlwidgetmapper Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
tablemodel Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
CMakeLists.txt Examples: Use Qt6:: to qualify Qt CMake packages 2022-11-17 19:59:11 +01:00
connection.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
README Remove references to demos from docs. 2011-07-05 19:57:54 +02:00
sql.pro Examples: Remove remains of wince 2017-07-14 17:30:51 +00:00

Qt provides extensive database interoperability, with support for products
from both open source and proprietary vendors.

SQL support is integrated with Qt's model/view architecture, making it easier
to provide GUI integration for your database applications.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.