Yes I agree that jurplel/install-qt-action may be overriding the manual install of qt & qwt.
Here is the build output when I remove jurplel/install-qt-action from build.yml -
Linux
Run qmake -set QMAKEFEATURES /resources/qwt/
qmake -set QMAKEFEATURES /resources/qwt/
qmake PowerVelo.pro
shell: /bin/bash -e {0}
Info: creating stash file /home/runner/work/MaximumTrainer/MaximumTrainer/.qmake.stash
/home/runner/work/MaximumTrainer/MaximumTrainer/PowerVelo.pro:6: 'versionAtLeast' is not a recognized test function.
Project ERROR: Use at least Qt version 5.12
Error: Process completed with exit code 3.
Run qmake -set QMAKEFEATURES /resources/qwt/
qmake -set QMAKEFEATURES /resources/qwt/
qmake PowerVelo.pro
shell: /bin/bash -e {0}
Info: creating stash file /home/runner/work/MaximumTrainer/MaximumTrainer/.qmake.stash
/home/runner/work/MaximumTrainer/MaximumTrainer/PowerVelo.pro:6: 'versionAtLeast' is not a recognized test function.
Project ERROR: Use at least Qt version 5.12
Error: Process completed with exit code 3.
To copy to clipboard, switch view to plain text mode
looking into this it appears that QT 5.9.5 was installed, so I have just adjusted the pro file build for the moment
Mac
0s
Run qmake -set QMAKEFEATURES /resources/qwt/
qmake -set QMAKEFEATURES /resources/qwt/
qmake PowerVelo.pro
shell: /bin/bash -e {0}
/Users/runner/work/_temp/eb005e71-d79b-4b46-a79a-086122d1c270.sh: line 1: qmake: command not found
Error: Process completed with exit code 127.
0s
Run qmake -set QMAKEFEATURES /resources/qwt/
qmake -set QMAKEFEATURES /resources/qwt/
qmake PowerVelo.pro
shell: /bin/bash -e {0}
/Users/runner/work/_temp/eb005e71-d79b-4b46-a79a-086122d1c270.sh: line 1: qmake: command not found
Error: Process completed with exit code 127.
To copy to clipboard, switch view to plain text mode
Reading this implies a path issue to me.
In my latest build I have removed jurplel/install-qt-action as this is causing a conflict & here are the latest errors -
Linux
Run qmake -version
QMake version 3.1
Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu
Info: creating stash file /home/runner/work/MaximumTrainer/MaximumTrainer/.qmake.stash
/home/runner/work/MaximumTrainer/MaximumTrainer/PowerVelo.pro:6: 'versionAtLeast' is not a recognized test function.
Project ERROR: Use at least Qt version 5.9.0
Error: Process completed with exit code 3.
Run qmake -version
QMake version 3.1
Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu
Info: creating stash file /home/runner/work/MaximumTrainer/MaximumTrainer/.qmake.stash
/home/runner/work/MaximumTrainer/MaximumTrainer/PowerVelo.pro:6: 'versionAtLeast' is not a recognized test function.
Project ERROR: Use at least Qt version 5.9.0
Error: Process completed with exit code 3.
To copy to clipboard, switch view to plain text mode
Mac this is back to the qwt not found error, not sure if this is as brew install qwt6 by default
In file included from src/_db/userdao.cpp:4:
src/main/util.h:7:10: fatal error: 'qwt_plot.h' file not found
#include <qwt_plot.h>
^~~~~~~~~~~~
1 error generated.
make: *** [build/release/.obj/userdao.o] Error 1
In file included from src/_db/userdao.cpp:4:
src/main/util.h:7:10: fatal error: 'qwt_plot.h' file not found
#include <qwt_plot.h>
^~~~~~~~~~~~
1 error generated.
make: *** [build/release/.obj/userdao.o] Error 1
To copy to clipboard, switch view to plain text mode
full build can be found https://github.com/MaximumTrainer/MaximumTrainer/actions/runs/298838171
Bookmarks