Results 1 to 2 of 2

Thread: QT4 Source compile error on Raspberry pi

  1. #1
    Join Date
    Jul 2017
    Posts
    13
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QT4 Source compile error on Raspberry pi

    Dear friends

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

    I got an error like this

    Qt Code:
    1. mainwindow.cpp:972:25: error: ‘class QwtDial’ has no member named ‘setRange’
    2. Settings_FOOTPEDAL->setRange(Sett_FP_Xaxis_CALIBER,Sett_FP_Yaxis_CALIBER,1,1);
    To copy to clipboard, switch view to plain text mode 

    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 occured after changed my header file

    l

    Qt Code:
    1. //#include </usr/include/qwt/qwt_dial.h>
    2. //#include </usr/include/qwt/qwt_dial_needle.h>
    3. #include </usr/local/qwt-6.1.0/include/qwt_dial.h>
    4. #include </usr/local/qwt-6.1.0/include/qwt_dial_needle.h>
    To copy to clipboard, switch view to plain text mode 

    Please help me to fix this problem

    Regards

    Vivek R

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT4 Source compile error on Raspberry pi

    But what is the problem? The message is clear.

Similar Threads

  1. Cannot compile Qt from source (Qt5.7)
    By escobar in forum Qt Programming
    Replies: 1
    Last Post: 21st September 2016, 16:34
  2. compiling qtwebkit for raspberry - error
    By ben80 in forum Qt Programming
    Replies: 2
    Last Post: 13th February 2015, 09:16
  3. Qt 4.6.0 source+ minGv + compile errors
    By giusepped in forum Qt Programming
    Replies: 1
    Last Post: 22nd January 2010, 12:06
  4. how to compile c++ source file in qtCreator
    By orky7 in forum General Programming
    Replies: 6
    Last Post: 20th March 2009, 07:45
  5. compile source code file
    By eva in forum Qt Programming
    Replies: 6
    Last Post: 16th March 2009, 12:15

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.