[libcamera-devel] [PATCH v2 1/3] apps: qcam: Port to Qt 6
Kieran Bingham
kieran.bingham at ideasonboard.com
Mon Jun 24 15:15:22 CEST 2024
Quoting Neal Gompa (2024-06-23 08:10:06)
> On Wed, May 15, 2024 at 1:13 AM Neal Gompa <neal at gompa.dev> wrote:
> >
> > On Mon, Apr 22, 2024 at 5:31 AM Kieran Bingham
> > <kieran.bingham at ideasonboard.com> wrote:
> > >
> > > Quoting Neal Gompa via libcamera-devel (2024-01-21 22:39:53)
> > > > Open source Qt 5 has been effectively end of life since the release
> > > > of Qt 6, and Qt 6 has current LTS releases now.
> > > >
> > > > This change ports qcam to Qt 6.2 and drops some of the baggage related
> > > > to Qt 5 that is no longer applicable.
> > >
> > > It seems that the upgrade to Qt6 also breaks the positioning of the 'No
> > > Image' background in qcam when you stop the camera.
> > >
> > > Could you check that please?
> > >
> >
> > Sorry it took me a while to get back to this, but I could not
> > reproduce this issue.
> >
> > Here's what I see: https://i.imgur.com/6YMrBWm.png
> >
I don't know what happened with my previous testing of the image
centering, but I can't reproduce it now either so lets assume that was
just a problem somewhere between my keyboard and chair :D
> Ping to get this patch landed. It's been six months now...
Well - before we were gated by the fact that we still had to support
Ubuntu 22.04 LTS while it was current...
Retesting now...
sudo apt-get install libtiff-dev qt6-base-dev qt6-tools-dev-tools
qt6-tools-dev-tools is already the newest version (6.2.4-1).
libtiff-dev is already the newest version (4.3.0-6ubuntu0.9).
qt6-base-dev is already the newest version (6.2.4+dfsg-2ubuntu1.1).
Run-time dependency qt6 (modules: Core, Gui, OpenGL, OpenGLWidgets, Widgets) found: NO (tried pkgconfig)
src/apps/qcam/meson.build:4:10: ERROR: Dependency "qt6" not found, tried pkgconfig
Checking the meson-log:
env[PKG_CONFIG]: /usr/bin/pkg-config
-----------
Called: `/usr/bin/pkg-config --modversion Qt6Core` -> 1
stderr:
Package Qt6Core was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt6Core.pc'
to the PKG_CONFIG_PATH environment variable
No package 'Qt6Core' found
-----------
detected Qt6 None pkg-config dependency does not have proper tools support, ignoring
Run-time dependency qt6 (modules: Core, Gui, OpenGL, OpenGLWidgets, Widgets) found: NO (tried pkgconfig)
src/apps/qcam/meson.build:4:10: ERROR: Dependency "qt6" not found, tried pkgconfig
Argh ... so Ubuntu-22.04 is still broken... But 'perhaps' we can ignore
that if 22.04 is no longer supported - except it breaks /my/ build/usage
of qcam :-(
--
Kieran
More information about the libcamera-devel
mailing list