Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Configuring Qt5.1.1 and mydql 5.6.
Qt 6.11 is out! See what's new in the release blog

Configuring Qt5.1.1 and mydql 5.6.

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 585 Views 1 Watching
  • 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.
  • G Offline
    G Offline
    gor kogalo
    wrote on last edited by
    #1

    Hello all,

    I have compiled mysql driver using mingw32-make and got the following four files:
    a.)libqsqlmysql.a
    b.)libqsqlmysqld.a
    c.)qsqlmysql.dll
    d.)qsqlmysqld.dll.
    in the following directory:
    c:/qt/5.1.1/src/qtbase/src/plugins/sqldrivers

    when I try to debug mysql.pro I get this error:
    cannot find -libmysql
    error: Id returned 1 exit status

    I have added these lines to the .pro file
    LIBS+=C:/SERVER/MYSQL/LIB/libmysql.lib
    INCLUDEPATH+=C:/SERVER/MYSQL/include.

    What might be the problem?

    Gor

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved