From f17238d3d4068723d86f712b82bb9de235eaaade Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 17 May 2015 01:19:23 +0200 Subject: [PATCH] tox: Set QT_QPA_PLATFORM_PLUGIN_PATH for smoke. This fixes smoke tests on Windows (I think). --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index e134d6176..64d19f0dc 100644 --- a/tox.ini +++ b/tox.ini @@ -113,6 +113,8 @@ commands = {envpython} scripts/asciidoc2html.py {posargs} [testenv:smoke] +# https://bitbucket.org/hpk42/tox/issue/246/ - only needed for Windows though +setenv = QT_QPA_PLATFORM_PLUGIN_PATH={envdir}/Lib/site-packages/PyQt5/plugins/platforms passenv = DISPLAY XAUTHORITY HOME deps = -r{toxinidir}/requirements.txt