Hi, i have created a project(Gui project) and in the main.cpp file i have some sql queries that gets data from a remote sever liekt this;
if(!query.exec("SELECT..........")){
qDebug()<<"FAIL";
}
while(query.next()){
QString name = query.value(0).toString();
qDebug() << name;
}
it works well and i have the results printed out like "abdnsh"
Now in my .ui i have Text Edit. How can i append the sql reults to the Text Edit in my .ui?
I'm a beginner, please i will appreciate
Bookmarks