Giter VIP home page Giter VIP logo

Comments (6)

econsysqtcam avatar econsysqtcam commented on July 18, 2024

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,
GoldenCheetah/GoldenCheetah#1508

from qtcam.

econsysqtcam avatar econsysqtcam commented on July 18, 2024

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:

  1. Uninstall qt4-headers.
    (or)
  2. Edit qtcam.pro file to add following lines,
    INCLUDEPATH += /usr/include/qt5/QtWidgets
    += /usr/include/qt5/QtCore
    += /usr/include/qt5/QtGui

from qtcam.

econsysqtcam avatar econsysqtcam commented on July 18, 2024

Hi Germano,
Does the above solution works out?

from qtcam.

Germano0 avatar Germano0 commented on July 18, 2024

Hi, I am going to test it in next hours. Thank you very much

from qtcam.

Germano0 avatar Germano0 commented on July 18, 2024

Ok #4 (comment) fixes the problem

from qtcam.

jaor-software avatar jaor-software commented on July 18, 2024

Hi !
I have the same trouble, but I don't find the file qtcam.pro.
Where is the file?
TY

from qtcam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.