Comments (6)
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.
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:
- Uninstall qt4-headers.
(or) - Edit qtcam.pro file to add following lines,
INCLUDEPATH += /usr/include/qt5/QtWidgets
+= /usr/include/qt5/QtCore
+= /usr/include/qt5/QtGui
from qtcam.
Hi Germano,
Does the above solution works out?
from qtcam.
Hi, I am going to test it in next hours. Thank you very much
from qtcam.
Ok #4 (comment) fixes the problem
from qtcam.
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)
- ov5640 camera not detected
- uvccamera::sendHidCmd seems wrong
- QtCam Application Build issue in Ubuntu 18.04 HOT 2
- UVC CAMERA
- Failure to build on 4.1+ HOT 1
- How to build on Ubuntu 20.04 HOT 3
- qtcam keep crashing when Color Space/Compression stay at MPEG
- Ubuntu 20 support HOT 2
- Multiple images capture
- Create Github release
- Can't cross-compile this repo for arm platform running Yocto Linux
- Camera USB 3.0 in Python
- QT 6.30 migrations broke some things.
- See3cam cannot work on a Laptop with integrated webcam
- Build issues
- Control exposure time on ECON camera
- in bookworm cannot be install from repisitory focal
- Unable to change exposure
- fatal error: libavcodec/avcodec.h (Opensuse Tumbleweed Qt version 5.15.10)
- Save settings HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtcam.