If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Database and C++/QT

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-09-09, 14:21
Fakin Fakin is offline
Registered User
 
Join Date: Sep 2009
Posts: 39
Database and C++/QT

I'am using database(firebird, postgresql and mysql) and I want's using C++/QT direct with this databaseses.
I won't using driver which I need first compiling.
where I can included options in QT that QT compiling with database *.h files, because I gettings errors for C++ code under.

Code:
#include <C:\Program Files\MySQL\MySQL Server 5.1\include\my_global.h>
#include <C:\Program Files\MySQL\MySQL Server 5.1\include\mysql.h>

#include <QtCore/QCoreApplication>


int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);


return a.exec();
}
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On