Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Why Qt 4.8.5 can not found two monitor ?



  • OS : Ubuntu 12.04
    Qt 4.8.5

    My OS could found 2 monitor and use it, but Qt can not found it.

    QDesktopWidget* desktop = Application::desktop();
    qDebug() << desktop->screenCount();
    

    output is "1"


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    There could be several reasons. One of which your desktop could cover both your screen rather than being two desktop one for each of them.


Log in to reply