Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
main.cpp
Go to the documentation of this file.
1// Copyright (C) 2026 The Qt Company Ltd.
2// Copyright (C) 2026 Andreas Bacher
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4// Qt-Security score:significant reason:default
5#include <qsqldriverplugin.h>
7
9
10using namespace Qt::StringLiterals;
11
13{
14 Q_OBJECT
15 Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QSqlDriverFactoryInterface" FILE "firebird.json")
16
17public:
19
21 {
22 if (name == "QFIREBIRD"_L1)
23 return new QFirebirdDriver();
24 return nullptr;
25 }
26};
27
28QT_END_NAMESPACE
29
30#include "main.moc"
Combined button and popup list for selecting options.