Updated: qt5-base 5.15.18-2 (test)

Marco Atzeri marco.atzeri@gmail.com
Sat Jan 3 14:08:18 GMT 2026


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
> 
> Qt is a cross-platform application framework for desktop and
> embedded development. Qt enables programmers to create advanced GUI
> applications once and deploy them to Windows, Mac OS X and Linux without
> rewriting the source code. Companies using Qt can leverage software
> investments made on one platform across many others.
> 
> This is a "-2" test release of what is expected to be the last Qt5 version
> available from upstream.  Please report any discrepancies from earlier
> Cygwin-available Qt5 packages to the main Cygwin mailing list.  If all seems
> well, this version will probably be promoted from test in a couple weeks.
> Enjoy,
> 
> ..mark
> 
> PS: The only change from -1 is to avoid avx2 cpu instructions due to an
> unreported Qt5Gui bug that prevents doxywizard and 'octave --gui' from
> launching.


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.

Regards
Marco
-------------- next part --------------
inherit qt5-qmake

NAME="qscintilla2"
VERSION=2.10.2
RELEASE=2

LICENSE="GPL-3.0-only"
CATEGORY="Libs"
SUMMARY="Scintilla editor class for Qt4"
DESCRIPTION="QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor
class.  As well as features found in standard text editing components,
QScintilla includes features especially useful when editing and debugging
source code. These include support for syntax styling, error indicators, code
completion and call tips. The selection margin can contain markers like those
used in debuggers to indicate breakpoints and the current line. Styling choices
are more open than with many editors, allowing the use of proportional fonts,
bold and italics, multiple foreground/background colours and multiple fonts."
HOMEPAGE="http://www.riverbankcomputing.com/software/qscintilla/"
SRC_URI="mirror://sourceforge/pyqt/QScintilla_gpl-${VERSION}.tar.gz"
SRC_DIR="QScintilla_gpl-${VERSION}"

PKG_NAMES="
	lib${NAME}_qt5_13 lib${NAME}_qt5-common lib${NAME}_qt5-devel
"
libqscintilla2_qt5_13_REQUIRES="libqscintilla2-qt5-common"
libqscintilla2_qt5_13_CONTENTS="usr/bin/cyg${NAME}_qt5-13.dll"
libqscintilla2_qt5_common_OBSOLETES="libqscintilla2-qt5-common"
libqscintilla2_qt5_common_CONTENTS="
	usr/share/doc/${NAME}-qt5/
	usr/share/doc/qscintilla2/
	${QT5_DATADIR#/}/qsci/
	${QT5_DATADIR#/}/translations/"

libqscintilla2_qt5_devel_OBSOLETES="libqscintilla2-qt5-devel"
libqscintilla2_qt5_devel_CONTENTS="
	usr/include/qt5/Qsci/
	usr/lib/libqscintilla2_qt5.dll.a
	usr/lib/libqscintilla2-qt5.dll.a
	${QT5_MKSPECSDIR#/}/features/qscintilla2.prf
	${QT5_PLUGINSDIR#/}/
"
BUILD_REQUIRES="pkgconfig(QtGui) pkgconfig(QtDesigner) pkgconfig(Qt5Widgets)"

CXXFLAGS+=" -std=gnu++11"

src_compile() {
	export QMAKEFEATURES=${S}/Qt4Qt5/features

	for v in 5
	do
		mkdir -p ${B}/Qt$v
		cd ${B}/Qt$v
		cygqmake$v ${S}/Qt4Qt5
		cygmake

		mkdir -p ${B}/designer-Qt$v
		cd ${B}/designer-Qt$v
		cygqmake$v ${S}/designer-Qt4Qt5 INCLUDEPATH+=${S}/Qt4Qt5 QMAKE_LFLAGS+=-L../Qt$v
		cygmake

		mkdir -p ${B}/example-Qt$v
		cd ${B}/example-Qt$v
		cygqmake$v ${S}/example-Qt4Qt5 INCLUDEPATH+=${S}/Qt4Qt5 QMAKE_LFLAGS+=-L../Qt$v
		cygmake


	done
}

src_install() {
	for v in 5
	do
		for d in Qt$v designer-Qt$v 
		do
			cd ${B}/${d}
			qt${v}_qmake_install
		done
	done

	# for compatibility with past versions
	dosym libqscintilla2_qt5.dll.a /usr/lib/libqscintilla2-qt5.dll.a

	cd ${S}
	dodoc LICENSE.* NEWS README *.TXT

	docinto /${NAME}-qt5
	dodoc LICENSE.* NEWS README *.TXT
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qscintilla2-2.10.2-2-compile.log.xz
Type: application/x-compressed
Size: 5472 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin/attachments/20260103/4794c93d/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.tar.xz
Type: application/x-compressed
Size: 7088 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin/attachments/20260103/4794c93d/attachment-0003.bin>


More information about the Cygwin mailing list