Hi everybody, it's been 10 hours i try and search around on the web what i should do to make it work but nothing. Like i wrote in the title , i wish to connect to my mariadb. Some people may say, why you don't use mysql or anything else? so the reason is my server use mariadb and it's my goal to connect my software to my online database


1.png

2.png

4.jpg

3.jpg


Qt Code:
  1. QSqlDatabase: QMYSQL driver not loaded
  2. QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL7
  3. Database error occurred
To copy to clipboard, switch view to plain text mode 

I only need a clue where to start. I read so much docs, i really need a tips please.

Thanks a lot