Hello all,
I have one question.
I am using QLC with several other people.
I have problem, that I can't found where anyone of them change something because there are more windows to compare content of them.
Sometime I compare qxw files, but there is one bad thing, because QLC save elements into qxw file everytime in different order.
In attachment is example of difference which is moretimes in qxw file.
Is there in qlc any option to save elements in same order or how can I compare fastly qxw files?
Differences in qxw files
-
- Posts: 1327
- Joined: Mon Apr 13, 2015 7:05 am
- Location: Bratislava, Slovakia
- Real Name: Jano Svitok
- Contact:
QLC+ version?
-
- Posts: 1327
- Joined: Mon Apr 13, 2015 7:05 am
- Location: Bratislava, Slovakia
- Real Name: Jano Svitok
- Contact:
I see your problem now.
https://github.com/mcallegari/qlcplus/b ... x.cpp#L451
QHash is not sorted. Solution is either to sort the keys before iteration or convert to temporary QMap.
see e.g. https://forum.qt.io/topic/25306/can-i-use-qhash-tomap/2
For data sets of this size (~10 items) using QMap straight away might be even faster (needs to be measured though).
https://github.com/mcallegari/qlcplus/b ... x.cpp#L451
QHash is not sorted. Solution is either to sort the keys before iteration or convert to temporary QMap.
see e.g. https://forum.qt.io/topic/25306/can-i-use-qhash-tomap/2
For data sets of this size (~10 items) using QMap straight away might be even faster (needs to be measured though).
-
- Posts: 1327
- Joined: Mon Apr 13, 2015 7:05 am
- Location: Bratislava, Slovakia
- Real Name: Jano Svitok
- Contact:
It depends on how good you are at C++ and QT...