Updated: qt5-base 5.15.18-2 (test)

Mark Geisert mark@maxrnd.com
Sun Jan 4 10:21:51 GMT 2026


Hi Marco,

On 1/3/2026 6:08 AM, Marco Atzeri via Cygwin wrote:
> On 29/12/2025 10:37, Mark Geisert wrote:
>> The following packages have been uploaded to the Cygwin distribution:
>>
>> * libQt5Core5-5.15.18-2
>> * libQt5Core-devel-5.15.18-2
>> * libQt5Sql5-5.15.18-2
>> * libQt5Sql-devel-5.15.18-2
>> * libQt5Gui5-5.15.18-2
>> * libQt5Gui-devel-5.15.18-2
>> * qt5-base-doc-5.15.18-2
>> * qt5-base-examples-5.15.18-2
[...]
> Hi Mark,
> 
> there is still an issue compiling a QT5 program
> 
> using 5.15.18 with a simplified qscintilla2.cygport
> (not QT4 and no Python) the build stops at linking phase
> 
> g++ -shared -Wl,--out-implib,libqscintilla2_qt5.dll.a -o 
> cygqscintilla2_qt5-13.dll qsciscintilla.o ....
> ..  moc_ScintillaQt.o  -lpthread /usr/lib/cygQt5PrintSupport.dll /usr/ 
> lib/cygQt5Widgets.dll /usr/lib/cygQt5Gui.dll /usr/lib/cygQt5Core.dll -lGL
> /usr/lib/gcc/x86_64-pc-cygwin/13/../../../../x86_64-pc-cygwin/bin/ld: 
> cannot find /usr/lib/cygQt5PrintSupport.dll: No such file or directory
> /usr/lib/gcc/x86_64-pc-cygwin/13/../../../../x86_64-pc-cygwin/bin/ld: 
> cannot find /usr/lib/cygQt5Widgets.dll: No such file or directory
> /usr/lib/gcc/x86_64-pc-cygwin/13/../../../../x86_64-pc-cygwin/bin/ld: 
> cannot find /usr/lib/cygQt5Gui.dll: No such file or directory
> /usr/lib/gcc/x86_64-pc-cygwin/13/../../../../x86_64-pc-cygwin/bin/ld: 
> cannot find /usr/lib/cygQt5Core.dll: No such file or directory
> 
> with 5.9.4-x the build is without problems.
> 
> Attached scintilla2.cygport and the logs for both cases.

Thanks for the report and all the logs.  "Something" is causing the link 
step to look for DLLs in /usr/lib instead of /usr/bin.  What's in 
/usr/lib are static libraries (but their names look like libQt5*.dll.a).
I've been running into this while building the Qt5 libraries too, and 
I've been working around it in src_compile() by symlinking the needed 
DLLs into /usr/lib and deleting them afterwards.  Ugly but effective.

If I apply that workaround to your qscintilla2.cygport, that gets past 
these errors you reported.  Bad news is, the compile continues and needs 
Qt5Designer, which I had not yet updated to 5.15.18.  I'm doing that 
now.  We'll see if that's enough...
Cheers,

..mark


More information about the Cygwin mailing list