Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Rich Walsh

Pages: 1 2 [3] 4 5 ... 28
31
Programming / Re: Qt6 Development
« on: February 03, 2025, 10:31:14 am »
https://smedley.id.au/tmp/tst_qstringconverter.zip

This needs a fix. Starting around line 43 of 'tst_qstringconverter.cpp' there are two versions of "localeIsUtf8()". The non-Windows flavor returns TRUE. We need one like that which returns FALSE.

32
Programming / Re: Qt6 Development
« on: February 02, 2025, 10:53:48 pm »
Here's a patch for 'qstringconverter'. (Apparently you can't attach *.diff so I had to rename it *.txt.)

Paul, if this fails the 'tst_stringconverter' tests, could you send me the binary (assuming there is one) so I can better figure out what's wrong? Tnx.

33
Programming / Re: Qt6 Development
« on: February 02, 2025, 12:24:30 am »
The handling of U_BUFFER_OVERFLOW_ERROR looks suspicious. Neither the end of the target nor the end of the source buffers appear to get calculated correctly for the second call to ucnv_toUnicode and ucnv_fromUnicode.

Ooops, you're right..  I'll put out a fix.

34
Programming / Re: Qt6 Development
« on: January 28, 2025, 07:45:30 pm »
Quote
CMake Error: Unknown argument -release

-release should not be used ?

Here are my 'configure' and 'cmake'  commandlines for 'qtbase'. I get no complaints from 'configure' about '-release'.

Code: [Select]
sh ../../qt62/qtbase/configure -prefix /prj/qt/qout/qtbase -release -opensource -confirm-license -no-opengl -system-sqlite -openssl-linked -no-pch -- -DQT_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF 2>&1 | tee ../config-base.log

cmake --build . --parallel 6 2>&1 | tee ../bld.log

BTW... you probably already have this but... '<builddir>\qtbase\lib' must be added to your build environment's BEGINLIBPATH because tools like 'uic' link to its dlls.

35
Setup & Installation / Re: Installing CUPS on MCP
« on: January 26, 2025, 06:24:35 pm »
I thought about the failure, and then ran CUPS.PDR through PMDLL (Because I know a PDR is a kind of EXE). I do this on ArcaOS, and I get UCONV.DLL depending on UCV32.DLL. There is no UCV32 on MCP or Warp 4.

This is *not* the problem. CUPS.PDR does not link to UCONV. It links to PMMERGE which links to UCONV which in turn (on Warp 4.5 at least) links to UCV32. If UCV32 were needed but missing, PMMERGE would have failed to load and your system would have blown up during boot. This is a red hering. Chances are that the Warp 4 version of UCONV doesn't even load UCV32, so it isn't "missing".

What you may be seeing is a flaw(?) in PMDLL. If I run it against the CUPS.PDR on my current boot drive, everything is fine. If I run it against a copy of that file on another boot drive, PMDLL tells me DOSCALL1.DLL can't be found - and that's ridiculous.

To fix the real(?) problem, can't you just use PIN.EXE to manually attach the PPD to the driver?

36
Applications / Re: PMMail fails sending messages
« on: January 20, 2025, 10:44:13 pm »
You didn't explicitly say that you're using 'stunnel' but I'll assume you are. Here's the section of my 'stunnel.conf' for my ISP:

Quote
[century]
client = yes
accept = 127.0.0.1:25
connect = smtp.centurylink.net:587
;
verifyChain = yes
CAfile = N:/etc/pki/tls/certs/ca-bundle.trust.crt
checkHost = smtp.centurylink.net
;
protocol = smtp
protocolUsername = <my email>
protocolPassword = <my password>
protocolAuthentication = login

The "protocolAuthentication" line may not be needed by your ISP.

37
Programming / Re: Qt6 Application Testing
« on: January 19, 2025, 04:27:48 am »
Re: webengine and 6.2.11 - potentially I rebuild webengine AFTER I imaged the drive.... the only thing I remember doing is rebuilding it with system ICU - which didn't appear to make any differences...

It seems that it did make a difference:  the 'Qt6WebEn.dll' in the latest drop wants 'icuuc69.dll' and 'icuin69.dll'. The previous version didn't want either of these files, numbered or unnumbered.

38
Web applications / Re: Dooble releases, Qt5 builds
« on: January 17, 2025, 11:29:27 pm »
What improvement does "Qt5libs-2025-01-09.zip" has?

1- an improved method for displaying UTF-8 in the titlebar. Dooble enables this feature automatically.

To enable it in other QT apps (not necessarily a good idea) use this new environment variable:
    SET QT_UTF8=[ 1 |  Y | ON ]
(the old variable, "QT_PM_CP" has been abandoned)

2- composing characters using dead keys and AltGr should now work correctly.

39
Programming / Re: Qt6 Application Testing
« on: January 09, 2025, 10:15:23 pm »
well, for completeness, I guess it should be:
Code: [Select]
return fp.isEmpty() || (fp.at(1) != u':' && fp.at(1) != u'/')  || fp.at(0) != u'/'; ?

Nope. "fp.at(1) != u'/'" would disqualify "./myapp.exe". I believe it should be:

Code: [Select]
return fp.isEmpty() || (fp.at(1) != u':' && fp.at(0) != u'/');

This should return FALSE for f/q DOSish paths (C:/blahblah) and f/q UNIX paths (/blahblah).


40
Programming / Re: Qt6 Development
« on: January 03, 2025, 08:18:29 am »
What is this mythical qt6-os2? qt6-base-os2 contains the core modules, gui, networking, etc.

..ummm... isn't that what https://github.com/bitwiseworks/qt5-os2/ is? I.e. a master repo with the individual modules as sub-repos. Look at https://github.com/bitwiseworks/qt5-os2/blob/master/init-repository-os2.sh which runs the main 'init-repository' script.

That was what I assumed. Obviously a wrong assumption.

Someone is missing something here - it could be me, but...

Just like any other project, you have to clone the QT6 master repo from the original at 'qt.io', then port it to your platform. For QT5, it looks like BWW didn't have to do anything except add a small script which can probably be reused for QT6.

Perhaps I'll try it...

41
Programming / Re: Qt6 Development
« on: January 03, 2025, 07:44:08 am »
What is this mythical qt6-os2? qt6-base-os2 contains the core modules, gui, networking, etc.

..ummm... isn't that what https://github.com/bitwiseworks/qt5-os2/ is? I.e. a master repo with the individual modules as sub-repos. Look at https://github.com/bitwiseworks/qt5-os2/blob/master/init-repository-os2.sh which runs the main 'init-repository' script.

42
Web applications / Re: Dooble releases, Qt5 builds
« on: January 02, 2025, 07:16:46 pm »
In new version 2024.12.31., I cannot use diacritic characters like č š đ ž.

Were they working for you before? Did you update the Qt5 libs that I posted?

I mentioned this in an email to Dave and Paul last week: composing an accented character using Alt-Gr doesn't work. Instead, the menu gets the focus when releasing Altr-Gr.

However, composing a character that uses a diacritical that is already a dead-key on the keyboard does work. For example, a tilde (~) + 'n' produces 'ñ'. (I'm using the US International keyboard layout for testing so YMMV.)

I just restored the original QT5 dlls and the original version of Dooble, and Alt-Gr didn't work with them either so this is nothing new. I'll look into it.

43
Programming / Re: Qt6 Development
« on: December 30, 2024, 07:38:22 pm »
I cannot get the base build, i get lots of errors.
Not remember what those are, as im not @ home.

Are you getting this?

Code: [Select]
warning: visibility attribute not supported in this configuration; ignored [-Wattributes]

My first attempt to build produced thousands of these. I had to add "-no-reduce-exports" to the 'configure' commandline to get rid of them. I traced the cause of the errors back to 'qtbase\src\corelib\global\qcompilerdetection.h (ln 227)' where I found:

Code: [Select]
#  ifdef Q_OS_DOSLIKE
#    define Q_DECL_EXPORT     __declspec(dllexport)
#    define Q_DECL_IMPORT     __declspec(dllimport)
#  elif defined(QT_VISIBILITY_AVAILABLE)
#    define Q_DECL_EXPORT     __attribute__((visibility("default")))
#    define Q_DECL_IMPORT     __attribute__((visibility("default")))
#    define Q_DECL_HIDDEN     __attribute__((visibility("hidden")))
#  endif

Shouldn't Q_OS_DOSLIKE be defined for OS/2?

44
Setup & Installation / Re: Installing CUPS on MCP
« on: December 29, 2024, 06:47:53 am »
Do you have the 'PSPRINT' driver installed? I believe it provides the list of printers. You can find it on any AOS install DVD at 'x:\CID\SERVER\PRINTPAK\PSPRINT.ZIP'

45
Programming / Re: Qt6 Application Testing
« on: December 29, 2024, 06:12:50 am »
With Paul's updates and Dave latest build of QT6, a site like https://ru.ecomstation.ru should look like attached screen shot.

Dooble switches itself to CP-1208 (UTF-8) so it's titlebar can display any characters WarpSans supports (Latin-1, Latin-2, PC Extended, Baltic, Cyrillic, Hebrew, Greek and Arabic). Changing the  titlebar font to one of the WT-J fonts adds Chinese, Japanese, and Korean.

The Window List (and everything else) continues to use CP-850, so the range of text it can display is limited. Any character not in CP-850 is replaced with a "mid dot" which is easier on the eye than a question mark.

FYI... Only the PM codepage gets changed; the Process codepage (used for filenames, etc.) remains the same (usually CP-850). When Dave releases his next build of Dooble, you'll be able to *turn off* codepage switching using "SET QT_PM_CP=0".

Pages: 1 2 [3] 4 5 ... 28