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() 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, '.', '\') return ver end end end end end end return '' return WirexxGetEnv('Qt4RuntimePkgVersion') call WirexxShowMessage , 'Qt 4 Runtime: Warning',, 'IMPORTANT NOTICE:', ||'0D0A'x||'0D0A'x, ||'If you have another version of the Qt 4 Runtime package installed on', 'your computer, *PLEASE* cancel this installation now and uninstall', 'the previous version first! Upgrading the existing Qt 4 installation', 'is currently *NOT SUPPORTED*.', ||'0D0A'x||'0D0A'x, ||'The previous version of the Qt 4 Runtime package may be uninstalled', 'using the WarpIn utility which you can start through the Programs menu', '(Desktop > Local System > Install/Remove > WarpIn > WarpIn) or by', 'typing "warpin" in the command prompt.', ||'0D0A'x||'0D0A'x, ||'Please note that some Qt files may still remain in your system after', 'uninstallation and interfere with the new install. In order to avoid possible', 'problems, please search for the following files on a drive where Qt 4', 'was previously installed and delete them if found:'||'0D0A'x||'0D0A'x, ||'- Qt*4.dll'||'0D0A'x, ||'- qt*.conf'||'0D0A'x, ||'0D0A'x, ||'Sorry for the inconvenience, it is mostly caused by various', 'limitations of WarpIn. The next version of Qt 4 for OS/2 will be', 'distributed in RPM format which will solve most current installation', 'problems. See http://svn.netlabs.org/rpm for more information about', 'RPM for OS/2.'||'0D0A'x||'0D0A'x,, 1 if (result == 2) then call WirexxCancel return '' Contains installation utilities. This package is required Contains Qt runtime libraries. This package is required Contains standard Qt plugins. This package is required Contains translations of the Qt runtime. This package is recommended <${disable_tag_begin}PCK INDEX=5 PACKAGEID="netlabs.org\Qt4\SysTray\${version_path}" TITLE="Extended System Tray widget for XCenter" SELECT REQUIRES="2" REQUIRES="Ulrich M”ller\XWorkplace\Kernel\0\9\9" TARGET="$(Ulrich M”ller\XWorkplace\Kernel)" FIXED LONGFILENAMES >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. <${disable_tag_begin}PAGE INDEX=5 TYPE=TEXT> 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. <${enable_tag_begin}PAGE INDEX=5 TYPE=TEXT> I~nstall Press "Install" to begin installing the Qt 4 Runtime Libraries. ~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.