aboutsummaryrefslogtreecommitdiff
path: root/Qt/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Qt/main.cpp')
-rw-r--r--Qt/main.cpp27
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();
-
-}