diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-10-05 20:57:10 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-10-05 20:57:10 +0200 |
commit | 4625b939aad3537bd130617944e01f5da693b23d (patch) | |
tree | 8cd4b9c94d9ca70b7386b369e16d81c659d01c6f /Qt/main.cpp | |
parent | 9c7f4e157f10aa58e4b78636a2f8556be4637a07 (diff) |
initial merge of qt client
Diffstat (limited to 'Qt/main.cpp')
-rw-r--r-- | Qt/main.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
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 <QApplication> -#include <QMessageBox> -#include <iostream> -#include <stdio.h> - -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(); - -} |