Page 1 of 1
QLC+-GIT with Qt6 RGB matrix issue
Posted: Sun Sep 15, 2024 10:25 am
by sbenejam
I just built QLC+ from GIT with Qt6.7.1. In an RGB matrix it is not possible to change the orientation from/to horizontal/vertical. The RGB matrix appears to remain in the orientation that was configured when creating it.
Changing the orientation in the Matrix RGB editor does not change the preview either.
With QLC+ 4.13.1 and QLC+ from GIT built with Ubuntu default Qt5 the RGB Matrix works as expected.
Tested on Ubuntu 22.04 with Qt6.7.1 I'm installing now Qt6.7.2 and later I can do more tests.
Re: QLC+-GIT with Qt6 RGB matrix issue
Posted: Fri Sep 20, 2024 8:24 am
by mcallegari
Hi Santiago, any script in particular or any of them has this issue?
Re: QLC+-GIT with Qt6 RGB matrix issue
Posted: Sat Sep 21, 2024 5:35 am
by sbenejam
Hi Massimo, not particular script. I normally use Gradient or Plasma. But if you use Fill for example the fill sequence not change if you choose horizontal or vertical. With Qt5 works as expected only fails with Qt6.7.1/2.
Re: QLC+-GIT with Qt6 RGB matrix issue
Posted: Sat Sep 21, 2024 6:15 am
by sbenejam
More test with Qt6.7.2. I you configure a preset in a animation widget for example a Fill vertical is saved as Fill Horizontal. If you configure with Qt5 the preset are set as expected. Opening the project again with Qt6.7.2 version changing from Horizontal preset to Vertical is showed as expected in the Fixture Monitor but in the Animation editor you can not preview the changes from Horizontal to Vertical.
Re: QLC+-GIT with Qt6 RGB matrix issue
Posted: Sun Sep 22, 2024 5:45 am
by sbenejam
Hi Massimo, I found something relevant I created two projects one with Qt5 and one with Qt6.7.2. I attach the two projects it seems that a Matrix created in the Qt6 version the property Orientation is missing. Opening the Qt5 project created with the Qt5 version the Matrix has the orientation property vertical but cannot be changed.
Qt5 Version
Code: Select all
<Function ID="0" Type="RGBMatrix" Name="Nova Matriu RGB 0">
<Speed FadeIn="0" FadeOut="0" Duration="500"/>
<Direction>Forward</Direction>
<RunOrder>Loop</RunOrder>
<Algorithm Type="Script">Stripes</Algorithm>
<MonoColor>4294901760</MonoColor>
<ControlMode>RGB</ControlMode>
<FixtureGroup>1</FixtureGroup>
<Property Name="orientation" Value="Vertical"/>
</Function>
Qt6 Version
Code: Select all
<Function ID="0" Type="RGBMatrix" Name="Nova Matriu RGB 0">
<Speed FadeIn="0" FadeOut="0" Duration="500"/>
<Direction>Forward</Direction>
<RunOrder>Loop</RunOrder>
<Algorithm Type="Script">Stripes</Algorithm>
<MonoColor>4294901760</MonoColor>
<ControlMode>RGB</ControlMode>
<FixtureGroup>1</FixtureGroup>
</Function>
Re: QLC+-GIT with Qt6 RGB matrix issue
Posted: Sun Sep 22, 2024 2:06 pm
by mcallegari
This is deprecated in Qt6 and needs to be updated
https://github.com/mcallegari/qlcplus/b ... r.cpp#L498
once I finish my current task I'll fix this too.
Re: QLC+-GIT with Qt6 RGB matrix issue
Posted: Sun Sep 22, 2024 3:55 pm
by mcallegari
Should be fixed upstream now.
I found other two deprecated calls in the Animation widget.
Thanks for reporting
Re: QLC+-GIT with Qt6 RGB matrix issue
Posted: Sun Sep 22, 2024 8:05 pm
by sbenejam
I just tested this changes works as expected.
Good job.