Replying to myself...

On 1/4/2026 2:21 AM, Mark Geisert via Cygwin wrote:
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...

Qt5Designer is part of the qt5-tools package. I've finally gotten the 5.15.18 qt5-tools version to build, though packaging it is not quite there yet. I'll try to solidify the packaging over next couple days.

I will be AFK next week and plan to take up scintilla2 upon my return.
Cheers,

..mark

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to