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. How to install MySQL driver for client application on BeagleBone Black with Cross-Compiling
Forum Updated to NodeBB v4.3 + New Features

How to install MySQL driver for client application on BeagleBone Black with Cross-Compiling

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 3.4k 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.
  • M Offline
    M Offline
    manolia
    wrote on last edited by
    #1

    Hi,

    I have QT library 4.8 installed on the beaglebone black with ubuntu installed. And I'm cross compiling to it from another ubuntu.
    I tried QtSql libraries. But it asks for MYSQL driver for QSqlDatabase functions.

    how to install these libaries on the Beagle? I'm kind of stucked at this point and i don't have much time. I only need to be able to reach a table on the remote server to query, insert and edit data

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sriram vr
      wrote on last edited by
      #2

      when cross-compiling QT 4.8 for ubuntu you need to enable MYSQL if done then you need to install MYSQL driver for ubuntu go to ubuntu software center from your beagle bone and install

      libqt4-sql-mysql

      or simply connect beaglebone to internet simply and type
      sudo apt-get install libqt4-sql-mysql in terminal the driver will get installed before this ensure that you have installed MYSQL server on beagle bone or do that by typing

      • sudo apt-get install mysql-server*
      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