[Qt-interest] two main windows application

John McClurkin jwm at nei.nih.gov
Wed May 20 13:54:35 CEST 2009


Giancarlo Amati wrote:
> Hello QTers!!!
> 
> I have my application with its main window. now, what I want is having 
> the possibility ot open a new window where I'm gonna visualized a video 
> in real-time caputured by a webcam.
> So I though using another QMainWindow object. Would it be a trouble for 
> the very main window or not? The use of a DialogWindow would be better?
> 

You can have multiple objects derived from QMainWindow. What you can 
have only 1 of is the QApplication object.



More information about the Qt-interest-old mailing list