https://bugs.kde.org/show_bug.cgi?id=499888

--- Comment #9 from Igor Kushnir <igor...@gmail.com> ---
The most likely reason for this bug is that KDevelop does not locate the file
it installs (e.g. into /usr/share):
kdevclangsupport/wrappedQtHeaders/QtCore/qobjectdefs.h. In this case hovering
over a signal or a slot declaration produces a navigation tooltip that does not
designate the function as a signal or a slot, and the completion helper does
not skip signals when it offers completions.

The current implementation in kdevelop/plugins/clang/duchain/parsesession.cpp
searches for the directory kdevclangsupport/wrappedQtHeaders in
QStandardPaths::GenericDataLocation. If it fails to find the directory or finds
an empty directory left over from a previously installed and uninstalled
KDevelop version (in a location with a higher priority than the location where
the file qobjectdefs.h is currently installed), signal and slot detection does
not work. I am in the process of fixing this so that KDevelop searches for the
file qobjectdefs.h rather than for the directory, which may be empty.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to