Hi All,

I am facing one problem.I have one existing code written in C ,I want to use Qt functionality(GUI) to make it more user friendly .
Problem:-
One part of the code contains fgets() operation ,which is called when certain file is missing and user has to specify file path in command window("cmd" in windows).
I have compiled the code using qt application(GUI) mode,but it is not calling the command window which is leading my program to crash.

PS:- It is working absolutely fine in CONSOLE Mode.

Can anyone help me with this?

Thanks in advance.