|
|
|
Cygwin Compiling instructions
This page gives you some instructions how to compile the Q... which gcc using the Cygwin environment.
- install at least the following packages:
- svn
- make
- binutils (>20030307)
- zlib
- jpeg
- libpng2
- libpng12-devel
- flex
- byacc
- cygipc
- gcc 3.x
- get Q... sources
- Open a bash shell
- Prepare configuring (this creates the links in the include directory)
cd < qt-src-dir >
make -f Makefile.cvs
- 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.
- Build Qt
$ make
- Create symbolic link from the to /opt/qtwin/3.3
$ ln -s < qt-src-dir > /opt/qtwin/3.3
- 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.
- Reread profile
$ . /etc/profile
- enter Qt base directory
$ cd /opt/qtwin/3.3
- 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.
|