game
18th December 2012, 09:07
Dear Forum supervisors and users,
I just started using Qt and this forum too.
Currently, i want to write a program which depend on Qt which later on let us to develop GUI easily.
For now I am just using input/output console to view the results and use other softwares for visualization,
My Current difficult is how to read files by definining PATH to the file directory.
I am using the opencascade libraries to read the file!
And I am using the following code to read my file at the defined directory.
IGESControl_Controller::Init();
IGESControl_Reader reader;
IFSelect_ReturnStatus stat = reader.ReadFile("/home/de052/Desktop/cd/original/KCS_simman.igs");
Now I want the user to defined the directory not like above static.
How can i do that in Qt programming environment, mind i don't need GUI for now!
I want the user will define the path.
Any help please
I just started using Qt and this forum too.
Currently, i want to write a program which depend on Qt which later on let us to develop GUI easily.
For now I am just using input/output console to view the results and use other softwares for visualization,
My Current difficult is how to read files by definining PATH to the file directory.
I am using the opencascade libraries to read the file!
And I am using the following code to read my file at the defined directory.
IGESControl_Controller::Init();
IGESControl_Reader reader;
IFSelect_ReturnStatus stat = reader.ReadFile("/home/de052/Desktop/cd/original/KCS_simman.igs");
Now I want the user to defined the directory not like above static.
How can i do that in Qt programming environment, mind i don't need GUI for now!
I want the user will define the path.
Any help please