How can I integrate an existing .exe file (a compiled project) into another Qt project?
-
I have a compiled .exe file from a previous Qt project, and now I want to integrate or run this .exe from within another Qt application. What is the best way to do this in Qt?
Should I use QProcess to start the executable? Also, is there a way to send or receive data between the main application and the .exe if needed?
I’m developing on Windows using Qt 6.x with CMake. Any help or examples would be appreciated.
-
I have a compiled .exe file from a previous Qt project, and now I want to integrate or run this .exe from within another Qt application. What is the best way to do this in Qt?
Should I use QProcess to start the executable? Also, is there a way to send or receive data between the main application and the .exe if needed?
I’m developing on Windows using Qt 6.x with CMake. Any help or examples would be appreciated.
@TejasM said in How can I integrate an existing .exe file (a compiled project) into another Qt project?:
Should I use QProcess to start the executable?
Yes, see QProcess documentation for more details.
"is there a way to send or receive data between the main application and the .exe if needed?" - does this compiled application provide any means of inter-process communication?
-