From 4625b939aad3537bd130617944e01f5da693b23d Mon Sep 17 00:00:00 2001 From: lonkaars Date: Wed, 5 Oct 2022 20:57:10 +0200 Subject: initial merge of qt client --- Qt/main.cpp | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 Qt/main.cpp (limited to 'Qt/main.cpp') diff --git a/Qt/main.cpp b/Qt/main.cpp deleted file mode 100644 index 6de43ac..0000000 --- a/Qt/main.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include "mainwindow.h" -#include "main.h" -#include "./ui_mainwindow.h" - -#include -#include -#include -#include - -QSqlDatabase dbRef = QSqlDatabase(); - -int main(int argc, char *argv[]) -{ - QApplication a(argc, argv); - MainWindow w; -// dbRef = new QSqlDatabase(); - dbRef = QSqlDatabase::addDatabase("QMYSQL"); - - - - w.show(); -// QMessageBox::information(NULL, "AAAAAAAAA", dbRef.driverName().toStdString()); - std::cout << "AAAAAAAA: \"" << dbRef.driverName().toStdString() << "\"\n"; - fflush(0); - return a.exec(); - -} -- cgit v1.2.3