From 1a6769450aab26c281c331867d9ec04285d4f529 Mon Sep 17 00:00:00 2001 From: Dimitar Dobrev Date: Fri, 13 Nov 2015 02:06:08 +0200 Subject: [PATCH] Updated C++# to fix crashes when loading GUI from a Qt *.ui file. Signed-off-by: Dimitar Dobrev --- CHANGELOG | 4 ++++ QtSharp/QtSharp.cs | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 647b4e58..8f676937 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +0.0.3 - 13.11.2015 +Fixed: +- Crashes when loading GUI from a *.ui file using QFormBuilder. + 0.0.2 - 5.11.2015 Fixed: - A crash when using QFormLayout. diff --git a/QtSharp/QtSharp.cs b/QtSharp/QtSharp.cs index c68f126b..140144d9 100644 --- a/QtSharp/QtSharp.cs +++ b/QtSharp/QtSharp.cs @@ -175,6 +175,7 @@ public void Setup(Driver driver) driver.Options.addIncludeDirs(Path.Combine(this.includePath, qtModule)); driver.Options.addLibraryDirs(this.libraryPath); driver.Options.Libraries.Add(this.library); + driver.Options.ExplicitlyPatchedVirtualFunctions.Add("qt_metacall"); string dir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); switch (this.module) {