Hello there,

I developed a Qt application with gui and everything for the running and visualization of physics-related experiments. Sometimes I have to start a long running process that can take several days to try out many things in the background and in the end reports with the found results. I am looking for a way to launch this background process without a gui just by invoking a command in the shell. The process is in an Object that derives from QThread and can run on its own. As far as I see it, it is really just a question of building the project right. Does it makes sense to have two project configurations, where one would build a gui application and the other just a console application? If this is the right way, would I have two different .pro files then? Would I need two .cpp classes that have a main() function tailored to my needs?

Thanks,
Cruz