Bug 182768 - Running an application not possible
Summary: Running an application not possible
Status: RESOLVED FIXED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: run support (show other bugs)
Version: git master
Platform: unspecified Linux
: VHI normal
Target Milestone: 1.0.0
Assignee: Andreas Pakulat
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-01 19:49 UTC by Thomas McGuire
Modified: 2009-04-30 23:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas McGuire 2009-02-01 19:49:43 UTC
Version:            (using KDE 4.2.0)
OS:                Linux

In the project options, I created a new run target.
As "Executable", I choose "Target", and used the only target of my project (which KDevelop helpfully autocompleted :)

Afterwards, that run target appeared in Run->Current Run Target, with the correct name.

However, Run->Execute Program gave me an error dialog: "Target 'eqOSG' is not executable.", and afterwards a second error dialog: "Could not run ''. Make sure that the path name is specified correctly.".

The target is the only target of my CMakeLists.txt and was added with a run-of-the-mill ADD_EXECUTABLE() call.

I would expect that this is recognised as an executable. Also, in case of an error, only one error dialog should be shown.
Comment 1 Thomas McGuire 2009-02-16 12:21:39 UTC
This can be reproduced with the simplest CMake file:

PROJECT(Test)
ADD_EXECUTABLE(Test main.cpp)
Comment 2 Andreas Pakulat 2009-02-25 23:18:41 UTC
yeah, the target support in the run config is completely broken. The completion complete's only folders as far as I can see, not targets.
Comment 3 Andreas Pakulat 2009-04-30 23:44:51 UTC
This works just fine now with the new launch framework.