Results 1 to 20 of 34

Thread: QGLWidget problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: QGLWidget problem

    Quote Originally Posted by MarkoSan View Post
    setLayout(m_pVLayout); // sets main layout on widget
    setLayout(m_pHLayout); // sets main layout on widget
    You can't set the layout twice.

  2. #2
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android
    Thanks
    111
    Thanked 4 Times in 4 Posts

    Default Re: QGLWidget problem

    I've commented the line:
    Qt Code:
    1. setLayout(m_pHLayout); // sets main layout on widget
    To copy to clipboard, switch view to plain text mode 
    and I get same result.
    Qt 5.3 Opensource & Creator 3.1.2

Similar Threads

  1. Serious problem with QGLWidget
    By al101 in forum Qt Programming
    Replies: 12
    Last Post: 27th April 2007, 14:52
  2. why linking problem with QGLWidget???
    By Shuchi Agrawal in forum Newbie
    Replies: 17
    Last Post: 16th March 2007, 11:45
  3. Problem combining QWorkspace & QGLWidget
    By Nb2Qt in forum Qt Programming
    Replies: 1
    Last Post: 18th December 2006, 22:45
  4. QGLWidget renderText problem
    By mbjerkne in forum Qt Programming
    Replies: 1
    Last Post: 7th April 2006, 22:35
  5. Replies: 16
    Last Post: 7th March 2006, 16:57

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
  •  
Qt is a trademark of The Qt Company.