<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 8/2/2016 3:00 PM,
      <a class="moz-txt-link-abbreviated" href="mailto:qgis-developer-request@lists.osgeo.org">qgis-developer-request@lists.osgeo.org</a> wrote:<br>
    </div>
    <blockquote
      cite="mid:mailman.47.1470164401.18512.qgis-developer@lists.osgeo.org"
      type="cite">
      <pre wrap=""><div class="moz-txt-sig">Date: Tue, 2 Aug 2016 19:11:51 +0200
From: Jürgen E. Fischer <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:jef@norbit.de"><jef@norbit.de></a>
To: QGIS Developer Mailing List <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:qgis-developer@lists.osgeo.org"><qgis-developer@lists.osgeo.org></a>
Subject: Re: [Qgis-developer] Adding SQL provider to QGIS
Message-ID: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:20160802171151.GA17900@norbit.de"><20160802171151.GA17900@norbit.de></a>
Content-Type: text/plain; charset="iso-8859-1"

Hi David,

On Tue, 02. Aug 2016 at 11:59:57 -0400, David Adler wrote:
</div></pre>
      <blockquote type="cite" style="color: #000000;">
        <pre wrap=""><span class="moz-txt-citetags">> </span>We developed DB2 support for QGIS using the ODBC driver that is
<span class="moz-txt-citetags">> </span>built in to QGIS/Qt for Windows. But the ODBC driver isn't built in
<span class="moz-txt-citetags">> </span>on other platforms and using ODBC on other platforms is sketchy.
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>Is it possible to build and use the Qt DB2 driver with QGIS and is
<span class="moz-txt-citetags">> </span>there any documentation on how to do this?
</pre>
      </blockquote>
      <pre wrap="">Does the Qt DB2 driver have third party dependencies?</pre>
    </blockquote>
    Yes, probably similar to Oracle.<br>
    <blockquote
      cite="mid:mailman.47.1470164401.18512.qgis-developer@lists.osgeo.org"
      type="cite">
      <pre wrap="">

For the Oracle provider we have a modified QOCI driver that is built with QGIS
when it's dependencies are available, but that usually not the case on
platforms other than (osgeo4)Windows either.</pre>
    </blockquote>
    How do you build the driver? Does it end up being a new QGIS
    executable or does it just create an additional DLL with the QOCI
    driver?<br>
    We want to avoid requiring end-users to build complete QGIS from
    source - it is hard enough for experienced developers to get this to
    work ;-)<br>
    <br>
    We've managed to build the Qt QDB2 driver DLL but have not been
    successful in having a Qt application load it.<br>
    <br>
    Regards,<br>
    David<br>
    <blockquote
      cite="mid:mailman.47.1470164401.18512.qgis-developer@lists.osgeo.org"
      type="cite">
      <pre wrap="">


Jürgen</pre>
    </blockquote>
    <p><br>
    </p>
  
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
        <tr>
                <td style='border:none;padding:0px 15px 0px 8px'>
                        <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient">
                                <img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo" />
                        </a>
                </td>
                <td>
                        <p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
                                This email has been checked for viruses by Avast antivirus software.
                                <br><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient">www.avast.com</a>
                        </p>
                </td>
        </tr>
</table>
<br />
</body>
</html>