Closed gyps closed 2 years ago
Hi Alex this sounds familiar. Are you building against the the same Qt version? (E.g. against 6 instead of 5?) But I can only check on my system from Monday on.
I tried both. First qtbase was in version 6 but then I forced it be be 5 on my whole system (as can be seen in the previous post). I'll check if it was really linked against the right version of the library.
You can also see the compile and runtime versions used with projecteur -f
on the command line.
OK, I've done that but the result is strange.
$ projecteur -f
Projecteur 0.9.2
- git-branch: master
- git-hash: 82d9cfac1082a5cf28debb79a7be732fabf4dfd4
- compiler: GNU 10.3.0
- qt-version: (build: 5.15.2, runtime: 5.15.2)
- device-scan: (errors: 0, devices: 1 [readable: 1, writable: 1])
Then I tried projecteur in my current generation of my system
$ projecteur
[2022-01-10T10:51:22.073][inf][projecteur.virtualdevice] Created uinput device: /sys/devices/virtual/input/input55
[2022-01-10T10:51:22.238][inf][projecteur.device] Connected device: Logitech Spotlight (USB) (046d:c53e)
^C
and it starts up perfectly fine. Why didn't it work the last time?????
Next I switched back to the generation it didn't work in and tried the same:
$ guix package --switch-generation=178
switched from generation 184 to 178
$ projecteur -f
Projecteur 0.9.2
- git-branch: master
- git-hash: 82d9cfac1082a5cf28debb79a7be732fabf4dfd4
- compiler: GNU 10.3.0
- qt-version: (build: 5.15.2, runtime: 5.15.2)
- device-scan: (errors: 0, devices: 1 [readable: 1, writable: 1])
$ projecteur
[2022-01-10T10:52:50.729][inf][projecteur.virtualdevice] Created uinput device: /sys/devices/virtual/input/input56
[2022-01-10T10:52:50.809][err][projecteur.mainapp] Overlay window error. ; Qml component has status '3'. Exiting.
[2022-01-10T10:52:50.877][inf][projecteur.device] Connected device: Logitech Spotlight (USB) (046d:c53e)
There seems to be no difference. Very strange!
I'm not sure exactly what you refer to as 'generation' - but with builds a lot of times it is best to throw away the build directory and create a new one to make sure no CMake cache variable has unintended side effects.
closing this for now
Dear all,
today I rebuild projecteur 0.9.2 on my guix system. About a month ago everything worked fine but now the newly build program complains
[err][projecteur.mainapp] Overlay window error. ; Qml component has status '3'. Exiting.
It definitively has to do with changes on my system, but I have no clue what to look for. All qt packages seem to be in version 5.15.2 (I have no idea what version they were when it still worked).
Any idea? Thanks, Alex