Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

MsSQL QT 5.0.0 MSVC 2010

$
0
0
Hello and good Evening, I have problems with compiling problems MsSQL inside. I already compiled MySQL and put them into “C:\Qt\Qt5.0.0\5.0.0\msvc2010\plugins\sqldrivers”. Now i try to compile a program with following content. main.cpp #include "dayz.h" #include <QApplication> #include <QtSql/QMYSQLDriver>   int main(int argc, char *argv[]) {     QApplication a(argc, argv);     DayZ w;     w.show();     QSqlDatabase db;       return a.exec(); } .pro #------------------------------------------------- # # Project created by QtCreator 2013-01-12T22:26:52 # #-------------------------------------------------   QT       += core gui sql   greaterThan(QT_MAJOR_VERSION, 4): QT += widgets   TARGET = DayZ_Tool TEMPLATE = app     SOURCES += main.cpp\            dayz.cpp   QTPLUGIN += qsqlmysql   CONFIG += qsqlmysql   HEADERS  += dayz.h   FORMS    += dayz.ui When compiling I get following error: c:\qt\qt5.0.0\5.0.0\msvc2010\include\qtsql\qsql_mysql.h: 52: Fehler:C1083: Datei (Include) kann nicht ge”ffnet werden: “mysql.h”: No such file or directory Why the software wants to launce mysql.h?? I already compiled the mysql.dll datas MfG Patrick

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>