MsSQL QT 5.0.0 MSVC 2010
-
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 = appSOURCES += main.cpp
dayz.cppQTPLUGIN += 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 directoryWhy the software wants to launce mysql.h?? I already compiled the mysql.dll datas
MfG
Patrick