Closed. This question is off-topic. It is not currently accepting answers. Learn more
想改进这个问题吗?Update the question所以堆栈溢出的值小于aa>。
6年前关闭。
我想从源头上安装凯特。
当我这样做时:
cmake ../kate -DBUILD_KTEXTEDITOR=1 -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=~/kde/usr

它说
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.

之后,当我键入make command时,它会说:
In member function ‘void KateViewInternal::updateSelection(const KTextEditor::Cursor&, bool)’:
 error: ‘TextSelectionChanged’ is not a member of ‘QAccessible’
In member function ‘void KateViewInternal::cursorMoved()’:
 error: ‘TextCaretMoved’ is not a member of ‘QAccessible’

知道吗?

最佳答案

QAccessible::Event枚举的TextSelectionChanged项出现在Qt 4.8中。看起来你签出的凯特的来源取决于那个版本,但你有一个旧版本。
你要么选择早期版本的凯特,要么安装最新版本的Qt并以此为基础进行构建。
(我认为Q_WS_*警告应该是无害的,只要找到其中一个警告-可能Q_WS_X11或类似于Linux的警告)

07-28 03:04