mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-05 08:45:25 +08:00
qt 6.5.1 original
This commit is contained in:
11
tests/auto/tools/macdeployqt/source_plugin_sqlite/main.cpp
Normal file
11
tests/auto/tools/macdeployqt/source_plugin_sqlite/main.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
// Copyright (C) 2021 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include <QtSql>
|
||||
|
||||
int main(int argc, char ** argv)
|
||||
{
|
||||
QCoreApplication app(argc, argv);
|
||||
QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");
|
||||
return db.isValid() ? 0 : 1;
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
SOURCES = main.cpp
|
||||
QT += sql
|
Reference in New Issue
Block a user