[Development] How to get Qt_5.9.1_PRIVATE_API

Kevin Funk kfunk at kde.org
Wed Oct 11 10:20:53 CEST 2017


On Wednesday, 11 October 2017 10:13:07 CEST Martin Koller wrote:
> On Mittwoch, 11. Oktober 2017 09:06:53 CEST Mitch Curtis wrote:
> > Does -developer-build help?
> 
> sadly no.
> it still just contains
> 2 0x00 0x0dcbd2c9 Qt_5_PRIVATE_API
> 
> instead of the openSuse versions:
> 2 0x00 0x0be84779 Qt_5.9.1_PRIVATE_API

That 'tagging' happens in mkspecs/features/qt_module.prf.

OpenSuse seems to patch their Qt sources:
  http://lists.qt-project.org/pipermail/development/2016-December/028040.html

Contains:
-        verscript_content = "Qt_$${QT_MAJOR_VERSION}_PRIVATE_API {" \
+        verscript_content = "Qt_$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$$
{QT_PATCH_VERSION}_PRIVATE_API {" \

You might want to apply the same patch to your self-build Qt so the symbols 
are named equally.

Regards,
Kevin

> > > -----Original Message-----
> > > From: Development [mailto:development-bounces+mitch.curtis=qt.io at qt-
> > > project.org] On Behalf Of Martin Koller
> > > Sent: Wednesday, 11 October 2017 8:56 AM
> > > To: development at qt-project.org
> > > Subject: [Development] How to get Qt_5.9.1_PRIVATE_API
> > > 
> > > Hi,
> > > 
> > > on openSuse 42.2 I have a self-built 5.9.1 version and also the openSuse
> > > 5.9.1 installed one.
> > > For some reason (which is not important for my question) my application
> > > picks up the openSuse library but fails with the error
> > > libQt5Core.so.5: version `Qt_5.9.1_PRIVATE_API' not found (required by
> > > /usr/lib64/libQt5Quick.so.5)
> > > 
> > > I just want to know how do I have to configure my self-built Qt so that
> > > the
> > > missing private_api symbol is included?
> > > 
> > > --
> > > Best regards/Schöne Grüße
> > > 
> > > Martin
> > > A: Because it breaks the logical sequence of discussion
> > > Q: Why is top posting bad?
> > > 
> > > ()  ascii ribbon campaign - against html e-mail
> > > /\                        - against proprietary attachments
> > > 
> > > Geschenkideen, Accessoires, Seifen, Kulinarisches: www.lillehus.at
> > > 
> > > 
> > > _______________________________________________
> > > Development mailing list
> > > Development at qt-project.org
> > > http://lists.qt-project.org/mailman/listinfo/development


-- 
Kevin Funk | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20171011/c22ef2b8/attachment.sig>


More information about the Development mailing list