title: Multiple QMainWindow instances?
body: <p>The <code>QMainWindow</code> is the main window in a Qt application. So usually you'd have only one, but would it be possible at all to have multiple <code>QMainWindow</code> instances in your application? </p>
  
  <p>I am working on integrating a Qt-based GUI application <em>B</em> into another Qt-based GUI application <em>A</em>. Both these applications have a <code>QMainWindow</code>, and I was considering as a first step to create a new <code>QMainWindow</code> that has both old <code>QMainWindows</code> on tabs. That way it would allow me to concentrate on wiring the backend of GUI <em>B</em> to the backend of <em>A</em> without having to change anything in the user interface itself. Is this a viable approach, or do you have other suggestions?</p>