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. Graphics in gui(creator)
Forum Updated to NodeBB v4.3 + New Features

Graphics in gui(creator)

Scheduled Pinned Locked Moved Unsolved General and Desktop
speedometerguigraphics
8 Posts 3 Posters 2.4k Views 2 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.
  • G Offline
    G Offline
    GhostWolf
    wrote on last edited by GhostWolf
    #1

    Hello,

    I have build a programm with qt creator, with a gui.
    Now I want to show some of the data with a dial, like a speedometer. How can I do this the best way?

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

      Hi,

      Something like provided by the Qwt library ?

      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
      2
      • G Offline
        G Offline
        GhostWolf
        wrote on last edited by
        #3

        That's exactly what I am looking for.
        Now the next question, how do get, and use this? I saw you have to download some stuff, but how do I implement it in QT, and how do I use it?

        mrjjM 1 Reply Last reply
        0
        • G GhostWolf

          That's exactly what I am looking for.
          Now the next question, how do get, and use this? I saw you have to download some stuff, but how do I implement it in QT, and how do I use it?

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

          @GhostWolf
          Hi
          You will need to download and compile it yourself
          http://qwt.sourceforge.net/qwtinstall.html
          Make sure to use correct section for the platform + compiler.
          Note: on windows. Some linux distros seems to have binaries available.

          Update:
          Here is also small sample on how to use it
          http://embeddedprogrammer.blogspot.dk/2012/10/windows-installing-qwt-library.html

          1 Reply Last reply
          3
          • G Offline
            G Offline
            GhostWolf
            wrote on last edited by
            #5

            I added the whole qwt stuff, and if i open an example from qwt it works.
            But if i try the example from the site you showed it fails.
            But is there also a way to put the dials and stuff in the designer?
            So i can add it from there?
            I saw somewhere that it should be possible, but i cant find out how.
            It says something about a designer.dll, but i can not find it

            mrjjM 1 Reply Last reply
            0
            • G GhostWolf

              I added the whole qwt stuff, and if i open an example from qwt it works.
              But if i try the example from the site you showed it fails.
              But is there also a way to put the dials and stuff in the designer?
              So i can add it from there?
              I saw somewhere that it should be possible, but i cant find out how.
              It says something about a designer.dll, but i can not find it

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

              @GhostWolf
              Hi
              QWT does come with designer plugins.
              But on windows its not as easy to use.
              The Creator that comes with Qt is compiled with visual studio, so to use
              QWT plugins in that Creator/designer, you need to compile the plugins with same visual studio
              compiler. else Creator wont load the QWT plugins.

              Alternativ you can use promotion.
              http://doc.qt.io/qt-5/designer-using-custom-widgets.html

              1 Reply Last reply
              3
              • G Offline
                G Offline
                GhostWolf
                wrote on last edited by
                #7

                Everything i try ends up with, programm exited with code 255, without opening. How can this happen?

                mrjjM 1 Reply Last reply
                0
                • G GhostWolf

                  Everything i try ends up with, programm exited with code 255, without opening. How can this happen?

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

                  @GhostWolf
                  Sounds like it crash.
                  Does the samples also crash ?

                  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