1
Programming / Re: Qt6 Application Testing
« on: January 21, 2025, 10:57:50 pm »
Qt-base-os2 issue #53 does talk about using the high-res timer. dmik pointed out that libcn supports clock_gettime(CLOCK_MONOTONIC) which interfaces with the high-res timer directly and planned to enable the UNIX implementation (qelapsedtimer_unix.cpp). Might be worth looking at.
As for NSPR, which uses the environment variable NSPR_OS2_NO_HIRES_TIMER=1 to turn it off, no command line parameter as far as I know. ArcaOS does (did?) add the environment variable to config.sys
I tried yum remove nspr to see the dependencies.
So a couple of dependencies, dbus perhaps xml might use NSPR. Though some of the dependencies look weird, fonts?
At one time it was common for computers to have a BIOS option to turn off the hi-res timer, shame this one doesn't.
As for NSPR, which uses the environment variable NSPR_OS2_NO_HIRES_TIMER=1 to turn it off, no command line parameter as far as I know. ArcaOS does (did?) add the environment variable to config.sys
I tried yum remove nspr to see the dependencies.
Code: [Select]
---> Package adobe-source-code-pro-fonts.noarch 0:2.030.1.050-1.oc00 will be erased
---> Package adobe-source-sans-pro-fonts.noarch 0:2.020-1.oc00 will be erased
---> Package dbus-common.noarch 1:1.13.12-1.oc00 will be erased
---> Package lzlib-devel.pentium4 0:1.14-1.oc00 will be erased
---> Package os2-base-fhs.i686 0:0.0.0-19.oc00 will be erased
---> Package os2-base-unixtools-path.pentium4 0:0.0.1-3.oc00 will be erased
---> Package pci-ids.noarch 0:2023.11.11-0.oc00 will be erased
---> Package sgml-common.noarch 0:0.6.3-45.oc00 will be erased
---> Package xml-common.noarch 0:0.6.3-45.oc00 will be erased
--> Finished Dependency Resolution
Error: Trying to remove "yum", which is protected
So a couple of dependencies, dbus perhaps xml might use NSPR. Though some of the dependencies look weird, fonts?
At one time it was common for computers to have a BIOS option to turn off the hi-res timer, shame this one doesn't.