I want to open another window upon a successful login but it continuously give this error.
QCoreApplication::exec: The event loop is already running