Jenkinsfile - set 'Qt6 installation dir'... still
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -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'
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user