Jenkinsfile - set 'Qt6 installation dir'... still

This commit is contained in:
Uwe Jakobeit
2026-03-30 13:19:09 +02:00
parent 285e135254
commit aebaf52bcc
2 changed files with 3 additions and 3 deletions

2
Jenkinsfile vendored
View File

@@ -28,7 +28,7 @@ pipeline {
echo "Qt Dir is ${Qt6_DIR}" echo "Qt Dir is ${Qt6_DIR}"
sh "export Qt6_DIR='/home/k4/Qt/6.10.2/gcc_64/lib/cmake/Qt6'" sh "export Qt6_DIR='/home/k4/Qt/6.10.2/gcc_64/lib/cmake/Qt6'"
// sh "env | grep Qt" // sh "env | grep Qt"
sh 'cmake -S . -B build -DCMAKE_BUILD_TYPE=Release' sh 'cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DQt6_DIR=$HOME/Qt/6.10.2/gcc_64/lib/cmake/Qt6'
// echo "See localbuild says on the environment" // echo "See localbuild says on the environment"
// sh './localbuild.sh' // sh './localbuild.sh'

View File

@@ -4,10 +4,10 @@
rm -r build rm -r build
# enable CMake to find Qt6 # enable CMake to find Qt6
export Qt6_DIR=$HOME/Qt/6.10.2/gcc_64/lib/cmake/Qt6 # export Qt6_DIR=$HOME/Qt/6.10.2/gcc_64/lib/cmake/Qt6
# project configuration # project configuration
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DQt6_DIR=$HOME/Qt/6.10.2/gcc_64/lib/cmake/Qt6
#build executable #build executable
make -j$(nproc) --directory=build make -j$(nproc) --directory=build