Can't build a release version for a custom QGC, jom Error 1 & 2

Hello,
Me and my projectteam are buidling a custom QGC interface, but when we try to build a release version the build failes with a few errors. I have looked at the kits and the compilers but they are the same versions. So i dont know how to solve this, so maybe some of you can help me.

Kind regards,
Derk -Jan

No resource path for file: C:\Users\dj24h\source\repos\qgroundcontrol\custom\res\MainRootWindow.qml
jom: C:\Users\dj24h\source\repos\build-qgroundcontrol-Desktop_Qt_5_15_2_MSVC2019_64bit-Release\Makefile [custom_res_AppSettings_qml.cpp] Error 1
jom: C:\Users\dj24h\source\repos\build-qgroundcontrol-Desktop_Qt_5_15_2_MSVC2019_64bit-Release\Makefile [custom_res_GeneralSettings_qml.cpp] Error 1
jom: C:\Users\dj24h\source\repos\build-qgroundcontrol-Desktop_Qt_5_15_2_MSVC2019_64bit-Release\Makefile [custom_res_MainRootWindow_qml.cpp] Error 1
13:59:32: The process “D:\Qt\Tools\QtCreator\bin\jom\jom.exe” exited with code 2.
Error while building/deploying project qgroundcontrol (kit: Desktop Qt 5.15.2 MSVC2019 64bit)
When executing step “Make”

Hi @DerkieH, welcome to the forum :slight_smile:

A few questions:

  1. Did you follow the build instructions exactly?
  2. Is this with or without modifications? If without, which commit are you on?
  3. Generally the default build type is Debug. I wouldn’t expect there to be a difference in build success, but just in case, does it work to build Debug instead of Release?

I just made a fresh clone and built it successfully by following the clone and build steps in the build instructions.