mirror of
https://gitlab.com/Syping/luaengineapp.git
synced 2024-12-22 03:45:32 +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();
|
||||
}
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||
else if (variant.typeId() == QMetaType::QString) {
|
||||
else if (variant.typeId() == QMetaType::QByteArray) {
|
||||
#else
|
||||
else if (variant.type() == QVariant::String) {
|
||||
else if (variant.type() == QVariant::ByteArray) {
|
||||
#endif
|
||||
if (variant.toString() == "GuiExecuted" || variant.toString() == "CliExecuted") {
|
||||
return a.exec();
|
||||
|
|
Loading…
Reference in a new issue