Results 1 to 2 of 2

Thread: Cross-Compile MySQL Driver for ARM

  1. #1
    Join Date
    Dec 2011
    Posts
    18
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Cross-Compile MySQL Driver for ARM

    Hi!
    I've compiled qt-embedded for ARM and then cross-compiled a qt application for that arch, it works fine.

    The problem is that my app relies on MySQL, and I'm not able to get it to work on ARM. I always get the "Driver Not Loaded" error.

    I've tried rebuilding qt-embedded with the following options:

    Qt Code:
    1. -static -qt-sql-mysql -plugin-sql-mysql
    2.  
    3. but it failed with this error:
    4.  
    5. MySQL support cannot be enabled due to functionality tests!
    To copy to clipboard, switch view to plain text mode 

    Any suggestions are welcome, thank you

  2. #2
    Join Date
    Sep 2013
    Location
    Bangalore
    Posts
    9
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: Cross-Compile MySQL Driver for ARM

    i am facing same problem,but as per my knowledge it requires arm based mysql shared object files.so compile mysql for arm and compile QMYSQL driver for arm.

Similar Threads

  1. not able to compile sql driver mysql
    By sujan.dasmahapatra in forum Newbie
    Replies: 2
    Last Post: 14th July 2011, 20:44
  2. source code for odbc driver or MySql driver in arm-embedded-linux
    By sattu in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 24th January 2011, 11:11
  3. I need MySQL driver for Qt 4.6, WindowsXP(32), MySQL 5.1
    By User_3 in forum Installation and Deployment
    Replies: 7
    Last Post: 15th October 2010, 16:19
  4. Cross-Compile to QT/X11 ARM
    By shiranraviv in forum Installation and Deployment
    Replies: 6
    Last Post: 18th December 2009, 12:22
  5. cant compile mysql driver
    By IsoArska in forum Newbie
    Replies: 18
    Last Post: 30th November 2009, 23:51

Tags for this Thread

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.