10:17:28 hello 10:18:12 will this work https://forum.wownero.com/t/junkie-jeff-4th-july-hard-fork-information/554 10:18:24 very interesting as concept 10:19:08 i dont know if will succeed 12:06:18 hi 12:06:35 qr scanner dont work on windows & linux 12:06:53 on linux when u click on qrcode image u'll c a blank screen 12:07:10 on windows camera open but cant read code 12:07:26 open camera and is not doing anything else 12:08:08 i put qr image from all ungle so is is code problem 12:16:50 never tried on a laptop, but fwiw tested it recently on android and it worked just fine. 12:19:48 maripol: might be a deployment issue, like a missing Qt pluggin 12:20:36 more precisely the Qt multimedia pluggin 12:25:21 qt multimedia is on cmake file so is other issue 12:25:46 on android works but most uses windows and few linux 12:25:55 0.01 uses android 12:26:53 i don't really understand why someone would want to scan a QrCode on a laptop 12:35:15 is easier from copying all ..... monero address 12:35:34 there are tablets that runs windows 12:35:37 or linux 12:35:46 qrcode is must! 12:36:48 "tablets that runs windows or linux" didn't know they exists, fair enough 22:08:42 hi 22:08:52 qr scanner dont work anywhere 22:08:58 windows,linux android! 22:09:19 before was working on android but now even there no! 22:12:13 maripol: the QR Scanner isn't supported on windows and linux 22:13:25 Not sure what build you're running on Android, but you need to make sure it was compiled with -DWITH_SCANNER 22:23:21 is compiled -DWITH_SCANNER on all versions 22:26:31 option(WITH_SCANNER "Enable webcam QR scanner" ON) 22:26:34 For Linux to work you need to compile Qt with -gstreamer, for Windows to work you need to include "vfw.h" in main.cpp. Not sure about Android. 22:27:09 "compile Qt with -gstreamer" -> And have gstreamer-plugins-bad and gstreamer-plugins-good installed on your system. 22:28:51 we are talking about static version.why u'll need gstreamer-plugins-bad and gstreamer-plugins-good installed 22:29:14 Good luck trying to get GStreamer to static link. 22:30:13 oh 22:30:35 gstreamer is module outside qt? 22:31:06 GStreamer is the multimedia backend for Linux for QtMultimedia. 22:31:21 Gstreamer itself loads plugins at runtime. 22:31:51 Camerabin, which is required by Qt to load the camera, has a couple dozen other plugin dependencies. 22:32:17 There is a way to compile and include plugins statically 22:32:47 which 22:32:57 But you'd have to figure out exactly which dependencies camerabin needs (which is not trivial, there is no way to get a dependency graph afaik) otherwise you bloat the binary with 50MB of useless plugins 22:33:45 Moreover 22:34:02 In Qt6.2 the entire QtMultimedia is revamped 22:34:16 and camera access no longer depends on camerabin, but some other plugin 22:34:41 so you'd have to do it all over again 22:34:56 we are talking about qt 5.15.2 22:35:02 why qt6 22:35:07 Yes, I know 22:35:21 I'm saying that, everything changes in Qt 6.2 22:35:47 i'm confused from what u said 22:35:54 what to do know 22:36:00 what to do now 22:36:11 Depends on what you want to achieve 22:36:20 qrcode scanner to work 22:36:24 is very important 22:36:29 On linux? 22:36:33 everywhere 22:36:43 before was working on android now not 22:36:53 on windows was working now not 22:37:25 Can't help you with Android, haven't developed on that OS. 22:37:30 Windows should be easy 22:37:55 one sec 22:38:41 I'm pretty sure this is all you need: https://paste.debian.net/plainh/c7ba109f 22:39:15 For macOS you're going to have to rewrite the scanner logic 22:39:18 on main.cpp 22:39:26 because its multimedia backend doesn't support QVideoProbe 22:39:41 so you'll have to use QCameraImageCapture instead 22:39:58 "on main.cpp" -> yes 22:40:21 ok on linux? 22:40:42 On Linux the only way is to either 22:41:00 spend two weeks of your life trying to get GStreamer and all its dependencies and plugins to static link 22:41:11 or ship the application as an AppImage 22:41:59 "ship the application as an AppImage" what will be the benefit 22:42:08 QR scanner worked already 22:42:08 If you go for the latter you're still going to have to manually include a plugin bundle and trick GStreamer to load plugins from the AppImage instead of the local filesystem 22:42:11 on Mac 22:42:28 Oh interesting 22:42:40 will check if it got broken recently but not aware of it 22:42:48 It didn't work on my machine 22:43:04 is not working anywhere anymore selsta 22:43:10 i confirm 22:43:20 Any logs? 22:43:48 I'm compiling currently, can test once I compiled 22:44:44 on linux is blank screen 22:44:50 on android the same 22:45:00 this should also fix it on windows https://github.com/monero-project/monero-gui/pull/3464 22:45:09 on windows camera open but nothing happens 22:45:26 but I never tested it on windows 22:47:56 selsta that fix is on cmake file 22:58:48 Qr scanner worked without issues on mac 22:59:19 windows,linux,android ? 22:59:22 mac 22:59:33 What macOS version? 22:59:40 the only that i dont have mac 22:59:42 11.4 22:59:47 I guess Qt docs are wrong then 23:00:07 I'm quite sure that is also works on Android and Windows, only static Linux was the issue 23:00:47 can u try it now or not possilble? 23:01:05 not really, I only have Mac and iOS phone 23:01:31 make a executable for us 23:01:36 tobtoht: what exactly failed for you on mac? 23:01:37 i have android phone 23:01:43 and linux 23:08:23 selsta: Well, to be exact QVideoProbe would not deliver valid QVideoFrames. 23:08:34 I'm on Catalina though (10.15) 23:12:37 also it appears I'm wrong on AV Foundation not supporting QVideoProbe. It's only missing for recording and media playback, not camera. 23:12:40 https://wiki.qt.io/Qt_5.13_Multimedia_Backends 23:13:03 so it must be my machine / this version of macOS that's having issues 23:13:31 anyway is not working on windows,linux,android 23:13:48 selsta can u make exe for linux or android to test 23:13:59 it not working on linux is expected 23:14:10 and it's not going to work without a ton of effort 23:21:05 if i'm so mad to try use qt6 instead of qt5 will be any benefit about qrcode scanner or no? 23:21:58 GUI won't compile on Qt6 currently 23:22:21 why? 23:23:01 Qt6 has a few breaking API changes 23:23:29 so those need to be resolved in the code first 23:24:39 no escape 23:24:58 qrscanner is very important 23:25:08 selsta any suggestion? 23:25:41 currently no, but malinero said they got it to work on android 23:27:31 how? 23:27:37 whereis he 23:29:44 "Qt6 has a few breaking API changes" -> And it's not trivial either: QVideoProbe (which provides video frames to the qr scanner) got removed in Qt 6, so a rewrite of the scanning logic will be necessary. 23:31:43 Also, Qt6.2 which is the first Qt release to include QtMultimedia, which the Qr scanner needs, is still in alpha and a nightmare to build as Guest6033 can attest to. 23:31:54 oh 23:32:34 maripol: did nothing special for the camera, just followed the standard android build. try testing with an apk from CI pipeline 23:32:56 link for apk? 23:34:36 https://github.com/monero-project/monero-gui/suites/3079514649/artifacts/70281507 23:34:57 ^ need to be logged in to github to view, probably 23:35:24 yep 23:35:35 i need to create account