Skip to content

Commit 1a67694

Browse files
committed
Updated C++# to fix crashes when loading GUI from a Qt *.ui file.
Signed-off-by: Dimitar Dobrev <[email protected]>
1 parent bf52419 commit 1a67694

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
0.0.3 - 13.11.2015
2+
Fixed:
3+
- Crashes when loading GUI from a *.ui file using QFormBuilder.
4+
15
0.0.2 - 5.11.2015
26
Fixed:
37
- A crash when using QFormLayout.

QtSharp/QtSharp.cs

+1
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ public void Setup(Driver driver)
175175
driver.Options.addIncludeDirs(Path.Combine(this.includePath, qtModule));
176176
driver.Options.addLibraryDirs(this.libraryPath);
177177
driver.Options.Libraries.Add(this.library);
178+
driver.Options.ExplicitlyPatchedVirtualFunctions.Add("qt_metacall");
178179
string dir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
179180
switch (this.module)
180181
{

0 commit comments

Comments
 (0)