Qt World Summit: Submit your Presentation

Qt Creator requires all CMake targets be deployed in order to run/debug a single target

  • I was wondering if it would be possible to change the functionality of Qt Creator. Currently, in the Deployment settings, there is no way to avoid deploying every target that is created in a CMake project. For example, if I create an executable and a bunch of unit tests - all of those targets are deployed. If one of the targets has not been built, then I am not allowed to debug the others, because the deploy step requires every target to be deployed. Say for instance I want to debug my main application and I don't want to build all of my unit tests, I am unable to. I must build all unit tests and deploy them in order to satisfy the deploy step even if all I want to do is run/debug my embedded application.

    Alternately, I could use the Debug menu bar item (Debug->StartDebugging->AttachToRunningDebugServer, but I have not been able to get gdbserver to start automatically using that method.

    I'm using 4.5RC1.

  • Lifetime Qt Champion


    I'd recommend bringing this to the Qt Creator mailing list. You'll find there Qt Creator developers/maintainers. This forum is more user oriented.

  • @SGaist thanks!