How do I configure my KDevelop installation to support KDE projects? - kde-plasma

I am running Kubuntu 15.10 with KDevelop 4.7.1. I wish to create KDE specific applications such as Plasmoids for Plasma5 desktops. However, there is no option for developing KDE projects in the new projects menu. How do I configure KDevelop for this purpose?

KDevelop depends on the kapptemplate package for KDE project templates.
Hence, install the kapptemplate package with:
sudo apt-get install kapptemplate
Unfortunately, while the kapptemplate package supports KF5, KDevelop doesn't. Therefore, the kapptemplate package must be copied to the KF4 templates directory using:
sudo cp -Rv /usr/share/kdevappwizard/* /usr/share/kde4/apps/kdevappwizard/
After restarting KDevelop and creating a new project, you should see the option for developing KDE projects.

Related

How do I correctly work with multiple dependent packages in IntelliJ IDEA?

I've got three packages in my project.
Two of the packages I'm working on are dependencies for the 'main' package.
These two are installed in development mode within the project's virtual env (by the pip install -e).
They are imported as modules in the IntelliJ IDEA project (currently highlighted as 'non-project files' in yellow).
My questions:
What is the correct way of setting it up?
Why are the packages in the venv showing as non-project files?
Thank you

Use Doxygen 1.9 (built from source) in CMake

I am not that much sound in CMake and which leads to me in this issue. I am trying to use Doxygen in a project using CMake. Previously, I have used Doxygen version 1.8.11 which was installed from Ubuntu package manager. I have simply followed the following command to install Doxygen
sudo apt-get install doxygen
And in the project in CMakeLists.txt file I have included
find_package(Doxygen REQUIRED)
Everything works flawlessly.
But now for a specific reason I have to upgrade my Doxygen version which is not available in Ubuntu package manager, that's why I have built the binary by following this. The downloaded Doxygen Source directory and my project directory are not the same.
My query is how can I tell CMake to search for this newly installed/build Doxygen?
Still, I am finding the version of Doxygen is 1.8.11
I am using Ubuntu 16.04, cmake version 3.19.0-rc3

How to stop git update and clear git cache in Windows

I want to stop egit from updating the repository with modifications I make to an app, which I downloaded from git. I found out that I have to update .gitignore file. I did that. But then I read that I have to clear the git cache also. But all the procedures I find are for the linux setup of Eclipse. I don't find any information on how to do this in the Windows environment. On Linux setup, you can issue "git rm -r --cached [filename]", and that stops git from updating the repository with changes to the file. But I can not find the git or egit executable in my setup. I am running Eclipse from the Android bundle setup. This is a zip file that you can download from Android developer site, and it has Eclipse along with Android Development Environment. I am running this on a Windows 7 machine. I think egit is the Eclipse addon for git? Is that right?
I found this link: Eclipse Git Tutorial But it did not help me.

How to install rabbitmq-plugins tool?

This page tells me what I can do with the rabbitmq plugins tool. But I can't figure out how to install the plugins tool itself. I just seem to have rabbitmq-server and rabbitmqctl. The man pages doesn't say anything either. So how do I install it? I currently have {rabbit,"RabbitMQ","2.6.1"} running and I didn't install the server so I don't know how it was installed.
Thanks,
Apparently the plugin tool was introduced from 2.7 onwards. For 2.6.1, I assume we need to copy the plugin files to the plugins folder. Unless someone can confirm otherwise.

How to install a squeak smalltalk plugin?

I am trying to use squeakSSL with WebClient, the squeakSSL page says:
To install SqueakSSL you need to download and install the binary version of the plugin and then install SqueakSSL via:
(Installer ss)
project: 'SqueakSSL';
install: 'SqueakSSL-Core';
install: 'SqueakSSL-Tests';
I downloaded the mentioned package, and it is just a dll file. I can't find anywhere on the net how you install a squeak plugin. I tried putting it in the VM and Image directories, but the squeakSSL tests fail.
How do you install a squeak plugin?
First, you have to download the DLL file and put it in your VM directory. Next, open a workspace in Squeak and run:
(Installer ss)
project: 'SqueakSSL';
install: 'SqueakSSL-Core';
install: 'SqueakSSL-Tests'.
This will install the appropriate Squeak classes necessary to access to plugin. This should be everything you need to do.
If it doesn't work, try checking the output of:
Smalltalk listLoadedModules
The SSL plugin should be listed after you tried running a test. If the plugin is listed, but the tests still fail it's probable that something -- either the Smalltalk classes or the binary plugin -- is outdated.