<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>thanks ... i am trying it.. i would like to try 
borland too in devcpp because it's quicker too compile...</FONT></DIV>
<DIV><FONT face=Arial size=2>have any body experiment it ?</FONT></DIV>
<DIV><FONT face=Arial size=2>kind regards</FONT></DIV>
<DIV><FONT face=Arial size=2>Henri</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=syntheticpp@gmx.net href="mailto:syntheticpp@gmx.net">Peter 
  Kümmel</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=kde-cygwin@kde.org 
  href="mailto:kde-cygwin@kde.org">For developers interested in porting KDE to 
  Windows using Cygwin</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, February 13, 2005 4:31 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Dev-C++ compile 
  instructions</DIV>
  <DIV><BR></DIV>Here are instructions for Dev-C++.<BR>Regards,<BR>Peter<BR>
  <P>
  <HR>

  <P></P>
  <H2>Dev-C++ 5 compiling instructions</H2>
  <P>This page gives you some instructions how to compile Qt3/Win Free with 
  Dev-C++.</P>
  <H3>Requirements</H3>
  <UL>
    <LI>Windows NT, 2000 or XP (it has not been tested on Windows 9.x) 
    <LI>MinGW 
    <LI>Dev-C++ 5 
    <LI>Qt-3/Win Free sources </LI></UL>
  <H3>Installing Dev-C++ already containing MinGW</H3>
  <UL>
    <LI>Download Dev-C++ 5 with Mingw/GCC (7.6MB only!) from <A 
    href="http://www.bloodshed.net/dev/devcpp.html" 
    target=_blank>www.bloodshed.net/dev/devcpp.html</A>. 
    <LI>Install Dev-C++ 5, do not enable 'Class Browsing', if you are ask for 
    <LI>or disable 'Class Browsing' in the menu 'Tools/Editor Options' </LI></UL>
  <H3>Installing Dev-C++ and MinGW seperate</H3>
  <UL>
    <LI>Download and install the latest full MinGW Package from <A 
    href="http://www.mingw.org/download.shtml">http://www.mingw.org</A> - 
    currently this is <A 
    href="http://prdownloads.sourceforge.net/mingw/MinGW-3.2.0-rc-3.exe?download">MinGW-3.2.0-rc-3.exe</A>.<BR>If 
    you don't want to download 50MB, you need at least the binaries of 
    <B>gcc-core</B>, <B>gcc-g++</B>, <B>w32api</B>, <B>mingw-runtime</B>, 
    <B>binutils</B>, <B>gdb</B>, <B>mingw32-make</B> (7 files, 19MB) 
    <LI>Download 'Dev-C++ 5 executable only' from <A 
    href="http://www.bloodshed.net/dev/devcpp.html" 
    target=_blank>www.bloodshed.net/dev/devcpp.html</A> (2.1 MB). 
    <LI>Install Dev-C++ 5, do not enable 'Class Browsing', if you are ask for 
    <LI>or disable 'Class Browsing' in the menu 'Tools/Editor Options'. 
    <LI>add your MinGW\bin path to Dev-C++ in 'Tools/Compiler 
    Options/Directories' or add your MinGW\bin path to the PATH variable. 
  </LI></UL>
  <H3>Get the Qt3/Win Free sources</H3>
  <UL>
    <LI>by downloading a Qt-3 source snapshot from the <A 
    href="http://webdev.cegit.de/snapshots/kde-cygwin/qt/" 
    target=_blank>KDE-Cygwin snapshot area</A> (13.8MB). 
    <LI>or from the cvs repository: 
    <P>first connect to the cvs server</P><PRE class=shell>C:\source&gt; cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/kde-cygwin login</PRE>enter 
    empty password<BR>then checkout the sources with <PRE class=shell>C:\source&gt; cvs -z6 -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/kde-cygwin co -r QT_WIN32_3_3_BRANCH qt-3</PRE>Later 
    you can update the sources by <PRE class=shell>C:\source\qt-3&gt; cvs -z6 update</PRE>or if you only what 
    to update the 'src' directory (up is short for update) <PRE class=shell>C:\source\qt-3\src&gt; cvs -z6 up</PRE></LI></UL>
  <H3>Generating essential tools and files</H3>
  <UL>
    <LI>Open a cmd shell 
    <LI>Setup Qt and MinGW environment, e.g. Qt in 'C:\source\qt-3', and MinGW 
    in 'C:\Programs\MinGW' or C:\Program\Dev-Cpp (please adjust the paths to 
    your needs) <PRE class=shell> C:\source&gt; set QTDIR=C:\source\qt-3
 C:\source&gt; set MINGW=C:\Programs\MinGW
 C:\source&gt; set PATH=%QTDIR%\bin;%MINGW%\bin;%PATH%
 

<LI>Build essential tools by command line<BR>

The script first creates link_includes.exe and configure.exe which are
needed for bootstrap the build process. link_includes copies all
relevant Qt-headers into the include-directory. configure.exe is the
replacement for the ./configure-script under Unix/Linux. After that,
qmake.exe and moc.exe is build.
<PRE class=shell>C:\source&gt; cd C:\source\qt-3
C:\source\qt-3&gt;configure-mingw.bat -debug 
</PRE>
 <P>For a full list of options see bin\configure.exe -help.</P> 
  <LI><P>Stop the compilation if it has finished building 'qt-3\bin\qmake.exe'</P>  
 

 <LI>Generating Dev-C++ importable files<BR>
 Build *.dsp files which could be imported by Dev-C++ with
 <PRE class=shell>C:\source\qt-3&gt; set QMAKESPEC=win32-msvc -debug
C:\source\qt-3&gt; bin\configure.exe</PRE>
and also generate Makefiles for the special Qt build process by calling again:
 <PRE class=shell>C:\source\qt-3&gt;configure-mingw.bat -debug</PRE>

<LI> <P>Break if it has finished building moc and close the cmd shell. </P>
 
</LI></PRE></LI></UL>
  <H3>Using Dev-C++</H3>
  <P>For all Qt project use this procedure: </P>
  <UL>
    <LI>Open Dev-C++ and import the *.dsp file by the menu function 
    'File/Import' (e.g. 'qt-3\examples\hello\hello.dsp') 
    <LI>Enable 'Use custom Makefile' in 'Project/Project Options/Makefile' and 
    choose 'Makefile' in the folder of your project (e.g. 
    'qt-3\examples\hello\Makefile') </LI></UL>
  <H3>Compiling the Qt libraries</H3>You must compile both *.dsp files in the 
  'qt-3\src' folder. 
  <H2>Dev-C++ 5 Notes</H2>
  <UL>
    <LI>MinGW does not work within a cygwin shell or with sh.exe in your search 
    path. You must remove cygwin\bin from your PATH or temporary rename your 
    cygwin folder. 
    <LI>After closing Dev-C++, next time opening a project sometimes it can't 
    find the Makefile any more, just select it once again. </LI></UL>
  <UL></UL>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>kde-cygwin mailing 
  list<BR>kde-cygwin@kde.org<BR>https://mail.kde.org/mailman/listinfo/kde-cygwin<BR></BLOCKQUOTE></BODY></HTML>