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. How to add a widget to Qt creator
Forum Updated to NodeBB v4.3 + New Features

How to add a widget to Qt creator

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 1.1k 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.
  • Z Offline
    Z Offline
    ZottoR
    wrote on last edited by
    #1

    Hi, people i'm trying to add a custom widget that i've created, i put the *.dll file into C:\Qt\Tools\QtCreator\bin\plugins\designer but the widget isn't in the design area. Thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Did you build your designer plugin using the same compiler that was use for Qt Creator ?

      Also, please search a bit through the forum. This question has already been asked several times.

      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
      • Z Offline
        Z Offline
        ZottoR
        wrote on last edited by
        #3

        Hi, thanks for your answer,
        I've been spending hours and hours reading and testing, you were right, initially i compiled my widget with a different compiler.

        I tried to do all the steps a different PC and it worked! that machine was using W7 32 Bits, but i still can't make it work in my computer wich is W8 64 Bits the Plugin Information now just say: "Cannot load library: C:/...". what could it be the issue?

        1 Reply Last reply
        0
        • dheerendraD Offline
          dheerendraD Offline
          dheerendra
          Qt Champions 2022
          wrote on last edited by
          #4

          It means that either 1. it is not able to find the library in given path 2. Some dependency libraries may be missing to load your library. You can use dependency walker(google it) and check which dependencies are missing.

          Dheerendra
          @Community Service
          Certified Qt Specialist
          http://www.pthinks.com

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Also, are you building your plugin in 64 bit ? IIRC, Qt Creator is provided in 32

            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

            • Login

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