QT5-DECLARATIVE FreeBSD compile issues

Adriaan de Groot groot at kde.org
Mon Mar 1 23:40:41 GMT 2021


On Monday, 1 March 2021 10:03:56 CET Tobias C. Berner wrote:

While Tobias correctly points out that 11.x is not really on our (KDE@) 
support-list anymore even if it is supported by the FreeBSD project, the 
problem in your compile lies elsewhere:

> > -I../../include/QtQmlModels -I../../include/QtQml
> > -I/usr/local/include/qt5/QtGui/5.14.2
> > -I/usr/local/include/qt5/QtGui/5.14.2/QtGui
> > -I/usr/local/include/qt5/QtCore/5.15.2
> > -I/usr/local/include/qt5/QtCore/5.15.2/QtCore -I/usr/local/include/qt5

Here you are mixing Qt 5.14 and Qt 5.15, and *that* is definitely not 
supported. This happens when building ports in a dirty environment, or with 
some tools that don't update parts in the right order. We generally recommend 
building with poudriere, because that *does* do things cleanly.

(Getting Qt and KDE to build while an existing version is installed is really 
tricky, since you need *some* -I /usr/local/include to get other dependencies, 
but as soon as you do that you run the risk of also getting the old-installed 
Qt and KDE headers as well -- so best to do it cleanly)

> > util/qquickglobal.cpp:816:17: error: no viable overloaded '='
> > 
> >             dst = *srcT;
> >             ~~~ ^ ~~~~~
> > 
> > util/qquickglobal.cpp:828:20: note: in instantiation of function template
> > specialization 'QQuickValueTypeProvider::typedWrite<QColorSpace>'
> > requested here> 
> >             return typedWrite<QColorSpace>(src, dst);

[ade]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20210302/b1dc93f4/attachment-0001.sig>


More information about the kde-freebsd mailing list