Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can't build Qt5 project with bitbucket pipelines

limentas
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 9, 2020

Hi.

I'm trying to build Qt5 project (https://bitbucket.org/limentas/mifare-access-bits-calculator/src/master/) with bitbucket pipelines. I got the following error:

RCC: Error in 'qml.qrc': Cannot find file 'qml/BlocksConditions.qml'

I'm using my own docker image. Building this project from container from this image locally on my computer is successfull.

The simpliest way to reproduce this error is using the following yml:

image: dylanvanassche/qt5:cosmic
pipelines:
default:
-
step:
name: Build
script:
-
echo '<RCC> <qresource prefix="/"> <file>1.txt</file> </qresource> </RCC>' > 1.qrc
-
echo 'body' > 1.txt
-
ls -l
-
rcc -name q1 1.qrc -o qrc_q1.cpp

And output:

+ rcc -name q1 1.qrc -o qrc_q1.cppRCC: Error in '1.qrc': Cannot find file '1.txt'

I found only following similar issue: https://github.com/docker/for-linux/issues/208

But I'm using docker version 18.09.1 and libseccomp version 2.3.3 (https://bitbucket.org/limentas/mifare-access-bits-calculator/addon/pipelines/home#!/results/15)

1. Do you have any ideas to solve the problem?

2. Maybe somebody know which seccomp profile does bitbucket use for performing pipelines scripts?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events