Thread: Qt Mysql connector on windows 7 64 bit

  1. #1
    Registered User
    Join Date
    Dec 2010
    Posts
    9

    Qt Mysql connector on windows 7 64 bit

    hello, i am workin on a project that should work on Debian, Windows xp and Windows 7 32/64 bit. and using Qt and mysql database.

    i am going well, debian and win xp are ont the wheels, but i cant make it work with windows 7. it is imposible to build the mysql plugin for Qt.

    i am not a c++ experienced programmer, i came from java where things are easier to do. now, i wanna try to use POCO C++ to and replace QtSql module of the project. but the main thing i saw is that poco for windows is build on MSVC, and my compiler is mingw on windows.

    If someone who worked with poco and Qt, please can explain to me if i can use it with mingw on windows?

    my hope is that, if i can make it out building a dll on vc++ and reimp it like i did with the libmysql.lib to make the static library and then build the plugin for Qt, i think that i can do it with poco's library. build with vc++, and do the "reimp stuff" (i dont know the name of that manouver) but i dont wanna do if there isn't possible. as i said, i am a noob on c/c++, i need some experienced opinion and point of view.

    or may be i should use Qt and MSVC together, there is the qt lib for vc++.
    but i really wanna work only with mingw, and with poco i wanna make my server, to manage conections, and if i can make to use it as my default database lib, it would be very cool..

    ok, that is all.

    best regards

  2. #2
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    I have never built anything Qt related ever but have you tried following this guide to build the qmysql (im assuming thats the one you are referring to) plugin?

    Building the QMYSQL plugin on Windows using MinGW - QtCentreWiki

  3. #3
    Registered User
    Join Date
    Dec 2010
    Posts
    9
    Quote Originally Posted by Shakti View Post
    I have never built anything Qt related ever but have you tried following this guide to build the qmysql (im assuming thats the one you are referring to) plugin?

    Building the QMYSQL plugin on Windows using MinGW - QtCentreWiki
    yes, i try that, it is not working.
    i am thinking about writing my own driver.
    i will try to do it, and learn some stuff.

    :P

  4. #4
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    What exactly is not working, ie are you getting compile-errors or some other kind of error? Show us the errors and we might be able to help.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling error on 64 bit processor
    By wahid in forum C Programming
    Replies: 2
    Last Post: 07-17-2009, 02:28 PM
  2. Replies: 8
    Last Post: 05-21-2009, 05:47 PM
  3. Codec Bitrates?
    By gvector1 in forum C# Programming
    Replies: 2
    Last Post: 06-16-2003, 08:39 AM
  4. 64 bit variables
    By Yawgmoth in forum C Programming
    Replies: 11
    Last Post: 12-19-2002, 01:55 PM
  5. 64 bit
    By stormbringer in forum C Programming
    Replies: 2
    Last Post: 10-29-2002, 06:51 PM