title: Loading library with dependency with QLibrary
body: <p>Suppose I have two libraries, <code>A.dll</code> and <code>B.dll</code>. The library <code>A</code> depends on <code>B</code>. I want to load <code>A</code> into my project.</p>
  
  <p>My project is in <code>C:/Project</code>. If I keep both <code>A.dll</code> and <code>B.dll</code> in <code>C:/Project</code>, I can load <code>A</code> with:</p>
  
  <pre><code>QLibrary lib("A"); 
  lib.load();
  </code></pre>
  
  <p>This works fine. <code>load()</code> will return false if <code>B.dll</code> isn't in <code>C:/Project</code>, though.</p>
  
  <p>The problem is I want to keep both <code>A.dll</code> and <code>B.dll</code> in <code>C:/Project/lib</code>. But when I move both libs to that location and try to load:</p>
  
  <pre><code>QLibrary lib("C:/Project/lib/A");
  lib.load();
  </code></pre>
  
  <p>It fails. But this works if I keep <code>A.dll</code> in <code>C:/Project/lib</code> and <code>B.dll</code> in <code>C:/Project</code>.</p>
  
  <p>How can I keep both libs in <code>C:/Project/lib</code>and have <code>A.dll</code> load successfully?</p>
  
  <p><strong>Edit:</strong> the error message I get is <code>"Cannot load library C:/Project/lib/A . The specified module could not be found."</code></p>