Changeset 870 for trunk/README.OS2
- Timestamp:
- May 26, 2011, 10:56:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/README.OS2
r830 r870 414 414 415 415 416 FILE WATCHING FUNCTION 417 418 Qt supports a mechanism of notifying Qt applications about changes to the file 419 system, such as creating files or directories, changing their attributes or 420 deleting them, even if these changes are performed outside Qt applications. In 421 particular, this is used in standard Qt open file dialogs where you can 422 instantly observe changes made to the directory contents by third-party 423 applications running in the background. 424 425 In order to support this functionality on OS/2, Qt relies on the file watching 426 mechanism provided by the Presentation Manager. This mechanism is a global 427 system resource so that only one process may use it at a time. In a standard 428 installation of OS/2 or eComStation this resource is exclusively used by the 429 Workplace Shell and is not available to other applications. In order to overcome 430 this limitation, a respective function was included to xWorkplace, the famous 431 WPS extension (which lives inside the WPS process), starting with version 1.0.8. 432 This function allows any number of other processes to receive notifications 433 about file system changes and it gets utilized by Qt as well. 434 435 If an earlier version of xWorkplace is installed on the user system, or if no 436 xWorkplace extension is present at all, Qt uses its own method of detecting 437 file system changes which is based on polling the directory contents in regular 438 intervals. While this method works well for a small number of watched 439 directories with just few files in them, it may significantly slow down the 440 system if you work with a directory containing thousands of files. 441 442 Therefore, is strongly recommended to install or upgrade to xWorkplace version 443 1.0.8 or above to make sure that you will not suffer from the described problem. 444 You will also need to make sure that the "Enable folder auto-refresh" check box 445 located on the "Folder Views" page in the Workplace Shell settings notebook is 446 turned on in order to enable the notification mechanism (note that you may need 447 to reboot after changing its state). 448 449 450 416 451 ENVIRONMENT VARIABLES 417 452
Note:
See TracChangeset
for help on using the changeset viewer.