From b16570c715f9ad4870054e8100ce98e43c2350db Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Tue, 24 Dec 2019 18:07:04 +0100 Subject: [PATCH] testing: added trix to readme. Sometimes the tests will fail with "missing plugin", the suggested solutions are a) reinstall Qt or b) export a PLUGIN_PATH variable Signed-off-by: Jan Iversen --- Readme.testing | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Readme.testing b/Readme.testing index bab813110..a8b96655d 100644 --- a/Readme.testing +++ b/Readme.testing @@ -15,7 +15,10 @@ to create a new test, just implement copy the one provided by example in the tests folder and add the last three lines of the CMakeLists.txt file adapted to your test. +If you have multiple versions of Qt installed, you might get a "plugin missing error", you can fix that by doing +export QT_QPA_PLATFORM_PLUGIN_PATH=~/Qt/5.13.2/clang_64/plugins +(of course substitute 5.13.2 with your preferred version) To create a new test you can do one of the following (information provided by Tomaz on IRC):