[Qt-interest] run on the second screen

SALOMEHER at terra.es SALOMEHER at terra.es
Wed Oct 28 14:55:46 CET 2009


Hi,
I have two screens, do the following:
    qApp->desktop()->numScreens()        return 2.
But what I want is that my application run on the second monitor. How do I do this?
I tried 
     Qwidget *w2 = new Qwidget (qApp->desktop()->screen(1))   but does not work.
Any ideas?
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091028/c873e37c/attachment.html 


More information about the Qt-interest-old mailing list