Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Unsolved MySQL : wrong driver version

    General and Desktop
    mysql driver linux
    1
    2
    792
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Didier Sampaolo
      Didier Sampaolo last edited by

      Hi,

      I'm using Qt5.6 OpenSource (I had the same problem with 5.5) on Debian Jessie.
      I'd like to connect to a MySQL database.

      The problem is that Qt is looking for libmysqlclient_16 but it's not the currently installed version (which is libmysqlclient_18). I tried to add symlinks from 18 to 16 (didn't work).

      I read that I need to rebuild the plugin to make it use the newest driver (here). Sounds good, but I can't find a $QTDIR/src/plugins/ directory. I have a $QTDIR/Src/ but no "plugins" inside it.

      I'm new to using Qt, so I'm a bit lost. Any insight would be appreciated.
      Thank you !

      Didier Sampaolo 1 Reply Last reply Reply Quote 0
      • Didier Sampaolo
        Didier Sampaolo @Didier Sampaolo last edited by

        Auto-replying : I just found this tutorial that will be very helpful.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post