Re: [Interest] Strange unresolved external symbols in QtCore on windows

2018-11-06 Thread Patrick Stinson
The project linked OK without it, so well see how it goes once I fox this plethora of other problems actually getting it running. > On Nov 6, 2018, at 12:51 AM, Alexandru Croitor > wrote: > > I haven't looked at the error messages, but I think > > "#define protected public" > > is used by

Re: [Interest] Strange unresolved external symbols in QtCore on windows

2018-11-06 Thread Thiago Macieira
On Tuesday, 6 November 2018 00:51:02 PST Alexandru Croitor wrote: > "#define protected public" > > is used by PyQt5 / sip source code to allow overriding protected methods > from Python derived classes. That hack doesn't work with MSVC. It results in the exact error messages during linking that

Re: [Interest] Strange unresolved external symbols in QtCore on windows

2018-11-06 Thread Alexandru Croitor
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 wrote: > >

Re: [Interest] Strange unresolved external symbols in QtCore on windows

2018-11-04 Thread Patrick Stinson
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 wrote: > > Woah. Any idea what this is all about? > >> On Nov 3, 2018, at 8:41 PM, Thiago Macieira >> wrote: >> >> On Saturday, 3 November 2018

Re: [Interest] Strange unresolved external symbols in QtCore on windows

2018-11-03 Thread Thiago Macieira
On Saturday, 3 November 2018 20:54:42 PDT Patrick Stinson wrote: > Woah. Any idea what this is all about? Someone's hack that clearly doesn't work. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center

Re: [Interest] Strange unresolved external symbols in QtCore on windows

2018-11-03 Thread Patrick Stinson
Woah. Any idea what this is all about? > On Nov 3, 2018, at 8:41 PM, Thiago Macieira 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 > >

Re: [Interest] Strange unresolved external symbols in QtCore on windows

2018-11-03 Thread Thiago Macieira
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

[Interest] Strange unresolved external symbols in QtCore on windows

2018-11-03 Thread Patrick Stinson
My qmake-generated Visual studio project is complaining about the following QObject symbols referenced from my QObject subclass even though I am linking to Qt5Core.lib using a qt I built from the command line: 1>CUtil.obj : error LNK2001: unresolved external symbol "public: virtual void