2022-05-10 10:06:48 +00:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
#include <QApplication>
|
|
|
|
|
|
|
|
#include "../connection.h"
|
|
|
|
#include "tableeditor.h"
|
|
|
|
|
|
|
|
//! [0]
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
QApplication app(argc, argv);
|
|
|
|
if (!createConnection())
|
|
|
|
return 1;
|
|
|
|
|
|
|
|
TableEditor editor("person");
|
|
|
|
editor.show();
|
2011-04-27 17:16:41 +00:00
|
|
|
return app.exec();
|
2011-04-27 10:05:43 +00:00
|
|
|
}
|
|
|
|
//! [0]
|