Hello,
OK, thanks for the answer. Then, I will just disable it as of now.
Best regards,
Pascom
Le 14/06/2021 à 08:44, Eike Ziller a écrit :
>
>
>> On Jun 13, 2021, at 21:55, Pascal COMBES wrote:
>>
>> Hello,
>> I unearth this old thread because I would like to know
>> if
>> ClangRefactoringPlugin is still maintained or if it should be considered
>> as definitively broken.
>
> It is in the process of being removed.
> https://bugreports.qt.io/browse/QTCREATORBUG-25659
>
> Qt Creator 5 will have some experimental support for clangd.
>
> Br, Eike
>
>> While compiling Qt Creator 15.1
>> (https://download.qt.io/official_releases/qtcreator/4.15/4.15.1/qt-creator-opensource-src-4.15.1.tar.gz),
>> I noticed that the error found by Michael is still unfixed and there is
>> one more error (see log extract below or whole build log at
>> https://build.opensuse.org/public/build/home:pascom/openSUSE_Tumbleweed/x86_64/qtcreator-clang/_log).
>> Best regards,
>> Pascom.
>>
>> -- Build log extract --
>>
>> g++ -c -pipe -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong
>> -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection
>> -Werror=return-type -flto=auto -g -Wno-noexcept-type -Wno-class-memaccess
>> -Wno-unused-parameter -Wno-comment -g -std=gnu++1z -fvisibility=hidden
>> -fvisibility-inlines-hidden -Wall -Wextra -D_REENTRANT -fPIC -DWITH_TESTS
>> -D'RELATIVE_PLUGIN_PATH="../lib64/qtcreator/plugins"'
>> -D'RELATIVE_LIBEXEC_PATH="../libexec/qtcreator"'
>> -D'RELATIVE_DATA_PATH="../share/qtcreator"'
>> -D'RELATIVE_DOC_PATH="../share/doc/qtcreator"'
>> -DIDE_LIBRARY_BASENAME=\"lib64\" -DQTC_PROGS_DIR=\"/lib64/qtcreator/bin\"
>> -DQT_CREATOR
>> -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_CAST_TO_ASCII
>> -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_DISABLE_DEPRECATED_BEFORE=0x050900
>> -DQT_USE_QSTRINGBUILDER -DCLANG_VERSION=\"11.0.1\"
>> -D"CLANG_INCLUDE_DIR=\"/usr/lib64/clang/11.0.1/include\""
>> -D"CLANG_BINDIR=\"/usr/bin\"" -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB
>> -DQT_TESTLIB_LIB -DQT_CONCURRENT_LIB -DQT_NETWORK_LIB
>> -DQT_CORE_LIB
>> -DQT_TESTCASE_BUILDDIR='"/home/abuild/rpmbuild/BUILD/qtcreator-clang-4.15.1/src/plugins/clangrefactoring"'
>> -I/usr/src -I/usr/include/qtcreator/src -I/usr/include/qtcreator/src/libs
>> -I/usr/include/qtcreator/tools -I../../plugins
>> -I/usr/include/qtcreator/src/plugins -I/usr/include/qtcreator/src/libs
>> -I/usr/include/qtcreator/src/libs/3rdparty
>> -I/usr/include/KF5/KSyntaxHighlighting
>> -I/usr/include/qtcreator/src/libs/clangsupport
>> -I/usr/include/qtcreator/src/libs/sqlite -I. -I. -I/usr/include/qt5
>> -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui
>> -I/usr/include/qt5/QtTest -I/usr/include/qt5/QtConcurrent
>> -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I.moc/debug-shared
>> -I.uic -I/usr/lib64/qt5/mkspecs/linux-g++ -o
>> .obj/debug-shared/qtcreatorclangqueryfindfilter.o
>> qtcreatorclangqueryfindfilter.cpp
>> [ 90s] clangrefactoringplugin.cpp:82:94: error: wrong number of template
>> arguments (2, should be 1)
>> [ 90s]82 |
>> Sqlite::ReadStatement>;
>> [ 90s] |
>>^
>> [ 90s] In file included from clangrefactoringplugin.cpp:31:
>> [ 90s] querysqlitestatementfactory.h:31:7: note: provided for
>> 'template class
>> ClangRefactoring::QuerySqliteStatementFactory'
>> [ 90s]31 | class QuerySqliteStatementFactory
>> [ 90s] | ^~~
>> [ 90s] clangrefactoringplugin.cpp:95:5: error:
>> 'QuerySqliteReadStatementFactory' does not name a type; did you mean
>> 'QuerySqliteStatementFactory'?
>> [ 90s]95 | QuerySqliteReadStatementFactory
>> statementFactory{database};
>> [ 90s] | ^~~
>> [ 90s] | QuerySqliteStatementFactory
>> [ 90s] clangrefactoringplugin.cpp:96:17: error:
>> 'QuerySqliteReadStatementFactory' was not declared in this scope; did you
>> mean 'QuerySqliteStatementFactory'?
>> [ 90s]96 | SymbolQuery
>> symbolQuery{statementFactory};
>> [ 90s] | ^~~
>> [ 90s] | QuerySqliteStatementFactory
>> [ 90s] clangrefactoringplugin.cpp:96:48: error: template argument 1 is
>> invalid
>> [ 90s]96 | SymbolQuery
>> symbolQuery{statementFactory};
>> [ 90s] |^
>> [ 90s] clangrefactoringplugin.cpp:96:62: error: 'statementFactory' was not
>> declared in this scope
>> [ 90s]96 | SymbolQuery
>> symbolQuery{statementFactory};
>> [ 90s] |
>>^~~~
>> [ 90s] clangrefactoringplugin.cpp:96:78: error: cannot convert
>> '' to 'int' in initialization
>> [ 90s]96