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
>
6
#
include
"qsql_firebird_p.h"
7
8
QT_BEGIN_NAMESPACE
9
10
using
namespace
Qt::StringLiterals;
11
12
class
QFirebirdDriverPlugin
:
public
QSqlDriverPlugin
13
{
14
Q_OBJECT
15
Q_PLUGIN_METADATA(IID
"org.qt-project.Qt.QSqlDriverFactoryInterface"
FILE
"firebird.json"
)
16
17
public
:
18
QFirebirdDriverPlugin
() :
QSqlDriverPlugin
() {}
19
20
QSqlDriver
*
create
(
const
QString
&
name
)
override
21
{
22
if
(
name
==
"QFIREBIRD"_L1
)
23
return
new
QFirebirdDriver
();
24
return
nullptr
;
25
}
26
};
27
28
QT_END_NAMESPACE
29
30
#
include
"main.moc"
QFirebirdDriverPlugin
Definition
main.cpp:13
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtbase
src
plugins
sqldrivers
firebird
main.cpp
Generated on
for Qt by
1.16.1