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.
QLC+-GIT with Qt6 RGB matrix issue
- sbenejam
- Posts: 608
- Joined: Sun Apr 12, 2015 6:28 pm
- Real Name: Santiago Benejam Torres
- Contact:
- mcallegari
- Posts: 4727
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
Hi Santiago, any script in particular or any of them has this issue?
- sbenejam
- Posts: 608
- Joined: Sun Apr 12, 2015 6:28 pm
- Real Name: Santiago Benejam Torres
- Contact:
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.
- sbenejam
- Posts: 608
- Joined: Sun Apr 12, 2015 6:28 pm
- Real Name: Santiago Benejam Torres
- Contact:
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.
- sbenejam
- Posts: 608
- Joined: Sun Apr 12, 2015 6:28 pm
- Real Name: Santiago Benejam Torres
- Contact:
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
Qt6 Version
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>
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>
- Attachments
-
- MatrixTest_Qt5.qxw
- (28.34 KiB) Downloaded 28 times
-
- MatrixTest_Qt6.qxw
- (28.29 KiB) Downloaded 27 times
- mcallegari
- Posts: 4727
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
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.
https://github.com/mcallegari/qlcplus/b ... r.cpp#L498
once I finish my current task I'll fix this too.
- mcallegari
- Posts: 4727
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
Should be fixed upstream now.
I found other two deprecated calls in the Animation widget.
Thanks for reporting
I found other two deprecated calls in the Animation widget.
Thanks for reporting
- sbenejam
- Posts: 608
- Joined: Sun Apr 12, 2015 6:28 pm
- Real Name: Santiago Benejam Torres
- Contact:
I just tested this changes works as expected.
Good job.
Good job.