×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    2

    Qt + Symbian^3 surfaces

    Environment:
    Nokia Symbian^3 SDK v0.8
    Qt 4.6.3

    I'd like my Qt app to render video using surfaces. I get RWindow for the top-most widget (main screen) and bind it with a surface created. Video is rendered fine in extent set earlier in surface configuration, but the problem is that all QWidget-s are then no longer visible in main screen. I end up with a video frame and the whole area outside the frame is plain white

    The question is: are QWidgets and surface supposed to work together (in terms of UI content being rendered) within a single RWindow? If that is the case - what coud I be doing wrong?

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Qt + Symbian^3 surfaces

    RWindow is the Symbian C++ window. Qt windows/widgets and Symbian windows/widgets are NOT supposed to work together. You get what you get, and you risk the possibility of failure at a later date.

  3. #3
    Registered User
    Join Date
    Jul 2010
    Posts
    2

    Re: Qt + Symbian^3 surfaces

    Well, that would mean that you basically can't take advantage of surfaces feature in Qt applications...

    There are 'native widgets' in Qt which actually have native windows (RWindow) associated with them, so since I need video frame placed next to QWidgets in my screen I tried to create an additional native QWidget (as a placeholder where video frames would be displayed) and bind its RWindow with surface. It does not work either - video is rendered fine, but QWidgets are not visible.

    Mixing RWindows and QWidgets sounds extremely ugly (since we are talking about 2 completely different levels of abstraction) and it is. Ideally I shouldn't even try to put my hands on RWindow at Qt level, but Qt does not seem to support surfaces in any way (???), so I'm trying to figure out workaround, hack, whatever...

Similar Threads

  1. Qt Creator code completion not working with Qt Mobility for Symbian
    By ceefour in forum [Archived] Qt Mobility Project
    Replies: 4
    Last Post: 2011-09-10, 05:02
  2. S60_5th_Edition_SDK_v1_0 + Qt creator 2.0 + qt-symbian-opensource-4.7.0-beta1配置问题?
    By fish_of_deadsea in forum [Archived] Qt General ( Qt技术)
    Replies: 0
    Last Post: 2010-05-30, 06:11
  3. Replies: 0
    Last Post: 2009-11-18, 12:18
  4. [OGL S60 3rd Edition] White surfaces on example box
    By Guruma in forum Symbian Media (Closed)
    Replies: 5
    Last Post: 2008-03-07, 12:57

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •