diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-09-13 20:59:30 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-09-13 22:12:07 +0300 |
commit | 304574420d0dd5949e73df9e238eb136a21af1a3 (patch) | |
tree | 22aa320155d8c20acc692ff69c5cdeaba734bb6e /src/qcam/main.cpp | |
parent | 04b20723d457e2e101f3c019046948bbe9c34980 (diff) |
qcam: Fix compilation errors with gcc-9 and Qt < 5.13
gcc-9 has introduced a deprecated-copy warning that is triggered by Qt
header files. The issue has been fixed in Qt 5.13. Fix compilation with
earlier Qt versions by disabling the warning. In order to still benefit
from the warning when possible, only disable it for gcc-9 and Qt < 5.13.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/qcam/main.cpp')
0 files changed, 0 insertions, 0 deletions