Menu

Dev C++ and My SQL

Lipi
2008-08-07
2012-09-26
  • Lipi

    Lipi - 2008-08-07

    Dear all,

    Is anybody have any idea about below files:

    include <QMainWindow>

    include <qsql_mysql.h>

    include <mysql.h>

    include <QtCore/QThread>

    include <QMutex>

    include "api.h"

    which package needs to include for these files
    plz help me out.....

     
    • cpns

      cpns - 2008-08-10

      It is 'your' code, you tell us! Did you try the obvious and Google some of those header file names?

      Many of them are related to the TrollTech Qt GUI library. If you don't know what this code is or how to build it, you are probably best off not using it. Where did you get it from (as it is obviously not yours)? If the origin of this code does not explain what you need, then it is probably of dubious quality or usability in any case.

      Presumably this is part of code that uses MySQL with a Qt GUI front-end and threads.

      Clifford

       
    • Lipi

      Lipi - 2008-08-11

      yaa.... in my query, I didn't mentioned that i m trying to compile my codes.
      I have some codes , which i want to compile..... :)

      i searched many sites for these file n i got some of them but when i include that files,It increases the number of errors.....

      So I guess, this is the not right way... I should include some packages for mysql connectivity and for GUI..

       
    • cpns

      cpns - 2008-08-11

      Getting linker errors means that you have at least successfully compiled the code, so you are on the right track. You now need to explicitly link the associate libraries. This is dealt with in item (4) of the "PLEASE READ BEFORE POSTING A QUESTION" thread.

       
    • Lipi

      Lipi - 2008-08-11

      A very thanks for your reply.....

      As u say, I includes all packages (As required). Now i got too many Linker errors..Can you plz help me again that why is it so.....

      should i need to install mysql and connect it with the database...?

      Plz help me out

       

Log in to post a comment.