[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: pyqtwebengine build failure
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2021-10-03 14:57:45
Message-ID: 7ec9b5101c070be9f6ab0e9c6ed84483 () riverbankcomputing ! com
[Download RAW message or body]

On 03/10/2021 15:09, Antonio Rojas wrote:
> Hi,
>  pyqtwebengine 6.2.0 fails to build here with this error:
> 
> /build/pyqt6-webengine/src/PyQt6_WebEngine-6.2.0/sip/QtWebEngineCore/qwebengineprofile.sip:
> In lambda function:
> /build/pyqt6-webengine/src/PyQt6_WebEngine-6.2.0/sip/QtWebEngineCore/qwebengineprofile.sip:187:64:
> error: invalid use of incomplete type ‘class QIcon'
>  187 |             res = sipCallMethod(NULL, a2, "NNN", new
> QIcon(arg0), sipType_QIcon, new QUrl(arg1), sipType_QUrl, new
> QUrl(arg2), sipType_QUrl, NULL)
> ;
>      |                                                                ^
> In file included from /usr/include/qt6/QtCore/QMetaType:1,
>                 from sipAPIQtWebEngineCore.h:33,
>                 from sipQtWebEngineCoreQWebEngineProfile.cpp:24:
> /usr/include/qt6/QtCore/qmetatype.h:182:22: note: forward declaration
> of ‘class QIcon'
>  182 |     F(QIcon, 0x1005, QIcon) \
>      |                      ^~~~~

The workaround is to use '--concatenate 1'.

Phil
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic