Hellow everyone ^^;
Situation: i have pocketsphinx program in c language after alot of struggling i get it with c++ language; now i have folder with .cpp,.h and.o files for my program.... i want to run this program in qt ( i have qt5 and i'm very new in this)
question is how to do it?? plz in details.

i tried to create project in qt and use "add existing files" feature but i get error message that the header "gst/gst.h" is not known for qt ( i don't know if this method is correct or not)... then i'm thinking about using qprocess to run the program from qt using path or something but i don't know how to do it exactely...

PS: i want this program as part( or class or thread or ... anything available) in gui programming with qt: means that when i click start reading the program of pocketsphinx run and start to recognize the words ( all this in qt)

plllzzz help me