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)

Graphics in gui(creator)

Scheduled Pinned Locked Moved Unsolved General and Desktop
speedometerguigraphics
8 Posts 3 Posters 2.3k Views
  • 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 29 Dec 2017, 15:52 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 29 Dec 2017, 21:04 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 30 Dec 2017, 00:14 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?

        M 1 Reply Last reply 30 Dec 2017, 10:28
        0
        • G GhostWolf
          30 Dec 2017, 00:14

          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?

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 30 Dec 2017, 10:28 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 30 Dec 2017, 23:14 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

            M 1 Reply Last reply 31 Dec 2017, 08:46
            0
            • G GhostWolf
              30 Dec 2017, 23:14

              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

              M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 31 Dec 2017, 08:46 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 31 Dec 2017, 14:35 last edited by
                #7

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

                M 1 Reply Last reply 31 Dec 2017, 17:39
                0
                • G GhostWolf
                  31 Dec 2017, 14:35

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

                  M Offline
                  M Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on 31 Dec 2017, 17:39 last edited by
                  #8

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

                  1 Reply Last reply
                  0

                  4/8

                  30 Dec 2017, 10:28

                  • Login

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