Closed Germano0 closed 8 years ago
Hi Germano, Qtcam source is build tested with Qt5.2.1, may i know what is the version of Qt library are you using. I also had a quick search on this bug, https://github.com/GoldenCheetah/GoldenCheetah/issues/1508
On some further investigation, your system may have qt4 and qt5 headers installed on the same machine. The qt4 headers live in /usr/include/QtWidgets/... and the qt5 headers live in /usr/include/qt5/QtWidgets/... The -isystem /usr/include appears before -isystem /usr/include/qt5 in the g++ arguments. Since the source[In main.cpp] includes <QtWidgets/QApplication> means the first matching include is /usr/include/QtWidgets/... which doesn't define QT_DEPRECATED_SINCE. Solution we can try out:
Hi Germano, Does the above solution works out?
Hi, I am going to test it in next hours. Thank you very much
Ok https://github.com/econsysqtcam/qtcam/issues/4#issuecomment-164379686 fixes the problem
Hi ! I have the same trouble, but I don't find the file qtcam.pro. Where is the file? TY
After I runned
qmake-qt5
I runnedmake
and I got many errors messages that i attach here