Results 1 to 4 of 4

Thread: QGLWidget::isValid() not valid in Qt-4.3.2?

  1. #1
    Join Date
    Mar 2006
    Posts
    142
    Thanks
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QGLWidget::isValid() not valid in Qt-4.3.2?

    Hello,
    my Qt-4.3 doc mentions this method but I get a link error:
    Undefined symbols:
    "QGLWidget::isValid() const", referenced from:
    wlMesh::makeList(int) in wlMesh.o
    ld: symbol(s) not found
    collect2: ld returned 1 exit status

  2. #2
    Join Date
    Aug 2008
    Posts
    60
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QGLWidget::isValid() not valid in Qt-4.3.2?

    Qt docs says...

    bool QGLWidget::isValid () const
    Returns true if the widget has a valid GL rendering context; otherwise returns false. A widget will be invalid if the system has no OpenGL support.

    do u have opengl installed in ur system, check this.

  3. #3
    Join Date
    Mar 2006
    Posts
    142
    Thanks
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QGLWidget::isValid() not valid in Qt-4.3.2?

    Yes of course but my problem is not here: I get an error during library linking, which means that this method is not available in my Qt library, whereas it is mentionned in the doc!

  4. #4
    Join Date
    Mar 2006
    Posts
    142
    Thanks
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QGLWidget::isValid() not valid in Qt-4.3.2?

    Up!
    Any help from the Qt staff?

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.