How do I embed a binary executable (to be executed at runtime) in a Qt program?
问题 I'm writing a cross-platform C++ program using Qt and I want to package/embed a number of binary executables within the program. The program should be able to execute these binaries at runtime. I figured, I would need QResource and QProcess using start() and the ":/..." notation, but I don't seem to get the process running. Is there anything I am missing? Should it work like this? Does the binary need to be set as executable? Background: I am writing a tool which uses Git and I don't want to