Results 1 to 3 of 3

Thread: Setting the video mode

  1. #1
    Join Date
    Jul 2007
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Question Setting the video mode

    Hello

    Is it possible to set the video mode in Qt4?

    For example, I want to run a fullscreen app that uses OpenGL in 800 x 600 x 32bit colour.

    Up until now I've used SDL to set the videomode, but wanted to know if Qt can do it, and couldn't find it in the documentation.

    Thanks in advance.

    Jimbo

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Setting the video mode

    What if u apply this on the widget -
    setWindowState(Qt::WindowFullScreen) ??

  3. #3
    Join Date
    Jul 2007
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Setting the video mode

    Hi

    Yeah, that's fine, but I need to set the video mode too (resolution) to 800x600 because my desktop runs in 1600x1200.

    Any ideas, anyone?

    Thanks again

Similar Threads

  1. [SOLVED] DirectShow Video Player Inside Qt
    By ToddAtWSU in forum Qt Programming
    Replies: 16
    Last Post: 3rd November 2011, 08:47
  2. Replies: 2
    Last Post: 22nd July 2007, 20:21
  3. qodbc driver not loaded error in release mode
    By mandal in forum Qt Programming
    Replies: 1
    Last Post: 14th November 2006, 10:42

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.