Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Компиляция выдает ошибки Qt #124

Open
Alrond opened this issue Oct 22, 2019 · 2 comments
Open

Компиляция выдает ошибки Qt #124

Alrond opened this issue Oct 22, 2019 · 2 comments

Comments

@Alrond
Copy link

Alrond commented Oct 22, 2019

Пробовал через по разному, 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(                                                                                                                                                                                                                                              
               ^


@admsasha
Copy link
Contributor

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 я не увидел.

@perevozchiko
Copy link

А в какой версии Qt собирается проект? В последней версии проект не получается собрать, возможно это связано из-за того что собираю на macOS Arm M2 Pro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants