Unsolved Running unit test with jom
-
Hi,
I currently try to build and run on command line a unit test using- qmake <.pro file> command
- jom check command
The build works fine but the builded unit test doesn't launch successfully (Qt dll are missing).
In the generated makefile I have the line:
check: first
cd <app path> && (set QT_PLUGIN_PATH=c:\Qt\Qt5.5.1\msvc2015_opengl\plugins) & (set PATH=c:\Qt\Qt5.5.1\msvc2015_opengl\lib;%%PATH:)=^)%%) & $(TESTRUNNER) .$(TARGET) $(TESTARGS)The problem is in this makefile when the PATH is set. It should finish by \bin instead of \lib.
If I modify this makefile manually, the unit test run successfully.How can I do to configure qmake to generate this line with the correct PATH ?
check: first
cd <app path> && (set QT_PLUGIN_PATH=c:\Qt\Qt5.5.1\msvc2015_opengl\plugins) & (set PATH=c:\Qt\Qt5.5.1\msvc2015_opengl\bin;%%PATH:)=^)%%) & $(TESTRUNNER) .$(TARGET) $(TESTARGS)Should I need to add some variables in .pro file or on command line ?
Thanks for your help.
Best regards,