Maybe you can interface with the other language through a helper process instead?

E.g. either in that language itself or with Qt write a program that communicates with your main program and runs whatever task you want done in the other language.
The main program can then launch and stop this process when needed, each time triggering a new runtime linking on startup.

Cheers,
_