Q... Windows Edition
Compile Instructions:
Packages:

Borland free compiler Compiling instructions

This page gives you some instructions how to compile the Q... port with the free borland compiler.

Requirements

  • Windows NT, 2000 or XP (it has not been tested on Windows 9.x)
  • A svn client for svn checkouts (for example Subversion or TortoiseSVN)
  • The free borland compiler

Install the Borland compiler

Get the Q... sources

  • by downloading a Qt 3 source snapshot from the qtwin download area
  • or from the svn repository (qtwin.svn.sourceforge.net)

    checkout the sources with

    c:\source>  svn co https://qtwin.svn.sourceforge.net/svnroot/qtwin/qt-3/trunk qt-3

Compiling Qt with command line tools

  • Open a cmd shell
  • Setup Qt environment
    c:\source> set QTDIR=< qt3 source root >
    c:\source> set BCB=< Borland installation path > for example c:\Borland\bcc55
    c:\source> set PATH=%QTDIR%\bin;%BCB%\bin;%PATH%
    c:\source> set QMAKESPEC=win32-borland
    
  • Configure and build the source
    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 unter Unix/Linux. After that, qmake.exe is build and the compilation gets started.
    c:\source> cd < qt3 source root >
    c:\source\qt-3> configure.bat [-fast] [-verbose]

    configure knows some of the parameters of the x11 release configure script like -fast or -verbose.
    For a full list see bin\configure.exe -help.

    This should build the whole Qt release. If it breaks you can restart compiling with

    c:\source\qt-3> make [< target >]

    for a list of all available targets see the toplevel Makefile

  • Start Qt applications
    
    c:\source\qt-3> designer
    c:\source\qt-3> assistant
    c:\source\qt-3> linguist
    c:\source\qt-3> cd tutorial\t1
    c:\source\qt-3\tutorial\t1> t1

Borland Notes

  • The free Borland 5.5 Compiler seems to have a bug when compiling with stl support (see here).
    A quick solution is to disable stl support with 'configure -no-stl'
 
Prev:LinksNext:Cygwin

Hosted by SourceForge