[PyKDE] QWindowsXPStyle causing unresolved external symbols w ith PyQt 3.7 build

Phil Thompson phil at riverbankcomputing.co.uk
Wed Jul 9 01:20:01 BST 2003


On Tuesday 08 July 2003 7:16 pm, Tuvi, Selim wrote:
> Phil thanks for the suggestion, instead I modified build.py lines 1091 thru
> 1094 as follows:
>
> #if (defined(Q_OS_WIN32) || defined(Q_OS_WIN64)) && QT_VERSION >= 0x030000
> //  if (qWinVersion() != Qt::WV_XP)
>     fprintf(fp,"-x Qt_STYLE_WINDOWSXP\\n");
> #endif
>
> to force exclusion of this feature and that seemed to do the trick.
>
> While we are on this topic, for future releases do you suggest that we
> compile Qt by specifying options like these as "direct" and not as
> "plugins"? Is there a way to support these pluggable window styles in PyQt
> in the future?

Very good questions.

For the moment I would say build Qt as "direct". We only test with the default 
Qt build.

Longer term the signs are that Qt 4 is going to involve more and more plugins, 
so we need a more comprehensive solution for then.

Phil




More information about the PyQt mailing list