Компиляция выдает ошибки Qt
Пробовал через по разному, qmake&&make так и через QtCreator, с версиями Qt 5.5.1 и 5.13.1. Как на Ubuntu 16.04, так и на 18.04 Ошибки компиляции:
src/libraries/wyedit/Editor.cpp:505:47: error: ‘qOverload’ was not declared in this scope
connect(editorToolBarAssistant->fontSize, qOverload<int>(&EditorFontSizeComboBox::currentIndexChanged),
^
src/libraries/wyedit/Editor.cpp:505:57: error: expected primary-expression before ‘int’
connect(editorToolBarAssistant->fontSize, qOverload<int>(&EditorFontSizeComboBox::currentIndexChanged),
^
src/libraries/wyedit/Editor.cpp: In member function ‘void Editor::setTabSize()’:
src/libraries/wyedit/Editor.cpp:1466:15: error: ‘class EditorTextArea’ has no member named ‘setTabStopDistance’
textArea->setTabStopDistance(
^
src/libraries/wyedit/Editor.cpp: In member function ‘void Editor::setTabSize()’: src/libraries/wyedit/Editor.cpp:1466:15: error: ‘class EditorTextArea’ has no member named ‘setTabStopDistance’ textArea->setTabStopDistance(
^
Это и не будет работать в Qt 5.5.1
tabStopDistance : qreal This property holds the tab stop distance in pixels By default, this property contains a value of 80 pixels. This property was introduced in Qt 5.10.
А вот про
src/libraries/wyedit/Editor.cpp:505:47: error: ‘qOverload’ was not declared in this scope
ошибок в ubuntu 18.04 я не увидел.
А в какой версии Qt собирается проект? В последней версии проект не получается собрать, возможно это связано из-за того что собираю на macOS Arm M2 Pro