Important: Please read the Qt Code of Conduct -

Static QT build + dynamic openCV -> add .dll in a seperate folder

  • Hi there,

    This issue has driving me nuts for a while now. Everything works perfect if I place the dlls in the folder where the .exe resides, however trying to put then into <exefolder>/libs does not work at all.
    I've tried just about everything (addlibrarypath(), qt.conf,QLibrary, ...) and I would really get some input on this (opencv static linking does NOT work due to zutils.c multiple declarations bug).

    QT version used: Qt 5.0.1 compiled with minGW32 4.7.0 (static)
    Opencv: compiled with minGW32 4.7.0 with_QT

    Best regards

Log in to reply