How can byte order (big or little endianness) be checked from within Qbs? I do not know any other way to do it in Qbs or pure JavaScript. The idea is to avoid any other dependency from within Qbs, e.g. node.js' os.endianness()
.
Asked
Active
Viewed 64 times
1 Answers
0
There is the cpp.endianness
property.

Uwe Keim
- 39,551
- 56
- 175
- 291

Christian Kandeler
- 806
- 5
- 5
-
Can't seem to find it in the documentation though. – Amani Sep 14 '17 at 19:44
-
Yes, it appears to be missing. You might want to file a bug report at bugreports.qt.io. – Christian Kandeler Sep 15 '17 at 00:15
-
Yes, this was added by 38bb125aae3ac592434446b8b02d14d4ef5618c0 which is present in v1.9.0. Looks like I forgot the doc entry. It will be present in the documentation once we release v1.9.1. – Jake Petroules Sep 15 '17 at 05:49
-
@ChristianKandeler, JakePetroules, any hint of the syntax/keyword involved? I can not figure out how. – Amani Sep 15 '17 at 07:08
-
Well, what do you want to do exactly and in which context? Rule? RHS of a property? ...? – Christian Kandeler Sep 15 '17 at 23:09