[Qt-creator] How run client ans server parts of the one project in debug mode

Andrzej Telszewski atelszewski at gmail.com
Sun Mar 6 20:19:43 CET 2016


On 06/03/16 20:10, Andrzej Telszewski wrote:
> On 06/03/16 19:23, Карелин Павел wrote:
>>
>>
>> 06.03.2016 21:20, Bogdan Vatra пишет:
>>> Hi,
>>>
>>> I think you'll need to run two QtCreator instances.
>> I tried it, got this error: "Cannot lock build graph file
>> '/home/hkarel/CProjects/Gamma7/build/qtc_Qt_551_a195e3b4-debug/qtc_Qt_551_a195e3b4-debug.bg':
>>
>> Already locked by 'QtCreator' (PID 4475)."
>
> Is the server and client the same binary?
> If so, I think you'd have to separate them and then you could run two
> instances.
>

Or maybe another solution. Under "Debug" -> "Start Debugging" you have 
various possibilities. Maybe you could "Attach to Running Application" 
provided that you have started your application outside of Qt Creator?

I don't know how the locking is going to behave, though.

>>>
>>> Cheers,
>>> BogDan.
>>>
>>> On Sunday 06 March 2016 20:15:22 Карелин Павел wrote:
>>>> Hello,
>>>>
>>>> My project consists of a client and a server parts.  The client and the
>>>> server interact under the TCP protocol. How I can run the client and
>>>> the
>>>> server in the debug mode in QtCreator?
>>
>>
>>
>> _______________________________________________
>> Qt-creator mailing list
>> Qt-creator at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/qt-creator
>>
>

-- 
Best regards,
Andrzej Telszewski



More information about the Qt-creator mailing list