Browse Source

Use proper library/abi for qt on linux.

pull/1/head
Zoltan Varga 15 years ago committed by Andreia Gaita
parent
commit
f69e1e9609
  1. 5
      src/QtBindings/Libs.cs

5
src/QtBindings/Libs.cs

@ -13,7 +13,10 @@ namespace Qt { @@ -13,7 +13,10 @@ namespace Qt {
{
string lib;
CppAbi abi;
if (Environment.OSVersion.Platform == PlatformID.Win32NT)
if (Environment.OSVersion.Platform == PlatformID.Unix) {
lib = "{0}.so";
abi = new ItaniumAbi ();
} else if (Environment.OSVersion.Platform == PlatformID.Win32NT)
{ // for Windows...
lib = "{0}d4.dll";
abi = new MsvcAbi ();

Loading…
Cancel
Save