-
ofrnxmr[m]
-
Guest99
hello
-
Guest99
Do anyone knows how to ask permission for camera on linux
-
Guest99
android has a file named androidmanifest and you insert there "<uses-permission android:name="android.permission.CAMERA" />"
-
Guest99
and camera work
-
Guest99
something like this on linux please
-
ofrnxmr[m]
For?
-
Guest99
for enabling camera
-
Guest99
if camera is not enabled qt dont work
-
Guest99
qr dont work
-
ofrnxmr[m]
Qr grabs image from screen iirc
-
Guest99
yes but sometimes you need camera
-
Guest99
your qr is printed
-
plowsof11
monero gui has to be built with camera support , my OS has never asked me for permission, only a web browser
-
ofrnxmr[m]
Probably handy in merchant mode, or restoring URIs.
-
ofrnxmr[m]
Eudaimon wanted qr code cam (- is that you eud?)
-
Guest99
no
-
Guest99
"WITH_SCANNER "Enable webcam QR scanner" ON"
-
Guest99
gui is build with qr scanner enabled but camera need permission
-
Guest99
on android when app opens ask u about camera permission and thats it
-
ofrnxmr[m]
Android is a permissioned system.
-
Guest99
on linux gui dont ask so camera has no permission and wont work
-
ofrnxmr[m]
Flatpak is as well
-
ofrnxmr[m]
Try using Flatpak, and using `flatseal` to "give permission"
-
Guest99
when i click "scan qr code" icon camera gives me a black hole!
-
Guest99
and was doing the same on android before adding ""android.permission.CAMERA"" on androidmanifest
-
plowsof11
what OS are you using
-
Guest99
debian
-
ofrnxmr[m]
(Unable to test cameras)
-
plowsof11
i was missing.... uhm
-
plowsof11
during build i noticed some errors in the log
-
plowsof11
i noticed this: defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.camera"
-
plowsof11
during build, and i needed to install some dependency
-
Guest99
linux?
-
plowsof11
ubuntu yes moment
-
plowsof11
i installed libqt5multimedia5-plugins on ubuntu , then i re-built monero gui
-
plowsof11
maybe this is your issue
-
plowsof11
sudo apt-get install libqt5multimedia5-plugins
-
Guest99
this i must install where i compile or where i run ?
-
plowsof11
try to sudo apt-get install libqt5multimedia5-plugins
-
plowsof11
does it download/install anything? then re-compile monero gui
-
plowsof11
its for your operating system
-
Guest99
i'm compiling with dockerfile
-
plowsof11
hm
-
plowsof11
add it to the docker file?
-
Guest99
ok
-
plowsof11
where the docker install dependencies add it hm
-
Guest99
ok
-
Guest99
libqt5gui5-gles : Conflicts: libqt5gui5 but 5.5.1+dfsg-16ubuntu7.7 is to be installed
-
Guest99
package conflicts
-
ofrnxmr[m]
I wish you the best of luck
-
Guest99
i had before this errors here
paste.debian.net/1275640 that's why i added but still no luck
-
plowsof11
can you not just build without docker , debian is supported for build
-
Guest99
ok
-
tobtoht[m]
The GUI won't have scanner support when you link against static Qt on Linux (which is what happens if you use the Dockerfile). This is due to how Qt's plugin system works. You would need a static build of Qt's multimedia backend (GStreamer) for this to work or you can compile a non-static build from source with -DWITH_SCANNER=ON. It has nothing to do with permissions.
-
Guest99
if we manage to compile this
github.com/GStreamer/gstreamer on docker is done?
-
ofrnxmr[m]
Build a static version of gstreamer
-
ofrnxmr[m]
or
-
ofrnxmr[m]
Compile a non static build of gui, and use the cmake flag DWITH_SCANNER=ON
-
Guest99
i'll try and come later to tell
-
Guest99
Thnx