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 to use Qwt in C++ Project in Qt Creator?
Forum Updated to NodeBB v4.3 + New Features

How to use Qwt in C++ Project in Qt Creator?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 3.1k 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.
  • fortyffF Offline
    fortyffF Offline
    fortyff
    wrote on last edited by
    #1

    I want to plot some data. I've searched on the Internet and found qwt package for Qt Creator which is commonly used by everyone. I've tried to use it, but I've no idea how to do it.

    What I've done is :

    I'have already a c++ project. I've add a form.ui to the project.

    When I build the project, I get this error "qwt_global.h:15:21: error: qglobal.h: No such file or directory.".

    I installed the qwt package via terminal (not downloading and making source file from the internet.).

    If there are any advices, I'll be glad to know them..

    Thanks in advance..

    ? 1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      http://doc.qt.io/qtcreator/creator-project-qmake-libraries.html

      Also, if you download Qt5.7 you can chose to install the QtChart module that will require you only to put QT += charts in your project (.pro) file to use

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      1
      • fortyffF fortyff

        I want to plot some data. I've searched on the Internet and found qwt package for Qt Creator which is commonly used by everyone. I've tried to use it, but I've no idea how to do it.

        What I've done is :

        I'have already a c++ project. I've add a form.ui to the project.

        When I build the project, I get this error "qwt_global.h:15:21: error: qglobal.h: No such file or directory.".

        I installed the qwt package via terminal (not downloading and making source file from the internet.).

        If there are any advices, I'll be glad to know them..

        Thanks in advance..

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        @fortyff Hi! Maybe this thread helps: https://forum.qt.io/topic/65513/building-qwt-with-qt5

        1 Reply Last reply
        3
        • fortyffF Offline
          fortyffF Offline
          fortyff
          wrote on last edited by
          #4

          @Wieland Hi. Thanks a lot for your help. It works fine.
          One more question, can I use it on my/any C++ project ?
          I mean, I have a script that I should just compile it C/C++ platform, and I want to use qwt package in the project.

          Thanks again..

          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