Creating a new project like this: Project-> New from template, Qt, Graphical, QMake based, Qt4 GUI Application, Appname: Foo, Location: /home/mo/workspace Leaving all defaults: Configure a build directory: Qmake: /usr/bin/qmake, Build dir: /home/mo/workspace/Foo/build I get a new file buffer foo.cpp but it cannot be saved as writing to /home/mo/workspace/Foo/src/foo.cpp fails. There is no ./src directory in the project directory. On project directory there is only /home/mo/workspace/Foo/main.cpp mainwindow.ui Foo.kdev4 Foo.pro Creating a subdir ./src makes it possible to save the file. However foo.cpp still does not belong to the project in the Projects sidebar.
Git commit ec0f5f98dbe0b370380bc6fb16b18afed12ea675 by Friedrich W. H. Kossebau. Committed on 06/04/2017 at 12:13. Pushed by kossebau into branch '5.1'. Fix ShowFilesAfterGeneration to match generated files Fixup for 4ef2536e89b966694c7dee7ef5a242ce31365771 M +1 -1 app_templates/cpp/CMake/cmake_qt4core/cmake_qt4core.kdevtemplate M +1 -1 app_templates/cpp/CMake/cmake_qt4core_qtest/cmake_qt4core_qtest.kdevtemplate M +1 -1 app_templates/cpp/CMake/cmake_qt4gui/cmake_qt4gui.kdevtemplate M +1 -1 app_templates/cpp/QMake/qmake_qt4guiapp/qmake_qt4guiapp.kdevtemplate https://commits.kde.org/kdevelop/ec0f5f98dbe0b370380bc6fb16b18afed12ea675