Bug 291109 - kdepim build fails when QT has accessibility disabled
Summary: kdepim build fails when QT has accessibility disabled
Status: RESOLVED FIXED
Alias: None
Product: kdepim
Classification: Applications
Component: libkdepim (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:31 UTC by Mike Frysinger
Modified: 2012-01-11 18:13 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:31:56 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 kdepim build fails:

In file included from /var/tmp/portage/kde-base/kdepim-runtime-4.7.4/work/kdepim-runtime-4.7.4_build/resources/dav/resource/../../../../kdepim-runtime-4.7.4/resources/dav/resource/urlconfigurationdialog.h:22:0,
                 from /var/tmp/portage/kde-base/kdepim-runtime-4.7.4/work/kdepim-runtime-4.7.4_build/resources/dav/resource/moc_urlconfigurationdialog.cpp:10,
                 from /var/tmp/portage/kde-base/kdepim-runtime-4.7.4/work/kdepim-runtime-4.7.4_build/resources/dav/resource/akonadi_davgroupware_resource_automoc.cpp:5:
/var/tmp/portage/kde-base/kdepim-runtime-4.7.4/work/kdepim-runtime-4.7.4_build/resources/dav/resource/ui_urlconfigurationdialog.h: In member function ‘void Ui_UrlConfigurationDialog::retranslateUi(QWidget*)’:
/var/tmp/portage/kde-base/kdepim-runtime-4.7.4/work/kdepim-runtime-4.7.4_build/resources/dav/resource/ui_urlconfigurationdialog.h:209:18: error: ‘class QLabel’ has no member named ‘setAccessibleDescription’
/var/tmp/portage/kde-base/kdepim-runtime-4.7.4/work/kdepim-runtime-4.7.4_build/resources/dav/resource/ui_urlconfigurationdialog.h:213:18: error: ‘class QLabel’ has no member named ‘setAccessibleDescription’
make[2]: *** [resources/dav/resource/CMakeFiles/akonadi_davgroupware_resource.dir/akonadi_davgroupware_resource_automoc.o] Error 1

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-11 18:13:08 UTC
Git commit 5b86255be4d8d9b729adf5cf993a77147d99a44b by Christophe Giboudeaux.
Committed on 11/01/2012 at 19:12.
Pushed by cgiboudeaux into branch 'master'.

Build without Accessibility support
MERGE: 4.8

M  +2    -2    resources/dav/resource/searchdialog.ui
M  +2    -2    resources/dav/resource/urlconfigurationdialog.ui

http://commits.kde.org/kdepim-runtime/5b86255be4d8d9b729adf5cf993a77147d99a44b
Comment 2 Christophe Marin 2012-01-11 18:13:34 UTC
Git commit 128ad42dac34d43128b0eb26ce39c9f1ac3bd97c by Christophe Giboudeaux.
Committed on 11/01/2012 at 19:12.
Pushed by cgiboudeaux into branch 'KDE/4.8'.

Build without Accessibility support
MERGE: 4.8
(cherry picked from commit 5b86255be4d8d9b729adf5cf993a77147d99a44b)

M  +2    -2    resources/dav/resource/searchdialog.ui
M  +2    -2    resources/dav/resource/urlconfigurationdialog.ui

http://commits.kde.org/kdepim-runtime/128ad42dac34d43128b0eb26ce39c9f1ac3bd97c