Q... Windows Edition
Compile Instructions:
Packages:

Visual C++ 6.0 compiling instructions

Requirements

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 Q.. with command line tools

  • Open a cmd shell
  • Setup your compiler environment (The path below is an example an may be changed to reflect your settings).
    c:\source> "c:\Programme\Microsoft Visual Studio\VC98\bin\VCVARS32.BAT"
  • Setup Q.. environment
    c:\source> set QTDIR=< qt3 source root >
    c:\source> set PATH=%QTDIR%\bin;%PATH%
    c:\source> set QMAKESPEC=win32-msvc
  • 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> nmake [< target >]

    for a list of all available targets see the toplevel Makefile

  • Start Q.. 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

Visual C++ 6.0 Notes

  • You will need the latest platform SDK for MSVC6 available from here (core SDK should be enough)
  • Start command line from platform sdk (Open Build Environment Window->Windows 2000 Build Environment->Set Windows 2000 Build Environment (Debug)
  • The Visual C++ 6.0 IDE does not like dots in file path
  • Do not use spaces in the Qt source path, it will produce weired results
  • At least Service Pack 6 for Visual Studio is required, otherwise compiling may be hang in case of errors.
  • After installing Visual Studio Service Pack 6 you will find that incremental linking doesn't work anymore (actually it would have worked without). To fix that you have to replace the newly updated link.exe with the old link.exe which you find uncompressed as vc98\bin\link.exe on your Visual C++ CD-ROM.
    With incremental linking enabled and working linking time goes down from about 10 Minutes to roughly 30 Seconds.
 
Prev:MinGWNext:MS Visual Studio NET

Hosted by SourceForge