+++ This bug was initially created as a clone of Bug #396677 +++ SUMMARY When creating a foo application based on the KPart template, the application cannot find the KPart. It looks that Bug #396677 happened again. STEPS TO REPRODUCE 1. Open KAppTemplate 2. Create a new project called foo, using the KPart template 3. Use the instructions in the README file: create the build folder, configure, compile and install the project 4. Run the project. OBSERVED RESULT There is an error window, saying "Could not find foo part!". The window then starts but is empty. EXPECTED RESULT The window loads the KPart content. SOFTWARE/OS VERSIONS Linux: 5.11.0-40-generic KDE Plasma Version: 5.23.80 KDE Frameworks Version: 5.88.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION I am using latest package from KDE Neon Developer Edition. Package: kapptemplate Version: 4:21.08.3+p20.04+tunstable+git20211109.0123-0