Bug 291108 - knode build fails when QT has accessibility disabled
Summary: knode build fails when QT has accessibility disabled
Status: RESOLVED FIXED
Alias: None
Product: knode
Classification: Miscellaneous
Component: general (show other bugs)
Version: 4.7
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-10 02:28 UTC by Mike Frysinger
Modified: 2012-01-10 10:17 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 Mike Frysinger 2012-01-10 02:28:20 UTC
Version:           4.7 (using KDE 4.7.4) 
OS:                Linux

seems that the generated KDE code uses the UI_QT_NO_ACCESSIBILITY define, but QT itself uses QT_NO_ACCESSIBILITY, so when QT is built w/out accessibility, the knode build fails:

In file included from /var/tmp/portage/kde-base/knode-4.7.4/work/knode-4.7.4/knode/kncomposerview.h:18:0,
                 from /var/tmp/portage/kde-base/knode-4.7.4/work/knode-4.7.4/knode/kncomposerview.cpp:16:
/var/tmp/portage/kde-base/knode-4.7.4/work/knode-4.7.4_build/knode/ui_composer_view.h: In member function ‘void KNode::Composer::Ui_View::retranslateUi(QFrame*)’:
/var/tmp/portage/kde-base/knode-4.7.4/work/knode-4.7.4_build/knode/ui_composer_view.h:286:33: error: ‘class QLabel’ has no member named ‘setAccessibleName’
/var/tmp/portage/kde-base/knode-4.7.4/work/knode-4.7.4_build/knode/ui_composer_view.h:291:20: error: ‘class KPushButton’ has no member named ‘setAccessibleName’

Reproducible: Always

Steps to Reproduce:
- build QT w/out accessibility support
- build knode
- fail!


Expected Results:  
build success

bug 187119 might be related somewhat
Comment 1 Christophe Marin 2012-01-10 10:17:59 UTC
Fixed in master + 4.8

http://commits.kde.org/kdepim/c761419b4aea58675fd137fd0374112cb39da031