Browse Source

Minor touchups. Helped Visual Studio debugging.

git-svn-id: https://mono-soc-2010.googlecode.com/svn/trunk/cppinterop@78 a470b8cb-0e6f-1642-1b45-71e107334c4b
pull/1/head
alexander.corrado 15 years ago
parent
commit
c87676dfe1
  1. 2
      QtBindings/Core/QString.cs
  2. 2
      QtBindings/Libs.cs

2
QtBindings/Core/QString.cs

@ -34,7 +34,7 @@ namespace Qt.Core { @@ -34,7 +34,7 @@ namespace Qt.Core {
private static IQString impl = Qt.Libs.QtCore.GetClass<IQString> ("QString");
public QString (string str)
public QString (string str) : this ()
{
IntPtr strPtr = Marshal.StringToHGlobalUni (str);
impl.QString (ref this, strPtr, str.Length);

2
QtBindings/Libs.cs

@ -15,7 +15,7 @@ namespace Qt { @@ -15,7 +15,7 @@ namespace Qt {
CppAbi abi;
if (Environment.OSVersion.Platform == PlatformID.Win32NT)
{ // for Windows...
lib = "{0}4.dll";
lib = "{0}d4.dll";
abi = new MsvcAbi ();
} else { // for Mac...
lib = "/Library/Frameworks/{0}.framework/Versions/Current/{0}";

Loading…
Cancel
Save