Q... Windows Edition
Compile Instructions:
Packages:

Cygwin Compiling instructions

This page gives you some instructions how to compile the Q... which gcc using the Cygwin environment.

  1. install at least the following packages:
    - svn
    - make
    - binutils (>20030307)
    - zlib
    - jpeg
    - libpng2
    - libpng12-devel
    - flex
    - byacc
    - cygipc
    - gcc 3.x
  2. get Q... sources
    • from the svn repository (from svn.qtwin.sourceforge.net)

      checkout the sources with

      c:\source>  svn co https://qtwin.svn.sourceforge.net/svnroot/qtwin/qt-3/trunk qt-3
  3. Open a bash shell
  4. Prepare configuring (this creates the links in the include directory)
    cd < qt-src-dir >
    make -f Makefile.cvs
     
  5. Configure Qt
    $ cd < qt-src-dir >
    $ export QTDIR=$PWD
    $ . config.cygwin[-thread]
     

    Add -thread to build a Qt library with threading support, which is required for KDE.

  6. Build Qt
    $ make
     
  7. Create symbolic link from the to /opt/qtwin/3.3
    
    $ ln -s < qt-src-dir > /opt/qtwin/3.3
     
  8. Add the environment settings to /etc/profile.d/qt3-win32.sh
    $ cat >/etc/profile.d/qt3-win32.sh
    export QTDIR=/opt/qtwin/3.3
    export PATH=$QTDIR/bin:$PATH
    export MANPATH=$MANPATH:$QTDIR/doc/man
     
    Press ENTER & CTRL-D to stop the cat command.
  9. Reread profile
    
    $ . /etc/profile
     
  10. enter Qt base directory
    $ cd /opt/qtwin/3.3
     
  11. Start Qt applications
    $ designer
    $ assistant
    $ linguist
    $ cd tutorial/t1
    $ t1 &
     

Cygwin Notes

  • Using recent cygwin linker seems to results in a segment violation problem. We like to get more informations about this issue to fix the problem.
 
Prev:BorlandNext:MinGW

Hosted by SourceForge