[ooo-build] kde4 integration
Roman Shtylman
shtylman at gmail.com
Tue Jun 16 11:15:06 PDT 2009
I can't promise anything (as I personally run 4.5 :) ) but the FrameV3
is used because it allows the style of the frame to be specified...I
haven't tried without it yet but will.
The other call could be replaced with lower level X code.
Take note that I don't try to make it backwards compatible because 4.5
often has new features I want to make use of :/
I will take a look at it after the initial porting.
~Roman
On 6/15/09, Petr Mladek <pmladek at suse.cz> wrote:
> Hi Roman,
>
> On Thursday 11 June 2009, Roman Shtylman wrote:
>> http://shtylman.com/stuff/oo/patches.tar.gz
>>
>> This is the initial patch set for kde4 integration.
>
> Great work!
>
> Heh, it seems that the implementation depends on qt >= 4.5 :-)
>
> I get the following errors when compiling with qt-4.4.3 that is available on
> openSUSE-11.1 by default:
>
> --- cut ---
> /usr/src/packages/BUILD/ooo310-m13-libs-gui/vcl/unx/kde4/salnativewidgets-kde4.cxx:
> In member function 'virtual BOOL
> KDESalGraphics::drawNativeControl(ControlType, ControlPart, const Region&,
> ControlState, const ImplControlValue&, SalControlHandle&, const
> rtl::OUString&)':
> /usr/src/packages/BUILD/ooo310-m13-libs-gui/vcl/unx/kde4/salnativewidgets-kde4.cxx:251:
> error: 'fromX11Pixmap' is not a member of 'QPixmap'
> /usr/src/packages/BUILD/ooo310-m13-libs-gui/vcl/unx/kde4/salnativewidgets-kde4.cxx:318:
> error: 'QStyleOptionFrameV3' was not declared in this scope
> /usr/src/packages/BUILD/ooo310-m13-libs-gui/vcl/unx/kde4/salnativewidgets-kde4.cxx:318:
> error: expected `;' before 'styleOption'
> /usr/src/packages/BUILD/ooo310-m13-libs-gui/vcl/unx/kde4/salnativewidgets-kde4.cxx:320:
> error: 'styleOption' was not declared in this scope
> /usr/src/packages/BUILD/ooo310-m13-libs-gui/vcl/unx/kde4/salnativewidgets-kde4.cxx:366:
> error: 'QStyleOptionFrameV3' was not declared in this scope
> /usr/src/packages/BUILD/ooo310-m13-libs-gui/vcl/unx/kde4/salnativewidgets-kde4.cxx:366:
> error: expected `;' before 'styleOption'
> /usr/src/packages/BUILD/ooo310-m13-libs-gui/vcl/unx/kde4/salnativewidgets-kde4.cxx:368:
> error: 'styleOption' was not declared in this scope
> /usr/src/packages/BUILD/ooo310-m13-libs-gui/vcl/unx/kde4/salnativewidgets-kde4.cxx:525:
> error: 'QStyleOptionFrameV3' was not declared in this scope
> /usr/src/packages/BUILD/ooo310-m13-libs-gui/vcl/unx/kde4/salnativewidgets-kde4.cxx:525:
> error: expected `;' before 'styleOption'
> /usr/src/packages/BUILD/ooo310-m13-libs-gui/vcl/unx/kde4/salnativewidgets-kde4.cxx:526:
> error: 'styleOption' was not declared in this scope
> /usr/src/packages/BUILD/ooo310-m13-libs-gui/vcl/unx/kde4/salnativewidgets-kde4.cxx:534:
> error: 'QStyleOptionFrameV3' was not declared in this scope
> /usr/src/packages/BUILD/ooo310-m13-libs-gui/vcl/unx/kde4/salnativewidgets-kde4.cxx:534:
> error: expected `;' before 'styleOption'
> /usr/src/packages/BUILD/ooo310-m13-libs-gui/vcl/unx/kde4/salnativewidgets-kde4.cxx:535:
> error: 'styleOption' was not declared in this scope
> dmake: Error code 1, while
> making '../../unxlngx6.pro/slo/salnativewidgets-kde4.obj'
> --- cut ---
>
> It seems that both fromX11Pixmap and QStyleOptionFrameV3 have been available
> since qt-4.5, see
> http://doc.trolltech.com/4.5/qpixmap.html#fromX11Pixmap
> http://doc.trolltech.com/4.5/qstyleoptionframev3.html
>
>
> Is there any chance to fix it to compile with qt-4.4.3 or even older?
>
> Note that I can't update to qt-4.5 easily because I provide the OOo packages
> for the original openSUSE-11.1. Of course, I could stay there with the
> KDE3-only support but people will cry ;-)
>
>
> --
> Best Regards,
>
> Petr Mladek
> software developer
> ---------------------------------------------------------------------
> SUSE LINUX, s. r. o. e-mail: pmladek at suse.cz
> Lihovarská 1060/12 tel: +420 284 028 952
> 190 00 Prague 9 fax: +420 284 028 951
> Czech Republic http://www.suse.cz/
>
More information about the ooo-build
mailing list