For what it's worth, I experienced a similar problem when running unit tests within the Qt Creator 4.12 on Windows.
I have a large project that consists of multiple subprojects producing dynamic libraries. Additionally, there are unit tests for the public API of these libraries. After upgrade to Qt Creator 4.12 some of these tests (but not all!) are unable to start within the "Tests" panel in Qt Creator with the same symptoms as if the dynamic libraries could not be found --- negative exit codes and "Test failed to produce any expected output". Starting the very same unit tests with "mingw32-make check" with the DLLs added to path works like a charm. I do have the "Add build library search path" checkbox enabled. Unfortunately, I haven't tried to reproduce the problem with a minimal reproducible example since the project is too complex to start reducing it, but downgrading to Qt Creator 4.11 solves the problem so far, so this is probably a bug introduced in Qt Creator 4.12. Cheers Dmitriy On Tue, May 5, 2020 at 10:18 AM Marc Reilly <marc.rei...@gmail.com> wrote: > Hi all, > > When trying launch (run or debug) a program from QtC 4.12 it does not > start the program, I just get a message in the console saying it is > starting. Earlier versions launch the same project fine .. > > If I launch QtC from the command line I get, whenever I try launch: > > /usr/bin/konsole: > /home/marc/devtools/Qt/qtcreator-4.12.0/lib/Qt/lib/libQt5Core.so.5: version > `Qt_5.9.7_PRIVATE_API' not found (required by /usr/lib64/libKF5XmlGui.so.5) > /usr/bin/konsole: > /home/marc/devtools/Qt/qtcreator-4.12.0/lib/Qt/lib/libQt5Core.so.5: version > `Qt_5.9.7_PRIVATE_API' not found (required by > /usr/lib64/libQt5TextToSpeech.so.5) > > Note, my program doesn't link with either of these (it doesn't link with > anything apart from Qt 5.14.2) LDD_LIBRARY_PATH is not set. > > I'm running openSUSE Leap 15.1, and the system Qt version is 5.9.7, so I'm > guessing its pulling in some system libs for some reason.. > > Any ideas? > > Cheers > Marc > _______________________________________________ > Qt-creator mailing list > Qt-creator@qt-project.org > https://lists.qt-project.org/listinfo/qt-creator >
_______________________________________________ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator