Hoi Sven
That is a valuable tip, one that is easy to miss.
The "#include <QtMultimedia/QCamera>" version is also more explicit,
and had the advantage that if I copy the C++ file using this into
another project, I don't need to remember to also modify the .pro file
of the new project.
In fact all what I want is even less than the camera, just the led
flash, and I seem to remember that Qt5 offers direct access to this,
so maybe I can further simplify things here, but for the moment I just
want to get the app up and running.
Grüsse
Chris
Zitat von "Sven Putze" <sailfish...@hardcodes.de>:
c) .h file #include <QtMultimedia/QCamera>
Hi,
if you just need the camera, you should prefer this version, I quote
from
http://qt-project.org/doc/qt-5.0/qtmultimedia/qtmultimedia-index.html:
"[...]Note: If you are using a few classes from this module, we
recommend including those specific classes only instead of the
module.[...]"
BR.
Sven
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list