Results 1 to 19 of 19

Thread: cant compile mysql driver

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2009
    Location
    Finland
    Posts
    12
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: cant compile mysql driver

    Here is in the attachement the full makefile
    Attached Files Attached Files

  2. #2
    Join Date
    Oct 2009
    Posts
    364
    Thanks
    10
    Thanked 37 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: cant compile mysql driver

    Did you delete everything in the mysql folder except those two files?

    If so, then try taking out all references to MS SDK in your Makefile.debug. But now you will be really messing around - only do this as a last resort.

    When is the last time you tried reinstalling Qt SDK?

    btw: you shouldn't have to run the reimp tool, I just link the lib from mysql directly just as in the guide.

  3. The following user says thank you to schnitzel for this useful post:

    IsoArska (30th November 2009)

  4. #3
    Join Date
    Nov 2009
    Location
    Finland
    Posts
    12
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: cant compile mysql driver

    reinstalled about 2h ago and after that i took the references out didnt helpd and yes i have deleted all in that directory except thos 2

    and i have used the lib without reimp but no use.

  5. #4
    Join Date
    Nov 2009
    Location
    Finland
    Posts
    12
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: cant compile mysql driver

    do i miss some dll's or do i have the wrong version of sdk the sdk is visual studio express version i did install 6.1 version and changed the debug directories but that didnt used at all

  6. #5
    Join Date
    Oct 2009
    Posts
    364
    Thanks
    10
    Thanked 37 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: cant compile mysql driver

    The strange thing is the references to MS SDK in your Makefile.debug. Don't know why they are in there. I also have VS express 2008 installed, plus the 6.0A SDK, yet my makefile.debug doesn't have any references to SDK.

    Perhaps one of the gurus is kind enough to take a look at your problem - I don't have more suggestions... sorry.

  7. #6
    Join Date
    Nov 2009
    Location
    Finland
    Posts
    12
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: cant compile mysql driver

    hmm...could you send me your makefile.debug file ? maby it helps

  8. #7
    Join Date
    Oct 2009
    Posts
    364
    Thanks
    10
    Thanked 37 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: cant compile mysql driver

    attached zip file contains Makefile, Makefile.debug, Makefile.release.

    hope it helps
    Attached Files Attached Files

  9. The following user says thank you to schnitzel for this useful post:

    IsoArska (1st December 2009)

  10. #8
    Join Date
    Nov 2009
    Location
    Finland
    Posts
    12
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: cant compile mysql driver

    ¨WIPPII It Worked just changed the right directories and did reimp to libmysq.lib and copied liblibmysql.a to the qt mingw\lib directory

    Thanks so much my 12h work wasnt wasted

  11. #9
    Join Date
    Oct 2009
    Posts
    364
    Thanks
    10
    Thanked 37 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: cant compile mysql driver

    so it worked after you replaced directories from my Makefiles?

    Good for you, but I would be cautious for future development. Something isn't right with your environment - just keep that in mind if you run into other build failures.

  12. The following user says thank you to schnitzel for this useful post:

    IsoArska (1st December 2009)

Similar Threads

  1. mysql driver not loaded after deployment
    By tpf80 in forum Newbie
    Replies: 4
    Last Post: 4th September 2011, 10:12
  2. MySQL driver , I have, it still not loaded
    By bigkoma in forum Qt Programming
    Replies: 14
    Last Post: 30th January 2011, 10:38
  3. Qt mysql driver installation problem
    By alphajoseph in forum Installation and Deployment
    Replies: 1
    Last Post: 8th February 2009, 11:56
  4. qtgui4.dll error in visual c++ 2005
    By Comptrol in forum Installation and Deployment
    Replies: 33
    Last Post: 19th June 2008, 07:18
  5. MySql plugin driver issues
    By stevey in forum Installation and Deployment
    Replies: 11
    Last Post: 20th September 2006, 13:45

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.