Changeset 789
- Timestamp:
- Oct 10, 2010, 9:39:23 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/README.OS2
r788 r789 60 60 http://www.os2site.com/sw/util/archiver/lxlt133.zip 61 61 62 - eCUPS 1.3.11 or later to support printing in Qt. The eCUPS WPI is available 63 from: 64 65 ftp://ftp.netlabs.org/incoming/eCUPS003.wpi or 66 ftp://ftp.netlabs.org/pub/ecups/eCUPS003.wpi 62 - CUPS 1.3.11 or later to support printing in Qt. The CUPS libraries are 63 available at: 64 65 http://download.smedley.info/cups-1.3.11-os2-20090807.zip 67 66 68 67 Linking against eCUPS also requires pthread.lib: … … 78 77 or 79 78 79 http://bauxite.sakura.ne.jp/tmp/os2/openssl-1.0.0a-os2knix-20100706-runtime.zip 80 80 http://bauxite.sakura.ne.jp/tmp/os2/openssl-1.0.0a-os2knix-20100706-dev.zip 81 http://bauxite.sakura.ne.jp/tmp/os2/openssl-1.0.0a-os2knix-20100706-runtime.zip82 81 83 82 … … 157 156 that the Qt library depends on: 158 157 159 - Install the eCUPS WPI archive to enable printing support. If this WPI is 160 installed, the Qt build system will pick up all necessary libraries 161 automatically. Otherwise (e.g. if you use a ZIP or build eCUPS yourself), 162 you will need to use the following environment variables to tell it where to 163 look for CUPS: 164 165 set CUPS_INCLUDEPATH=X:\Path\to\CUPS\include 166 set CUPS_LIBS=X:\Path\to\CUPS\lib\libcups.a 167 168 You will also need to make sure that pthread.lib is placed somewhere in your 169 system library path so that the compiler can find it. 158 - Unzip the CUPS libraries to some directory and set the following environment 159 variables to tell the Qt configure script its location: 160 161 set CUPS_INCLUDEPATH=X:\<path_to_CUPS>\include 162 set CUPS_LIBS=-LX:\<path_to_CUPS>\lib -llibcups.a -L<path_to_pthread> -lpthread.lib 170 163 171 164 - Unzip the OpenSSL libraries to some directory and set the following -
trunk/configure.cmd
r788 r789 600 600 G.CUPS_INCLUDEPATH = GetEnv('CUPS_INCLUDEPATH') 601 601 G.CUPS_LIBS = GetEnv('CUPS_LIBS') 602 if (G.CUPS_INCLUDEPATH == '' & G.CUPS_LIBS == '') then do603 /* Check if eCUPS WPI is installed */604 call GetPkgVersionAndPath 'Peter Brown\CUPS\CUPS', 'G.CUPS'605 if (G.CUPS.version \== '') then606 call SayVerbose 'eCUPS version 'G.CUPS.version' is detected in "'G.CUPS.path'"'607 else608 call SayVerbose 'eCUPS is not found.'609 if (G.CUPS.version >= "1.3.11") then do610 G.CUPS.path = FixDirNoSlash(G.CUPS.path)'\cups';611 G.CUPS_INCLUDEPATH = G.CUPS.path'\include'612 G.CUPS_LIBS = '-L'G.CUPS.path'\lib libcups.a pthread.lib'613 end614 else615 call SayVerbose 'eCUPS version is not supported.'616 drop G.CUPS.617 end618 602 if (G.CUPS_INCLUDEPATH \== '' & G.CUPS_LIBS \== '') then do 619 603 call SayVerbose 'CUPS include path : 'G.CUPS_INCLUDEPATH
Note:
See TracChangeset
for help on using the changeset viewer.