Error with class QLCDNumber' using QT 5.2 on windows 8 and wingw_32
error with class QLCDNumber' using QT 5.2 on windows 8 and wingw_32
I am getting this error
error: 'class QLCDNumber' has no member named 'setNumDigits'
my include is : .... mingw48_32\include\QtWidgets/QLCDNumber
thanks for any help
The function name is "setDigitCount":https://qt-project.org/doc/qt-5/qlcdnumber.html#digitCount-prop
Thanks especially the quick response, that seems to have gotten me past it.
I am porting a project for someone and brand new to QT and have had other similar issues since it was a 4.8.3 project on Linux. This forum has helped with previous answers
I guess a recent change.
I am building with OpenCV and it is not finding the libraries so looking for best way to point to them.
Just a couple of days ago i wrote an answer on stackoverflow regarding adding opencv in a qmake project file: "link":http://stackoverflow.com/questions/20588440/include-path-for-adding-an-external-library-in-qt-creator/20589013#20589013
It uses the VS2010 build of opencv, but for mingw should be simpler, as far as i know that doesn't use two file names for debug/release build (that d at end of the library name), anyway first try it yourself and ask if you run into troubles.