Registered Member
|
I can't seem to find the KDE templates list under the New Projects section for KDevelop. Despite install the kapptemplate package, all I get is this:
Is kapptemplate broken for Plasma5? How can I get a template for Plasmoids in KDevelop without it then? |
KDE Developer
|
Did you install kdevelop and kapptemplate to the same CMAKE_INSTALL_PREFIX?
If yes, then this should work out the box. Otherwise you'll have to extend the XDG_DATA_DIRS variable. Also see: https://community.kde.org/Frameworks/Bu ... time_setup For the record: This works fine for me. |
Registered Member
|
Not too sure if I installed it to the same prefix; I used apt-get to get the packages. I'll build from source if nothing else works though. |
KDE Developer
|
More details please. Which distro, which KDevelop version, which version of kapptemplate?
|
Registered Member
|
I am using Ubuntu 15.10 with the kubuntu-desktop package, KDevelop 4.7.1, and what seems to be kapptemplate 0.1. Running kapptemplate standalone does produce the required template, but it doesn't integrate with KDevelop.
|
KDE Developer
|
Oh, I see the problem...
kapptemplate is already KF5-based, while KDevelop isn't... They both expect the templates in different directories. Try this hack to copy file templates from kapptemplate to the directory where kdevelop expects them: $ sudo cp -Rv /usr/share/kdevappwizard/* /usr/share/kde4/apps/kdevappwizard/ Good luck.
Last edited by kfunk on Thu Jan 14, 2016 7:05 am, edited 1 time in total.
|
Registered Member
|
Thank you so much! This did the trick : ) |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]