I'm trying to build a Qt app on my RPi4 using libCamera in c++, but I keep having build/compile issues. Are there any examples of using libCamera in a Qt app in c++?

I'm using Raspbian bullseye, and Qt6.

  • You should edit your question and add more details. Copy&paste the source code, preferably as a minimal reproducible example, the commands you use to build it and the resulting output/errors/warnings, all formatted as code blocks.
    – Bodo
    Apr 13 at 13:58
  • Question is about existing examples though. Another one, explaining my specific problems can be found here though. Apr 14 at 7:12
  • I don't know if there is an example that matches your use case. To me even your use case is not clear enough. Split the problem into smaller ones. Can you build and run a Qt application that does not use libCamera? Can you build a minimal non-Qt application that links functions from libCamera?
    – Bodo
    Apr 14 at 9:58


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.