[Interest] Strange unresolved external symbols in QtCore on windows

Alexandru Croitor alexandru.croitor at qt.io
Tue Nov 6 09:51:02 CET 2018


I haven't looked at the error messages, but I think 

"#define protected public"

is used by PyQt5 / sip source code to allow overriding protected methods from Python derived classes.

I don't know if they have support for disabling it.



> On 4. Nov 2018, at 06:45, Patrick Stinson <patrickkidd at gmail.com> wrote:
> 
> Looks like the only instances of that string are in tests. And only three. So that can’t be it.
> 
>> On Nov 3, 2018, at 8:54 PM, Patrick Stinson <patrickkidd at gmail.com> wrote:
>> 
>> Woah. Any idea what this is all about?
>> 
>>> On Nov 3, 2018, at 8:41 PM, Thiago Macieira <thiago.macieira at intel.com> wrote:
>>> 
>>> On Saturday, 3 November 2018 14:31:12 PDT Patrick Stinson wrote:
>>>> The output of dumpbin /symbols /linenumbers Qt5Core.lib shows these symbols
>>>> as protected, not public as referenced above
>>> 
>>> That is correct. They are protected.
>>> 
>>> Search your sources for a 
>>> 
>>> #define protected public
>>> 
>>> Find it and remove it.
>>> 
>>> -- 
>>> Thiago Macieira - thiago.macieira (AT) intel.com
>>> Software Architect - Intel Open Source Technology Center
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Interest mailing list
>>> Interest at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/interest
>> 
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list