title: How to Package all the libraries and dependencies in a C++ Project?
body: <p>I am working with C++ for a project and using the Qt framework to help me out. However, I am dealing with some annoying issues and I hope someone can help me out here. Here's what I have so far"</p>
  
  <ul>
  <li>I created my C++ application using Qt</li>
  <li>Compiled my application and send out the final .exe file</li>
  </ul>
  
  <p>I also installed a separate non-developmental OS to test my application. On the test OS I just had to install the Qt libraries and my application would run just fine. </p>
  
  <p>But some of the users of my application are having trouble running the application. Some of them installed Qt but the application still cannot find the required .dll files or if they installed Qt fine the application still fails because Qt itself has some other dependency. Or they are on a 64 bit but my application is 32-bit... so their 64 bit Qt library does not work with my application.</p>
  
  <p>So, what I am thinking of doing is basically get a tree of all the .dll files my application will need to run smoothly and include all of them as part of my .exe application.</p>
  
  <p>Certainly the file size will increase but at least I will have the peace of mind knowing that the application has everything it needs.</p>
  
  <p>I am reading more about Static/Dynamic Linking etc... but in the C++ world it is a bit different. Is there a system in C++ that is similar to Java where you specify the libraries and during compilation C++ would copy the necessary libraries to the end product?</p>