c++qmlqt-creatorqgroundcontrol

How can I put white spaces in Title of QGroundControl?


Is there a way that I put the white spaces in the QGroundControl? I am new to this and not sure much about QML or qmake.

I want to change title from “QGroundControl” to “Q Ground Control”. I tried to do the change in the “qgroundcontrol.pro” at the below line, but this didn’t worked as I was expecting.

FROM: DEFINES += QGC_APPLICATION_NAME=\"\\\"QGroundControl\\\"\"

TO: DEFINES += QGC_APPLICATION_NAME=\"\\\"Q Ground Control\\\"\"

The RESULT is: Q -DGround -DControl

Required Result: Q Ground Control


Solution

  • Fixed my issue by using the correct escape sequence:

    DEFINES += QGC_APPLICATION_NAME='"\\\"Custom QGroundControl\\\""'