Discussion:
[Qt-creator] Debugging a specific program in a project with subprojects
Petric Frank
2018-06-11 21:24:57 UTC
Permalink
Hello,

i have a (master-)project containing some sub-projects. Some sub-projects
generate shared libraries other applications.

Running a specific application is easy: In the projects window use the right
mouse button on a sub-project and select execute. But there is not menu item
for debug. Am i mssing something.

My master *.pro file looks like this:
------------------ cut -------------------
TEMPLATE = subdirs

CONFIG += ordered

SUBDIRS = \
shared1 \
shared2 \
app1 \
app2 \
app3
------------------ cut -------------------

If i simply go to the main menu and select debug the question is which one of
the apps it will execute to debug ?
Followup: how to set the app to debug ?

The only way i found so far is to comment out the other two apps and run
qmake.

kind regards
Petric
Petric Frank
2018-06-12 06:51:50 UTC
Permalink
Hello,

Am Dienstag, 12. Juni 2018, 00:15:22 CEST schrieb Giuseppe D'Angelo via Qt-
Post by Petric Frank
If i simply go to the main menu and select debug the question is which one
of the apps it will execute to debug ?
Followup: how to set the app to debug ?
Click on button 2 and select the target to run/debug, then you can just
Post by Petric Frank
Loading Image...
aaaaahhhhh ....

thats the the thing i missed. Thank you very much for your hint.

regards
Petric

Loading...