fix qt 5.12 compatibility
This commit is contained in:
parent
2751c4dd9a
commit
00431c0979
|
@ -1564,7 +1564,14 @@ void ASMSyntaxer::initData()
|
||||||
Instructions.insert("vxorps",QObject::tr("Bitwise Logical XOR for Single-Precision Floating-Point Values."));
|
Instructions.insert("vxorps",QObject::tr("Bitwise Logical XOR for Single-Precision Floating-Point Values."));
|
||||||
Instructions.insert("vpclmulqdq",QObject::tr("Carry-Less Multiplication Quadword, Requires PCLMULQDQ CPUID-flag."));
|
Instructions.insert("vpclmulqdq",QObject::tr("Carry-Less Multiplication Quadword, Requires PCLMULQDQ CPUID-flag."));
|
||||||
#endif
|
#endif
|
||||||
|
#if QT_VERSION >= QT_VERSION_CHECK(5,15,0)
|
||||||
InstructionNames=QSet<QString>(Instructions.keyBegin(),Instructions.keyEnd());
|
InstructionNames=QSet<QString>(Instructions.keyBegin(),Instructions.keyEnd());
|
||||||
|
#else
|
||||||
|
InstructionNames.clear();
|
||||||
|
foreach(const QString& s,Instructions.keys()) {
|
||||||
|
InstructionNames.insert(s);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue