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 can i integrate a new widget in qt?
Qt 6.11 is out! See what's new in the release blog

How can i integrate a new widget in qt?

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 5 Posters 1.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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I want to integrate a led in qt widget but i didn't find in internet..Can you help me?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MrShawn
      wrote on last edited by
      #2

      See if this helps.

      https://forum.qt.io/topic/92298/how-to-show-led-in-gui-and-use-push-button-to-control-it

      1 Reply Last reply
      1
      • T Offline
        T Offline
        TobbY
        wrote on last edited by
        #3

        Hello,
        I think you are planning to do the same as this project.
        https://github.com/melanholly/qt5-led-indicator-widget

        1 Reply Last reply
        1
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          Thanks...it's a code to create a led..but i want to integrate the widget led in qt widget to have it ready

          aha_1980A 1 Reply Last reply
          0
          • ? A Former User

            Thanks...it's a code to create a led..but i want to integrate the widget led in qt widget to have it ready

            aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by aha_1980
            #5

            Hi @vale88

            Sorry, I don't understand what you want, LedIndicator is a QWidget: class LedIndicator: public QWidget

            Qt has to stay free or it will die.

            1 Reply Last reply
            3
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              I know, but I would build a led widget to integrate in qt library

              mrjjM 1 Reply Last reply
              0
              • ? A Former User

                I know, but I would build a led widget to integrate in qt library

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @vale88
                Hi
                To make it available inside Designer you must make it a Designer plugin.
                http://doc.qt.io/qt-5/qtdesigner-customwidgetplugin-example.html

                If you are on windows platform, you must use same visual studio compiler as listed
                in Creators About.
                alt text

                Mingw will not work. Also it must be 32 bit and release mode.

                1 Reply Last reply
                1
                • T Offline
                  T Offline
                  TobbY
                  wrote on last edited by TobbY
                  #8

                  @vale88
                  Hi,
                  Please look at that for your solution. i hope this would help.
                  https://www.ics.com/blog/integrating-custom-widget-qt-designer

                  1 Reply Last reply
                  3

                  • Login

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