Summary: | Invoking debug or execute doesn't rebuild changed files (set in dependencies) | ||
---|---|---|---|
Product: | [Developer tools] kdevplatform | Reporter: | Piotr Mierzwinski <piotr.mierzwinski> |
Component: | run support | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | aleixpol, niko.sams, piotr.mierzwinski |
Priority: | NOR | ||
Version: | 5.2.3 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
Launch Configuration for qtcmd2
Terminal output of KDevelop for this bug CMakeLists.txt from main directory |
Description
Piotr Mierzwinski
2015-07-27 18:01:50 UTC
Created attachment 93766 [details]
Launch Configuration for qtcmd2
Created attachment 93767 [details]
Terminal output of KDevelop for this bug
Update for KDevelop cloned at July 31-st. In this version KDevelop window doesn't disappear. All seems OK, but building is not calling for changed files. I mean changed files (in main directory and directory added in dependencies) are not taking into consideration when I call run or when I start debug of project. They didn't rebuild!. In Dependencies ("Launch Configurations") is set "Build". Hi, I have been trying to reproduce the issue but I didn't manage. Can you confirm that building works on your project? Something seems off: Right-click on one of the items that you like to build and press Build. Thanks! The issue still persist in current version of KDevelop (app.built at 2016/09/05, from branch 5.0). In this moment my "Launch Configuration" is default (no dependencies skipping main binary/executable file suggested by KDevelop). In my structure of directories, invoking of F8 (with selected top directory) made building files in whole project. I mean all files including subdirectories. Proper rules are defined in CMakeLists.txt, so I think this is currect result. Unfortunately when I invoke "Run -> Execute Launch" or "Run -> Debug Launch" only changed files which are located in main directory are built. Others (in subdirectories) don't. So after change some file in subdirectory I need to remember to invoke build (F8) and then "Execute Launch". OK. Maybe this is because I don't have defined any dependencies for subdirectories. So I added this: "qtcmd2/plugins/preview/textviewer". I modified file inside this directory, saved. And invoked "Run -> Execute Launch" (with selected top directory). Unfortunately I got error in Build view. Sorry, I don't remember what. OK. So I run build and when finished again I invoked "Run -> Execute Launch". After this, KDevelop crashed and didn't want to run again :(. I reported this bug as Bug 368420. Below please find directories structure of my project (located here: git://git.qtcmd.org/qtcmd2.git). qtcmd2 qtcmd2/templates qtcmd2/libs qtcmd2/libs/xdgmime qtcmd2/libs/widgets qtcmd2/libs/utils qtcmd2/plugins qtcmd2/plugins/preview qtcmd2/plugins/preview/archiveviewer qtcmd2/plugins/preview/videoviewer qtcmd2/plugins/preview/audioviewer qtcmd2/plugins/preview/textviewer qtcmd2/plugins/preview/imageviewer qtcmd2/plugins/vfs qtcmd2/plugins/vfs/rarsubsystem qtcmd2/plugins/vfs/zipsubsystem qtcmd2/plugins/vfs/localsubsystem qtcmd2/plugins/vfs/ftpsubsystem qtcmd2/plugins/vfs/tarsubsystem qtcmd2/src qtcmd2/src/ui qtcmd2/src/preview qtcmd2/src/vfs Below rules from CMakeLists.txt: add_subdirectory(libs/widgets) add_subdirectory(libs/utils) add_subdirectory(libs/xdgmime) add_subdirectory(src) add_subdirectory(plugins/vfs/localsubsystem) add_subdirectory(plugins/vfs/rarsubsystem) add_subdirectory(plugins/vfs/tarsubsystem) add_subdirectory(plugins/vfs/zipsubsystem) add_subdirectory(plugins/vfs/ftpsubsystem) add_subdirectory(plugins/preview/textviewer) add_subdirectory(plugins/preview/imageviewer) add_subdirectory(plugins/preview/videoviewer) add_subdirectory(plugins/preview/audioviewer) add_subdirectory(plugins/preview/archiveviewer) In any case I attach my main CMakeLists.txt. Created attachment 100977 [details]
CMakeLists.txt from main directory
Below please find "error" what I can see after "Run -> Execute Launch" (with adding one dependency) /run/media/piotra/FreeAgent/piotr/Projekty/Qt/qtcmd_work/qtcmd_git/qtcmd2/build> make -j8 *** Killed process *** I realized that the reason of "KDevelop crashed and didn't want to run again" was working kdevelop process in background. When I finish it I was able to report bug by Konqi. After that I was able to run KDevelop again. Change status due to providing several info. In last version of my project I dropped configuration described above (settings dependencies in Project configuration). I use default, so what KDevelop sets after importing project. Only one issue is that all plugins and libraries are not built (if happen any change inside) by invoking F9/Shift+F9 (run). To have up-do-date binaries I need to invoke build (F8) and after F9/Shift+F9. Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you! Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |