Results 1 to 5 of 5

Thread: compile mySQL plugin - mysql_config not found

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Jun 2012
    Location
    Austria
    Posts
    22
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: compile mySQL plugin - mysql_config not found

    Good hint, thanks.
    On ubuntu 20.04 the package seem be called libmariadb-dev. So yes, libmariadb-dev and libmariadbclient-dev are installed.
    Where is mysql_config on your system? Somehow I can't find it at all...


    Added after 7 minutes:


    UPDATE:
    A very ugly (although working) workaround is to tweak the mysql.pro in the mysql subfolder.
    I removed the QMAKE_USE += mysql and added INCLUDEPATH and LIBS pointing to the appropriate places. And viola it compiles, installs and is found at runtime.
    Still I would be highly interested in a clean solution.
    Last edited by stryga42; 17th November 2022 at 17:16.

Similar Threads

  1. Cannot compile Qt 5.5 Opensource mysql plugin
    By MarkoSan in forum Installation and Deployment
    Replies: 1
    Last Post: 17th August 2015, 08:43
  2. Replies: 0
    Last Post: 14th September 2012, 19:46
  3. How to compile a mysql plugin in the QT 4.7 version?
    By wter27 in forum Qt Programming
    Replies: 0
    Last Post: 29th January 2011, 04:26
  4. Replies: 5
    Last Post: 25th September 2009, 14:03
  5. Too simple compile error to be found by me??!!!
    By MarkoSan in forum General Programming
    Replies: 6
    Last Post: 20th December 2007, 04:40

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.