I have a weird crash in ark if I enable the target generation in the bin
The problem is that QCoreApplication::libraryPaths() returns the following
which means that ark loads first its system-wide plugins, while it should
load first the plugins form its build dir.
ECM has code that fixes this problem for test targets .
I tried to do the same to all the ark targets (main executable, kerfuffle
library, plugins), but it doesn't work.
Commit message in  by David says:
"This of course requires running the unittests via ctest rather than
launching the executable directly."
Does that mean that ctest has some magic that adjusts the library paths?
Is it possible to do the same with normal executables?