'Qt Creator GDB "Additional Startup Command" , "Additional Attach Command" what is the syntax?

Having troubles settings solib-search-path in Options->Debugger->GDB-> "Additional Startup Command" , "Additional Attach Command" looks like if I do: "set solib-search-path ~/workspace/myproject/lib" it just gets ignored, and solib-search-path set to something else by Qt Creator.

So my question is, what is the syntax in subject fields if it is just plain GDB command or something else?

Probably the second question is how to force the Qt Creator to use my solib-search-path not whatever it comes up with?

Using Qt Creator 3.5.1, Qt 5.5.0



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source