Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Promoting widget to QGLWidget
Forum Updated to NodeBB v4.3 + New Features

Promoting widget to QGLWidget

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 705 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.
  • B Offline
    B Offline
    bqpd
    wrote on last edited by
    #1

    Hi.

    I'm creating a simple gui project dropping a widdget(of type QWidget) into form.ui and then I want to promote it to QGLWidget. For some reason this class is not listed in the base class name list.

    Also when I was creating a GLWidget class to inherit from QGLWidget I had to type its name in the base class field manually. It was not on that list either.

    If anyone could please help me finding the reason why am I missing this class. I checked on the presence of QGLWidget.h in ../qt folder../ and it is there as it should be.

    Also what tried was to manually write there the name of the class I want to promote my widget to (QGLWidget) and straight away after doing that I am getting an error saying:
    " fatal error LNK2019: unresolved external symbo public: _cded GLWidget::GLWidget(class QObject *) ..........etc...."
    " fatal error LNK1120: 1 unresolved externals"

    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