Hello *
I'm trying to make a binary distribution of my project for Windoze.
The project compiles fine, resolves its library dependencies and is able to run, but only if the used DLLs (Qt4: QtCore, QtGui and QtXml; some other libraries) reside in the the same directory as the application. I would like to put all libraries into a subfolder (lib) and have only the executable in the application root directory, but whenever I start the application with this configuration it complains about not finduing the DLLs. If I start via a BATch-file and set the PATH environment accordingly it works, but this is not an acceptable solution.
QCoreApplication brings some static methods to set the library include paths, but they don't work cause the the application fails to start due to the missing libraries in the dynamic library loader before even executing the first statements....
I also tried messing around with linker flags adding a -Wl,-rpath,lib, but after it didn't work I checked with the documentation and found out that the mingw-gcc ignores the rpath...
I don't want to l link it static because there is a proprietary library where no static version is available...

Has anybody any idea on how to solve this?

Thanks in advance