I have a simple UI application that has a single QApplication object. When i try to start it twice i get this error showing on the screen:
"Program Closed: Main CONE 28"
The first instance of the UI still runs fine.
When debugging, it shows that it fails at the point where it tries to construct the QApplication object (second time round).
Is there a way to prevent this?