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. QT Charts problem
Forum Updated to NodeBB v4.3 + New Features

QT Charts problem

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 4 Posters 2.7k Views 3 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.
  • K Offline
    K Offline
    Konur
    wrote on 20 Jul 2017, 21:16 last edited by Konur
    #1

    Hello everyone. I'm a QT newbie coding in c++. I want to use QT charts module, but i would like to use it from QT designer. Is it possible on 5.9.1? I have selected and installed QCharts and QDataVisualiation from maintenance tool, but I can't find the option to add QChartView to my gui in Designer window. A little googling revealed this. I did as accepted answer suggested, downloaded files and compiled them, but this time i get error "Cannot load library..." in "Tools -> Form Editor -> About Qt Designer Plugins". Is there any way to use designer to place and design graphs and charts?

    p.s: github link from the answer doesn't have a branch for 5.9.1, so i used 5.9.0 instead, would that be a problem?
    0_1500585262797_qt forum.png

    J 1 Reply Last reply 21 Jul 2017, 04:43
    0
    • K Konur
      20 Jul 2017, 21:16

      Hello everyone. I'm a QT newbie coding in c++. I want to use QT charts module, but i would like to use it from QT designer. Is it possible on 5.9.1? I have selected and installed QCharts and QDataVisualiation from maintenance tool, but I can't find the option to add QChartView to my gui in Designer window. A little googling revealed this. I did as accepted answer suggested, downloaded files and compiled them, but this time i get error "Cannot load library..." in "Tools -> Form Editor -> About Qt Designer Plugins". Is there any way to use designer to place and design graphs and charts?

      p.s: github link from the answer doesn't have a branch for 5.9.1, so i used 5.9.0 instead, would that be a problem?
      0_1500585262797_qt forum.png

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 21 Jul 2017, 04:43 last edited by
      #2

      @Konur You probably need to build this plug-in using exact same compiler and Qt version which was used to build QtCreator. You can find out what was used in "Help/About QtCreator".

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      K 1 Reply Last reply 22 Jul 2017, 23:59
      2
      • J jsulm
        21 Jul 2017, 04:43

        @Konur You probably need to build this plug-in using exact same compiler and Qt version which was used to build QtCreator. You can find out what was used in "Help/About QtCreator".

        K Offline
        K Offline
        Konur
        wrote on 22 Jul 2017, 23:59 last edited by
        #3

        @jsulm Yeah it turns out my qt creator was build with MSVC 2015 32bit but i was building plugin with mingw. But installing whole mscv 2015 32 bit kit and than compiling plugin gave the exact same error. What do you think could be the problem?

        1 Reply Last reply
        0
        • K Offline
          K Offline
          Konur
          wrote on 23 Jul 2017, 00:07 last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 23 Jul 2017, 20:23 last edited by
            #5

            Hi and welcome to devnet,

            Might be a silly question but did you check the Qt version that was used to build Qt Creator i.e. that both are the same 5.9.X?

            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
            • K Offline
              K Offline
              Konur
              wrote on 5 Aug 2017, 16:09 last edited by
              #6

              0_1501948420091_qt forum 2.png

              0_1501949355933_qt forum 3.png

              Seems like 5.9.1 and i'm using qt 5.9.1 for desktop. Any ideas?

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mrjj
                Lifetime Qt Champion
                wrote on 5 Aug 2017, 17:01 last edited by
                #7

                ok. looks good.
                Make sure you compile in release mode.

                1 Reply Last reply
                1

                • Login

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