Qt Runtime Libraries ${version} (${date}) rc = rxFuncAdd('SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs') rc = SysLoadFuncs() ret = SysBootDrive()'\OS2\DLL' bestPath = SysBootDrive()'\ecs\dll' config_sys = SysBootDrive()'\config.sys' do while lines(config_sys) line = linein(config_sys) if (left(line, 8) == 'LIBPATH=') then do /* locate the previous occurence of path */ libpath = translate(substr(line, 9)) path = translate(bestPath) l = length(path) found = 0; p = 1 do while (\found) p = pos(path, libpath, p) if (p == 0) then leave cb = ''; ca = '' /*<*/ if (p > 1) then cb = substr(libpath, p - 1, 1) if (p + l <= length(libpath)) then ca = substr(libpath, p + l, 1) /*>*/ found = (cb == '' | cb == ';') & (ca == '' | ca == ';') if (\found) then p = p + 1 end if (found) then do ret = bestPath leave end end end return ret rc = rxFuncAdd('SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs') rc = SysLoadFuncs() ret = SysBootDrive()'\OS2\DOC' bestPath = SysBootDrive()'\ecs\DOC' curDir = directory() if (directory(bestPath) \== '') then ret = bestPath call directory curdir return ret rc = rxFuncAdd('SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs') rc = SysLoadFuncs() ret = SysBootDrive()'\OS2\APPS' bestPath = SysBootDrive()'\ecs\SYSTEM' curDir = directory() if (directory(bestPath) \== '') then ret = bestPath call directory curdir return ret ver = GetPkgVersion('netlabs.org\Qt4\Runtime') call WirexxPutEnv 'Qt4RuntimePkgVersion', ver if (ver == '') then return 4 return 6 /* same as below... */ GetPkgVersion: procedure parse arg aPkgId rc = rxFuncAdd('SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs') rc = SysLoadFuncs() ver = '' WarpInDir = strip(SysIni('USER', 'WarpIN', 'Path'), 'T', '0'x) if (WarpInDir \== '') then do rc = SysFileTree(WarpInDir'\DATBAS_?.INI', 'inis', 'FO') if (rc == 0) then do do i = 1 to inis.0 rc = SysIni(inis.i, 'ALL:', 'apps') if (rc == '') then do do j = 1 to apps.0 apps.j = strip(apps.j, 'T', '0'x) if (left(apps.j, length(aPkgId)) == aPkgId) then do /* found the app */ ver = right(apps.j, length(apps.j) - length(aPkgId) - 1) ver = translate(ver, '.', '\') leave end end end end end end return ver return WirexxGetEnv('Qt4RuntimePkgVersion') parse arg aPkgIdUtf8', 'aPkgIdLocal ver = GetPkgVersion(aPkgIdUtf8) if (ver == '') then return 'Unable to determine the installation path' return '$('aPkgIdLocal')' /* same as above... */ GetPkgVersion: procedure parse arg aPkgId rc = rxFuncAdd('SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs') rc = SysLoadFuncs() ver = '' WarpInDir = strip(SysIni('USER', 'WarpIN', 'Path'), 'T', '0'x) if (WarpInDir \== '') then do rc = SysFileTree(WarpInDir'\DATBAS_?.INI', 'inis', 'FO') if (rc == 0) then do do i = 1 to inis.0 rc = SysIni(inis.i, 'ALL:', 'apps') if (rc == '') then do do j = 1 to apps.0 apps.j = strip(apps.j, 'T', '0'x) if (left(apps.j, length(aPkgId)) == aPkgId) then do /* found the app */ ver = right(apps.j, length(apps.j) - length(aPkgId) - 1) ver = translate(ver, '.', '\') leave end end end end end end return ver /* makes sure the package is selected only if the prerequisite is present */ parse arg aPkgId ver = GetPkgVersion(aPkgId) if (ver == '') then return '' return 'SELECT' /* same as above... */ GetPkgVersion: procedure parse arg aPkgId rc = rxFuncAdd('SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs') rc = SysLoadFuncs() ver = '' WarpInDir = strip(SysIni('USER', 'WarpIN', 'Path'), 'T', '0'x) if (WarpInDir \== '') then do rc = SysFileTree(WarpInDir'\DATBAS_?.INI', 'inis', 'FO') if (rc == 0) then do do i = 1 to inis.0 rc = SysIni(inis.i, 'ALL:', 'apps') if (rc == '') then do do j = 1 to apps.0 apps.j = strip(apps.j, 'T', '0'x) if (left(apps.j, length(aPkgId)) == aPkgId) then do /* found the app */ ver = right(apps.j, length(apps.j) - length(aPkgId) - 1) ver = translate(ver, '.', '\') leave end end end end end end return ver Contains Qt runtime libraries. This package is required Contains installation utilities. This package is required. The installation directory of this package serves as a base directory for all other Qt packages except Runtime Contains standard Qt plugins. This package is required Contains translations of the Qt runtime. This package is recommended Provides support for the system tray to Qt applications. This package is recommended Contains the readme files and license agreements Welcome to the Qt 4 Runtime Installation Program! Please read through the following pages by pressing "Next" to continue or press "Cancel" to abort the installation. Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code. You can find more information about Qt at http://qt.nokia.com/.

This package contains the Qt runtime libraries necessary to run applications created using the Qt framework versoin 4.

Please visit http://svn.netlabs.org/qt4/ to learn more about the OS/2 version of the Qt framework, get the latest news and updates.

Qt framework is Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).

OS/2 version of the Qt library is Copyright (C) 2009 netlabs.org.

You may use the Qt framework version 4 under the following licenses that are both free of charge: Qt GNU LGPL v. 2.1 or Qt GNU GPL v. 3.0. Please read the Qt GNU LGPL v. 2.1 license agreement and then press "Next" to read the Qt GNU GPL v. 3.0 license. More information about Qt licensing models is available at http://qt.nokia.com/products/licensing/ LICENSE.LGPL ~I agree Please read the Qt GNU GPL v. 3.0 license agreement now. By pressing the "I agree" button, you agree to all terms and conditions to either the below license agreement or to the license agreement shown on the previous page, or to both. LICENSE.GPL3 Please select the packages which are to be installed. Note that most package installation paths use the system directories and cannot be changed. I~nstall Press "Install" to begin installing the Qt 4 Runtime Libraries. If you selected the Extended System Tray widget package for isntallation then you will need to add this widget to your XCenter or eCenter after the installation is complete to make it available to Qt applications. To do so, restart XCenter and select "Create new widget" > "Extended system tray" from the XCenter context menu. ~Next A different version of the Qt 4 Runtime Libraries is installed on this computer (=("GetQt4RuntimePkgVersion")). This version cannot be installed over the existing one. You must uninstall the currently installed version first and then retry the installation. Please press the "Cancel" button now, then start the WarpIn utility and uninstall the currently installed version. You can start the WarpIn utility through the Programs menu (Desktop > Local System > Install/Remove > WarpIn > WarpIn) or by typing "warpin" on the command line. Note: Having two or more different versions of the Qt 4 Runtime Libraries installed together is not supported, but if you really need it and understand all the risks, please use the ZIP installation packages instead.