Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to create the plugin of MYSQL for Qt (linux)
Forum Updated to NodeBB v4.3 + New Features

How to create the plugin of MYSQL for Qt (linux)

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.2k Views 2 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.
  • chawilaC Offline
    chawilaC Offline
    chawila
    wrote on last edited by
    #1

    Hello everyone.

    If you are reading then it means u`re a linux user who what to connet your Qt project to mysql database.

    The reason why i did these doc is because i spent my past weeks trying to figure out how these can be archived, and many people nerver had interest in helping me. exept for @mrjj and others who have tried.

    so i installed mysql development packages with these commands:

    sudo apt-get install mysql-client
    sudo apt-get install libmysqlclient-dev
    sudo apt-get install libqt5sql5-mysql
    sudo apt-get install libmysql++-dev
    

    From there i ran a very special command that i dont know what i does, which is :

    sudo apt-get install libmysqlcppconn-dev
    

    then everything went very well, you dont need to download those Qt sources blah blah..
    so i hope these will help you too.

    Thanks for reading...

    1 Reply Last reply
    2
    • L.GogsL Offline
      L.GogsL Offline
      L.Gogs
      wrote on last edited by
      #2

      Congrat :))

      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