Servers by jDrones

Error when trying to compile QGround Control in QtCreator

I keep getting the following build error in Qt Creator when trying to compile. I have followed the development settings exactly on the QGroundControl dev page.

https://dev.qgroundcontrol.com/master/en/getting_started/

19:20:48: Running steps for project qgroundcontrol...

19:20:48: Starting: "C:\Qt\Tools\QtCreator\bin\jom.exe" 
C:\Qt\5.12.6\msvc2017_64\bin\rcc.exe -name qgroundcontrol "C:\Users\Documents\\rover_code\qgroundcontrol\qgroundcontrol\qgroundcontrol.qrc" -pass 1 -o C:/Users/Documents/rover_code/qgroundcontrol/build-qgroundcontrol-Desktop_Qt_5_12_6_MSVC2017_64bit-Debug/rcc/qrc_qgroundcontrol.cpp
C:\Qt\5.12.6\msvc2017_64\bin\rcc.exe: File does not exist '/Documents/rover_code/qgroundcontrol/build-qgroundcontrol-Desktop_Qt_5_12_6_MSVC2017_64bit-Debug/rcc/qrc_qgroundcontrol.cpp'
jom: C:\Users\Documents\rover_code\qgroundcontrol\build-qgroundcontrol-Desktop_Qt_5_12_6_MSVC2017_64bit-Debug\Makefile [rcc\qrc_qgroundcontrol.obj] Error 1

19:21:07: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.
Error while building/deploying project qgroundcontrol (kit: Desktop Qt 5.12.6 MSVC2017 64bit)
When executing step "Make"

19:21:07: Elapsed time: 00:19.

NO idea what that error code means. But it looks like you have your build directory inside you repro directory. Try putting your build directly outside the repo.

Servers by jDrones