Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a kdevelop version that i can install on windows?

is there any other than using Cygwin? thanks!

like image 563
craftace Avatar asked Aug 18 '11 02:08

craftace


People also ask

Is KDevelop free?

KDevelop is a free and open-source integrated development environment (IDE) for Unix-like computer operating systems and Windows.

Is KDevelop open-source?

Free of Charge, Open Source KDevelop is available free of charge and is licensed under the GNU GPL.

How good is KDevelop?

KDevelop is an open-source, free cross-platform IDE that supports various programming languages. It's an environment that allows programmers to work on their projects uninterrupted no matter how small or large they are. It features a smart code editor interface with built-in semantic code analysis.

How do I use KDevelop?

Step: Create a new project with help of the KDevelop Application Wizard. Use the project type Terminal C or Terminal C++. 2. Step: Edit your source code files with the KDevelop editor and run the build process over the menu items.


2 Answers

I've installed kdevelop on win7, using emerge: http://techbase.kde.org/Getting_Started/Build/Windows/emerge.

To get it all working is a pain in the ass, mostly because there is no guide.


Here is how I did it:

  • Install python and git.

  • Create a directory where you want to install kde. Name it kde4, i.e. C:\kde4. This is futher called %KDEROOT%.

  • Go to %KDEROOT%, using cd %KDEROOT%.

  • Run

    git clone git://anongit.kde.org/emerge.git
    

    in this directory.

  • Make directory %KDEROOT%\etc.

  • Copy from %KDEROOT%\emerge\kdesettings-example.bat to %KDEROOT%\etc\kdesettings.bat, and change settings as preferred.

  • Run:

    cd emerge && git checkout kde-4.7
    

    then go to %KDEROOT%\emerge and run kdeenv.bat.

    This will open a new window. Here you can start the building of kde.

  • Run emerge qt, emerge kdelibs, emerge kde-baseapps, emerge kdevelop and emerge kdevelop-pg-qt.

    This will take a while.

  • Now you need to make two bat files in the %KDEROOT%\bin directory.

    The first should be called kbuildsycoca4.bat and contain:

    @ECHO OFF
    
    ECHO Initialize KDE environment
    SET KDEROOT=%~dsp0\..
    SET KDEBIN=%KDEROOT%\bin
    SET KDELIB=%KDEROOT%\lib
    SET KDELIB_KDE4=%KDELIB%\kde4
    SET KDESHARE=%KDEROOT%\share
    SET KDESHARE_KDE4=%KDESHARE%\kde4
    SET KDEDEV_UTILS=%KDEROOT%\dev-utils
    SET GIT_LOC=%KDEDEV_UTILS%\git\bin
    SET SVN_LOC=%KDEDEV_UTILS%\svn\bin
    SET PYTHONPATH=C:\Users\Public\Programs\Python27\App <-- This is only nessecary if     it is not in your environment
    
    SET PATH=%PATH%;%GIT_LOC%;%SVN_LOC%
    SET KDEDIRS=%KDEROOT%;%KDEBIN%;%KDELIB%;%KDESHARE%;%KDEDEV_UTILS%;%KDELIB_KDE4%;%KDESHARE_KDE4%
    SET kbuildsycoca4_binary=%KDEBIN%\kbuildsycoca4.exe
    
    ECHO Running kbuildsycoca4
    :run
    CALL  "%kbuildsycoca4_binary%"
    CALL  "%kbuildsycoca4_binary%" --noincremental
    CALL  "%kbuildsycoca4_binary%" --checkstamps
    pause
    

    and the second one should be called kdevelop.bat and contain:

    @ECHO OFF
    
    ECHO Initialize KDE environment
    SET KDEROOT=%~dsp0\..
    SET KDEBIN=%KDEROOT%\bin
    SET KDELIB=%KDEROOT%\lib
    SET KDELIB_KDE4=%KDELIB%\kde4
    SET KDESHARE=%KDEROOT%\share
    SET KDESHARE_KDE4=%KDESHARE%\kde4
    SET KDEDEV_UTILS=%KDEROOT%\dev-utils
    SET GIT_LOC=%KDEDEV_UTILS%\git\bin
    SET SVN_LOC=%KDEDEV_UTILS%\svn\bin
    SET PYTHONPATH=C:\Users\Public\Programs\Python27\App <-- This is only nessecary if it is not in your environment
    
    SET PATH=%PATH%;%GIT_LOC%;%SVN_LOC%
    SET KDEDIRS=%KDEROOT%;%KDEBIN%;%KDELIB%;%KDESHARE%;%KDEDEV_UTILS%;%KDELIB_KDE4%;%    KDESHARE_KDE4%
    SET kdev_binary=%KDEBIN%\kdevelop.exe
    
    ECHO Starting kdevelop
    :run
    CALL  "%kdev_binary%"
    

Now it should run.

I still have trouble with the kDevCmakeManager plugin and the source formatter settings under settings->kdevelop settings->source formatter. It crashes then.

like image 177
Mischa Vreeburg Avatar answered Oct 29 '22 01:10

Mischa Vreeburg


KDevelop core developer here.

KDevelop 5 is now available for Windows, head over to: https://www.kdevelop.org/download

like image 41
kfunk Avatar answered Oct 29 '22 00:10

kfunk