Link Qt5 and MySQL 5.6 on Windows 8

  • Hi all,

    I got the following error: undefined reference to `mysql_server_init@12'

    win32:LIBS += $$quote(c:/mysql/lib/libmysql.lib)
    win32:INCLUDEPATH += $$quote(c:/mysql/include)
    win32:DEFINES += LCC

    It used to work on Windows XP, any idea?

    Best regards

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.