I am creating a proprietary Quant library for a project. The main application is being developed using Qt framework. It will be loading this Quant dll for making available various quant functions to the main application.

There are following requirements for the dll:

  1. The Quant DLL will be using Armadillo Linear Algebra Library to solve
  2. Armadillo will be linking to OpenBlas in place of blas

I have never linked a library to a library before.


  1. To be more specific can a I link a DLL to another DLL...in this case Quant DLL with ARMADILLO and OpenBLAS. What should be pro setting in Qt while compiling Quant library?
  2. What is the ideal architecture for this?