Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. QWT Compilation error On QT4 in Raspberry PI
Forum Updated to NodeBB v4.3 + New Features

QWT Compilation error On QT4 in Raspberry PI

Scheduled Pinned Locked Moved Unsolved QtonPi
2 Posts 2 Posters 1.1k 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.
  • V Offline
    V Offline
    vivekyuvan
    wrote on last edited by
    #1

    Dear friends

    I am trying to compile my QT4.8.6 Source code in raspberry pi jessie.

    I got an error like this

    mainwindow.cpp:972:25: error: ‘class QwtDial’ has no member named ‘setRange’
         Settings_FOOTPEDAL->setRange(Sett_FP_Xaxis_CALIBER,Sett_FP_Yaxis_CALIBER,1,1);
    

    my source code compiled successfully in wheezy os qt version is same.
    I think the error occurs on qwt lib. I don have an idea how to fix it.

    The error occurred after changed my header file

    l

    //#include </usr/include/qwt/qwt_dial.h>
    //#include </usr/include/qwt/qwt_dial_needle.h>
    #include </usr/local/qwt-6.1.0/include/qwt_dial.h>
    #include </usr/local/qwt-6.1.0/include/qwt_dial_needle.h>
    

    Please help me to fix this problem

    Regards

    Vivek R

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

      Hi,

      Please don't post the same question in multiple subforms. Once is enough.

      Duplicates

      Closing this one.

      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

      • Login

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