is there any other than using Cygwin? thanks!
KDevelop is a free and open-source integrated development environment (IDE) for Unix-like computer operating systems and Windows.
Free of Charge, Open Source KDevelop is available free of charge and is licensed under the GNU GPL.
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.
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.
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.
KDevelop core developer here.
KDevelop 5 is now available for Windows, head over to: https://www.kdevelop.org/download
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With