Reputation: 343
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
Upvotes: 0
Views: 410
Reputation: 343
Fixed my issue by using the correct escape sequence:
DEFINES += QGC_APPLICATION_NAME='"\\\"Custom QGroundControl\\\""'
Upvotes: 0
Reputation: 17124
OK, I think I have a solution for you:
QGC = '\\"Q Ground Control\\"'
DEFINES += QGC_APPLICATION_NAME=\"$${QGC}\"
Try it and let us know how it goes.
Upvotes: 0