I'm working on Qt 5.5 with Qt Creator. I have a big class called settingsWindow that, as the name should suggest, takes care of various settings. These settings are then used to start some QDialogs which show a very complex animation on a scene inside a qGraphicsView, that is updated constantly via QCoreApplication::processEvents(), whoch in turn mantains the GUI responsive. The animation is started via the method start() of the QDialog. I'd like to run these QDialogs simultaneously, for example via a button start that starts all of them in the same moment. I tried using a wrapper, that is, a simple class inheriting from QObject, assigning it to a different thread each time, but still if I start a QDialog all goes fine, when I start the second one, the first one "blocks" (animation stops and only in the second Qdialog the animation is visible). The only solution I have is to start a separate QProcess for each of them (in this way I am sure they run separately and are on different threads), but I would need to rewrite the logic (separate programs for each QDialog).
Any simpler solution? Thank you in advance.