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. Creating hierarchy of custom widgets
Forum Updated to NodeBB v4.3 + New Features

Creating hierarchy of custom widgets

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.3k 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.
  • R Offline
    R Offline
    rdfrahm
    wrote on last edited by
    #1

    I'm trying to create a base class for a widget, then create 2 or 3 subclassed widgets descending from the base class. I'm using Creator's built-in wizard for creating a plugin project for both the base class and the subclass. I can easily build both, but the subclass doesn't appear in Designer, just the base class. When I go to Tools->Form Editor->About Qt Designer Plugins I see this error:

    Cannot load library /usr/share/qt4/plugins/designer/librdftempprobemonitorplugin.so: (/usr/share/qt4/plugins/designer/librdftempprobemonitorplugin.so: undefined symbol: _ZTI16RDFTempProbeBase)

    RDFTempProbeBase is my base class, and RDFTempProbeMonitor is my subclass descended from RDFTempProbeBase.

    I've done a fair amount of research but have been unable to figure out how to resolve this. Any ideas?

    Thanks,
    Rich

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rdfrahm
      wrote on last edited by
      #2

      It figures...I finally ask for help and then figure it out an hour later. If I add the header and source files for the base class to the subclass project, then the subclass shows up in designer.

      Rich

      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