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. Widgets as Abstract Base classes in the Qt Designer
Forum Updated to NodeBB v4.3 + New Features

Widgets as Abstract Base classes in the Qt Designer

Scheduled Pinned Locked Moved General and Desktop
abstract classqtcreatorqtdesigner
2 Posts 2 Posters 1.2k Views 2 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.
  • C Offline
    C Offline
    cuddlykittens11
    wrote on 8 Jul 2015, 01:48 last edited by
    #1

    I'm right now making some layouts using the Qt Designer tool. I have a widget that is a subclass of QWidget, but it's an abstract base class. The compiler will spit out an error at me if I try to compile. Is there a way in the designer that I can tell it that the promoted widget is actually an abstract class?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 8 Jul 2015, 21:16 last edited by
      #2

      Hi,

      Not that I know of. Why would need that ? You can't compile anything that is an abstract

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      1/2

      8 Jul 2015, 01:48

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved