Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Custom designer widget only shows "Component is not a valid Qt plugin" in QtDesigner
Forum Updated to NodeBB v4.3 + New Features

Custom designer widget only shows "Component is not a valid Qt plugin" in QtDesigner

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 1.9k 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.
  • M Offline
    M Offline
    mbreier
    wrote on last edited by
    #1

    Hello,

    I now this topic was discussed several times but I could not find a solution for my special case.

    • My development environment is Win7 32 Bit, Qt 4.8.0, QtCreator 2.4.1.
    • I use mingw and the QtCreator is compiled from source with this setup.
    • I have installed QWT 6.0.1 and also compiled
    • The QWT plugins are shown fine in QtCreator

    Now I have an inherited component (a BarGraph inherited from QwtAbstractScale) with some more features. I want to make a custom designer widget so it is also shown in the QtCreator.
    I followed the example of the analogclock customdesignerwidget and also used the wizzard but I only get the above mentioned error message.
    Is there any possibility to get more information from QtCreator or QtDesigner, maybe in some log files where I can get more information what is wrong?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goblincoding
      wrote on last edited by
      #2

      I remember reading somewhere (sorry, but I can't find it now) that the Qt lib versions that QtCreator was compiled against has to match the Qt lib versions you are compiling your plugin against. In other words, if QtCreator 2.4.1 wasn't compiled against Qt 4.8.0, I don't think it will work if your plugin IS compiled against 4.8.0. I hope that makes sense...Not sure if that may perhaps be the issue here.

      EDIT: I just realised that you said you compiled QtCreator from source. Sorry!

      http://www.goblincoding.com

      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