Bug 187119 - compilation with Qt no accessibility failes
Summary: compilation with Qt no accessibility failes
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-battery (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-14 10:44 UTC by Peter Häring
Modified: 2009-04-28 20:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Häring 2009-03-14 10:44:38 UTC
Version:            (using KDE 4.2.1)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled From Sources

In kdebase-workspace-4.2.1:
Compilation of file plasma/applets/battery/battery.cpp failes, if Qt is compiled without Accessibility.
Failure is in header file ui_batteryConfig.h, wich is produced from plasma/applets/battery/batteryConfig.ui. There is a line (for me #67), where a not defined function setAccessibleName() is called. This called is surrounded by a preprocessor directive #ifndef UI_QT_NO_ACCESSIBILITY, but this variable is never defined. 
If I change the preprocessor directive manually to #ifndef QT_NO_ACCESSIBILITY (without the leading UI_), compilation works.

Now I discovered exactly the same thing in ui_quicklaunchConfig.h, produced from plasma/applets/quicklauch/quicklaunchConfig.ui, ui_quicklaunchAdd.h from plasma/applets/quicklauch/quicklaunchAdd.ui,
and again in plasma/applets/pager/ui_pagerConfig.h,
so the fault is probably where the header files are produced from the *.ui.
Comment 1 Aaron J. Seigo 2009-04-28 20:59:01 UTC
SVN commit 960629 by aseigo:

don't require an a11y qt build
BUG:187119


 M  +0 -3      battery/batteryConfig.ui  
 M  +0 -3      lock_logout/lockoutConfig.ui  
 M  +0 -3      pager/pagerConfig.ui  
 M  +0 -3      quicklaunch/quicklaunchConfig.ui  


WebSVN link: http://websvn.kde.org/?view=rev&revision=960629