Load image (blob) from disk to MySql database using Qt

preview_player
Показать описание
Load image (blob) from disk to MySql database using Qt
Рекомендации по теме
Комментарии
Автор

I need to follow this tutorial from the beginning

mohamedmoustaphabalde
Автор

how did you create this interface and connect it to database?

mohamedmoustaphabalde
Автор

It is just the name i have chosen for the connection.
Something like:
QSqlDatabase *db = new QSqlDatabase(QSqlDatabase::addDatabase("QMYSQL", ("choseANameHere")));

Автор

please can you tell me how to connect mysql to qt i get Driver is not loaded please can you help me

amrkamal
Автор

what is "connection1" mean?
 

chen-ning