Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QGLWidget child class not be added into Layout
Forum Updated to NodeBB v4.3 + New Features

QGLWidget child class not be added into Layout

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 476 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jeonchangwoo
    wrote on last edited by
    #1

    hi! i'm korean developer (not North, Republic) and got a problem
    (please understand me although my English is poor.)

    i develop a application that receives jpeg images, (from udp) and paints into widget.
    so that, i defined a class renderGLWidget inheriting QGLWidget.
    renderGLWidget class has two method, one is public that receives QPixmap image through parameter, the other that repaints received image is re-defined(protected).
    it works well at the Desktop enviroments (windows, compiled with MINGW and MSVC)

    but at the Android (version 4.4, kitkat, GCC 4.3), it works well however doesn't added to Layout.
    it always paints at the least, and application can't affect geometry to renderGLWidget.
    so all of pixel printed from start point (0,0), and other widgets overlay renderGLWidget.

    !http://changwoo.me/layouts.png(layouts)!
    i explained layouts into above image and try add renderGLWidget to screenLayout

    please help me... T.T

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved