From 0beebabd10412972730740eb8bcd655268e6d47f Mon Sep 17 00:00:00 2001 From: Atul Date: Wed, 19 Jun 2019 00:27:24 +0200 Subject: [PATCH] fix linux issues --- config/common.gypi | 21 +++++++++++++-------- examples/calculator/index.ts | 1 + src/cpp/Extras/Utils/utils.cpp | 6 +++--- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/config/common.gypi b/config/common.gypi index 7ca4b83d7..330f36203 100644 --- a/config/common.gypi +++ b/config/common.gypi @@ -2,7 +2,7 @@ 'includes': [], 'type': 'shared_library', 'variables': { - 'qt_home_dir': 'sizeHint(); return YGSize{ - .height = static_cast(size.height()), - .width = static_cast(size.width()) + width : static_cast(size.width()), + height : static_cast(size.height()), }; } } - return YGSize{ .height = 0, .width = 0 }; + return YGSize{width : 0, height : 0}; } \ No newline at end of file