Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QGLWidget Sporadically fails to expand into layout
Forum Updated to NodeBB v4.3 + New Features

QGLWidget Sporadically fails to expand into layout

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 466 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.
  • G Offline
    G Offline
    grahamrow
    wrote on last edited by
    #1

    Greetings!

    I'm working, for the moment, with a statically built Qt 5.2.1 on Linux. I've been getting a problem that I haven't seen on other versions or platforms. Every once in a while, when I launch my application, my main QGLWidget doesn't occupy it's horizontal container! I'm suspected an internal bug, but that's always what I expect when I'm largely clueless as to the cause.

    Expected behavior:
    !https://dl.dropboxusercontent.com/u/10789691/Correct.png(Correct!)!

    Occasional behavior:
    !https://dl.dropboxusercontent.com/u/10789691/Incorrect.png(incorrect!)!

    The app responds perfectly after I resize the thing. I've tried a variety of manual resize(), update(), and other calls. Also I've tried reimplementing sizeHint() within my class. Are there any known problems here?

    Thanks!
    Graham

    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