Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Make QtCreator recognize costum widgets

Make QtCreator recognize costum widgets

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 1.0k 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.
  • N Offline
    N Offline
    nefarius2001
    wrote on last edited by
    #1

    Hi everyone,

    i have tried several things found in the examples available, but I can not make my widgets show up in the QtCeators design view.
    I downloaded(copied) the files from http://qt-project.org/doc/qt-5.0/qtdesigner/customwidgetplugin.html
    added an analogclock.json with the content@{
    "Keys": [ "analogclock","widgetttt" ]
    }
    @
    cd to a build folder, qmake, mingw32-make, mingw32-make install

    My system is win7 64 bit, qt5.0.1 32bit-mingw

    If no one can give me a clue I will give it up...

    Can anyone help me?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Qt is rather picky as to which plugins it will load. Did you build your custom widget plugin with the same settings creator was build (using same Qt, same compiler, etc.)? IIRC Creator is build with MSVC2010 on windows, independently of how the Qt in the same package was built.

      You can either try to reproduce the exact settings used to build Creator at your box (the settings used should be documented in the manual) or just build creator yourself. From my experience the latter approach will take less time.

      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