Changeset 983 for trunk/README.OS2
- Timestamp:
- Aug 15, 2011, 2:57:00 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/README.OS2
r957 r983 56 56 script (discussed in section "COMPILING QT" below) will automatically disable 57 57 the corresponding feature: 58 59 - Perl 5.8.2 or above. This is required if you want to perform a shadow build 60 of the Qt library (which is a recommended way to go). Please refer to 61 section "COMPILING QT" for more information about shadow builds. Recent 62 builds of Perl for OS/2 are available here: 63 64 http://os2ports.smedley.info/index.php?page=perl 58 65 59 66 - MAPSYM 4.00.000 (Oct 4 2001) to enable generation of symbol (.SYM) files for … … 232 239 libraries) and proceed directly to the next section. 233 240 234 When the environment is set up, go to the directory where you unpacked the 235 Qt4 source tree and type: 236 237 configure.cmd 238 239 This will set up the Qt library (by creating necessary configuration and include 240 files and a bunch of Makefiles for variuos components) and build the qmake tool. 241 242 The next step is to type: 243 244 make 245 246 This will compile and link the Qt library. Note that by default both the release 247 and the debug version of the library are built (please be patient, it may take 248 quite some time depending on your hardware). The release and debug libraries can 249 co-exist in the same source tree and may be used in parallel: all the debug DLLs 250 get a 'd' letter in their name preceeding the Qt major version number and use 251 separate directories for object files. 252 253 To save time, you may build the release and the debug versions of the Qt library 254 separately by typing 'make release' or 'make debug' accordingly instead of just 255 'make'. 241 When the environment is set up as described above, you may build the Qt library. 242 There are two distinct ways of doing this: in the source tree or in a separate 243 directory of your choice. In the first case, all results of the build process 244 (intermediate object files as well as final executables and DLLs) will be placed 245 right in the source tree. In the second case, they will be placed in the 246 separate directory -- this is called a shadow build. 247 248 Shadow builds are the recommended way to go because they keep the source 249 directories clean and also allow to use the same source tree for creating any 250 number of builds, each with its own build options. 251 252 To perform a shadow build, do the following steps: 253 254 1. Create a directory outside the Qt4 source tree. 255 256 2. Go to that directory. 257 258 3. Type: 259 260 <source_tree>\configure.cmd 261 262 where <source_tree> is the directory containing the Qt4 source tree. This 263 will create all necessary configuration files, headers, Makefiles and will 264 also build the qmake tool which is necessary to control the rest of the 265 build process (note that building qmake will take some time). 266 267 4. Once the configure process is finished, type: 268 269 make 270 271 Note that by the default the shadow build will produce the release version of 272 the Qt library. This may be changed by passing command line options to 273 configure.cmd at step 3. 274 275 To perform a normal build, you execute 'configure.cmd' followed by 'make' right 276 in the directory containing the Qt4 source tree. The default in this case is to 277 build both the debug and release versions of the Qt library. 278 279 Please keep in mind that in case of the dual debug and release build (where both 280 flavors are stored in the same build directory), only DLL and LIB files will be 281 separated (because the debug versions of them will have the 'd' suffix in the 282 file name). Executable files are normally taken from the release build but, 283 since the file names are identical, sometimes they may be overwritten by the 284 debug versions (e.g. when you rebuild parts of the library later). For this 285 reason, performing dual builds is not recommended. 286 287 The Qt library is huge so the build process will take several hours (or even 288 several dozen of hours) depending on your hardware and configure options. 256 289 257 290 Once the library is successfully built, you may try to compile the demos and 258 291 examples by visiting the individual example subdirectories in the source tree 259 and typing 'qmake' followed by one of 'make', 'make release' or 'make debug' 260 in that subdirectory. 292 and typing 'qmake' followed by 'make'. 261 293 262 294 NOTE:
Note:
See TracChangeset
for help on using the changeset viewer.