Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to install qt charts

How to install qt charts

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 2 Posters 8.6k 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.
  • W Offline
    W Offline
    wabisuke2718
    wrote on last edited by
    #1

    I am reading mastering qt 5.
    This book's sample uses qt charts.
    I implemented as written in the book.
    But errors occured Because qt charts is not installed.
    So I tried to install it as written in the README in this site https://github.com/qt/qtcharts
    but I cant install.

    My environment is Windows10 Home and Qt Creator 4.2.1 Based on Qt 5.8.0(MSVC 2015, 32 bit)

    I tried download zip from https://github.com/qt/qtcharts and execute qmake command and mingw32-make command.
    But error occured as follows

    D:\qt5\qtcharts-5.9>qmake
    D:/qt5/qtcharts-5.9/qtcharts.pro:5: 'qtConfig' is not a recognized test function.

    D:\qt5\qtcharts-5.9>mingw32-make
    cd src\ && ( if not exist Makefile c:\Qt\5.8\msvc2013_64\bin\qmake.exe -o Makefile D:\qt5\qtcharts-5.9\src\src.pro ) && mingw32-make -f Makefile
    mingw32-make[1]: Entering directory 'D:/qt5/qtcharts-5.9/src'
    cd charts\ && ( if not exist Makefile c:\Qt\5.8\msvc2013_64\bin\qmake.exe -o Makefile D:\qt5\qtcharts-5.9\src\charts\charts.pro ) && mingw32-make -f Makefile
    mingw32-make[2]: Entering directory 'D:/qt5/qtcharts-5.9/src/charts'
    mingw32-make -f Makefile.Release all
    mingw32-make[3]: Entering directory 'D:/qt5/qtcharts-5.9/src/charts'
    Makefile.Release:657: *** missing separator. Stop.
    mingw32-make[3]: Leaving directory 'D:/qt5/qtcharts-5.9/src/charts'
    Makefile:40: recipe for target 'release-all' failed
    mingw32-make[2]: *** [release-all] Error 2
    mingw32-make[2]: Leaving directory 'D:/qt5/qtcharts-5.9/src/charts'
    Makefile:41: recipe for target 'sub-charts-make_first-ordered' failed
    mingw32-make[1]: *** [sub-charts-make_first-ordered] Error 2
    mingw32-make[1]: Leaving directory 'D:/qt5/qtcharts-5.9/src'
    Makefile:42: recipe for target 'sub-src-make_first' failed
    mingw32-make: *** [sub-src-make_first] Error 2

    please help me and tell me how to install qt charts

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

      Hi! The Qt Charts module is included in the current official release. No need to install it via the git repo, just use the Qt maintenance tool.

      W 1 Reply Last reply
      1
      • ? A Former User

        Hi! The Qt Charts module is included in the current official release. No need to install it via the git repo, just use the Qt maintenance tool.

        W Offline
        W Offline
        wabisuke2718
        wrote on last edited by
        #3

        @Wieland Thank you. I could do it.

        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