|
Hi
I would like to shift my entire workflow from Kate to KDevelop4. But I am facing a lot of issues. Like, I don't have permission to "install" stuff from KDevelop. Debugging doesn't work, always gives me a seg fault. So if someone works on 'digikam-software-compilation' totally from KDevelop, kindly guide me to set it up properly.
Smit Mehta
Final year, B.TechComputer Science and Engineering IIT Madras +91-9884996531 || http://www.smitmehta.com _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
Kdevelop is pretty cool to use because of it's code parser and search options.
I don't use all it's options, but it allows you to open a konsole and you can install from it. the same thing for gdb. But beware: KDevelop tends to add random and very strange includes: stuff from boost, or "x11fix.h" that will compile fine on your computer, but won't compile on windows or mac. Double check your code before commiting something. On Wed, Aug 7, 2013 at 10:41 AM, smit <[hidden email]> wrote: > Hi > > I would like to shift my entire workflow from Kate to KDevelop4. But I am > facing a lot of issues. Like, I don't have permission to "install" stuff > from KDevelop. Debugging doesn't work, always gives me a seg fault. So if > someone works on 'digikam-software-compilation' totally from KDevelop, > kindly guide me to set it up properly. > > Smit Mehta > Final > year, B.Tech > Computer Science and Engineering > IIT Madras > +91-9884996531 || http://www.smitmehta.com > > _______________________________________________ > Digikam-devel mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-devel > Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Smit Mehta
Hi,
2013/8/7 smit <[hidden email]>: > I would like to shift my entire workflow from Kate to KDevelop4. But I am > facing a lot of issues. Like, I don't have permission to "install" stuff > from KDevelop. Debugging doesn't work, always gives me a seg fault. So if > someone works on 'digikam-software-compilation' totally from KDevelop, > kindly guide me to set it up properly. I am using KDevelop to work on digiKam and Kipi, and It's really wonderful ;o) I guess the problem with the install is that it tries to do a "make install" with the default options, which may be to install in /usr/local or /usr. You need to be root to do that. In Project -> Configuration -> Make, you should have the option to install as root (which I never tried). If you want to change that, you can configure the CMake options, in Project -> Configuration -> CMake. You can click on the "+" button to add a target and set the build directory and at the bottom the options to pass to cmake. You will find options in the digikam-sc/bootstrap.* (especially bootstrap.local where the root directory for the installation is changed). Unfortunately, I haven't found a way to change the CMake options of a build from within digiKam (it's possible to do it by modifying the configuration files of the project in .kdev4 of your project root directory, but doing so may require to remove the build directory for a fresh recompilation). I'm not using debugging, so I cannot help you with that, sorry. About the includes added by KDevelop Veaceslav was talking about, it's mostly when the parser cannot find an object, and find another one in the system directories. First of all, if the project is compiled it helps removing most of those unresolved object from KDevelop parser (hit F5 on a file already opened if something is not found by the parser after compilation, it will trigger the parsing again). If this is not enough, KDevelop does not add the includes without telling you, you just have not to hit "Enter" when a popup suggesting the addition of the include appears. Welcome to digiKam development with KDevelop ;o) -- Benjamin. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Smit Mehta
On Wed, Aug 7, 2013 at 1:41 PM, smit <[hidden email]> wrote:
Kinda off-topic, but I would totally recommend you to use QtCreator for working on digikam. I use gVim(with clang autocomple) for non-qt projects and QtCreator for qt based projects. I tried with KDevelop, but QtCreator is much faster, very ease to use a has a pretty good autocompletion and has very good support for cmake.
Victor. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
On Wed, Aug 7, 2013 at 2:26 PM, Victor Dodon <[hidden email]> wrote:
I forgot to add that is very easy to debug. Even if it uses gdb, the debugging is very similar to the way is done in MS Visual Studio. Victor. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
Thanks a lot guys. I will check out Qt Creator as well. :-)
Smit Mehta Final year, B.Tech Computer Science and Engineering IIT Madras +91-9884996531 || http://www.smitmehta.com On Wed, Aug 7, 2013 at 11:29 AM, Victor Dodon <[hidden email]> wrote:
_______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
| Free forum by Nabble | Edit this page |
