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 widget does not shows on qt designer
Forum Updated to NodeBB v4.3 + New Features

Custom widget does not shows on qt designer

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

    i made some code following "http://doc.qt.nokia.com/4.7/designer-customwidgetplugin.html", but found that there's shows no icon for my custom widget on qt desginer. next, i copied the compiled file(...dll, ...a) from "C:\QtSDK\Desktop\Qt\4.7.4\mingw\plugins\designer" to "c:\qtsdk\qtcreator\bin\designer", then "menu>tools>form editor>about qt designer plugins..." dialog box show that my plugin is failed to be loaded. the message is "The plugin 'C:/QtSDK/QtCreator/bin/designer/...dll' uses incompatible Qt library. Expected build key "Windows msvc release full-config", got "Windows mingw release full-config". of course i'm using mingw and there's no visual studio on my pc. what's the problem?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      Your problem is that your QDesigner is build with Visual studio and uses a Qt version that is build with that compiler as well. However, you do not have that compiler installed, so you can not build plugins for it. Either get VS installed on your system (you can use the free Express edition without issues) or build a Mingw version of Designer yourself.

      P.S. I am moving this topic out of Quick (has nothing to do with QML/Quick) into Tools.

      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