mirror of
https://gitlab.com/Syping/luaengineapp.git
synced 2024-12-22 11:55:29 +01:00
Fix Portable Executuable
This commit is contained in:
parent
1b6a7cf3c3
commit
97e02b0b57
1 changed files with 2 additions and 2 deletions
|
@ -98,9 +98,9 @@ int main(int argc, char *argv[])
|
||||||
return variant.toInt();
|
return variant.toInt();
|
||||||
}
|
}
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||||
else if (variant.typeId() == QMetaType::QString) {
|
else if (variant.typeId() == QMetaType::QByteArray) {
|
||||||
#else
|
#else
|
||||||
else if (variant.type() == QVariant::String) {
|
else if (variant.type() == QVariant::ByteArray) {
|
||||||
#endif
|
#endif
|
||||||
if (variant.toString() == "GuiExecuted" || variant.toString() == "CliExecuted") {
|
if (variant.toString() == "GuiExecuted" || variant.toString() == "CliExecuted") {
|
||||||
return a.exec();
|
return a.exec();
|
||||||
|
|
Loading…
Reference in a new issue