Question #703319 on Yade changed:
https://answers.launchpad.net/yade/+question/703319

    Status: Answered => Open

Wang Yu is still having a problem:
Hi, Manfred

I'm sorry I didn't express clearly.

I was using Ubuntu 18.04 in the past, I guessed whether kdevelop would
adapt better in the old version, so I used the 16.04. But as you said, I
just installed Kdevelop 5.5.0 in Ubuntu 20.04 with the 'sudo apt-get
install kdevelop' command. When I try to import the yade-trunk project,
I still get error:

----in the GUI-----
Failed to configure project 'trunk' (error message: Configuration failed.). As 
a result, KDevelop's code understanding will likely be broken.

To fix this issue, please ensure that the project's CMakeLists.txt files
are correct, and KDevelop is configured to use the correct CMake version
and settings. Then right-click the project item in the projects tool
view and click 'Reload'.

----in the terminal----
kdevplatform.serialization: "The data-repository at 
/home/wangyu/.cache/kdevduchain/kdevelop-{e496a164-0d03-4699-b26d-27806e8f4ae2} 
has to be cleared."
Invalid Context= "Legacy" line for icon theme:  
"/usr/share/icons/Yaru/16x16/legacy/"
Invalid Context= "Legacy" line for icon theme:  
"/usr/share/icons/Yaru/22x22/legacy/"
Invalid Context= "Legacy" line for icon theme:  
"/usr/share/icons/Yaru/24x24/legacy/"
Invalid Context= "Legacy" line for icon theme:  
"/usr/share/icons/Yaru/32x32/legacy/"
Invalid Context= "Legacy" line for icon theme:  
"/usr/share/icons/Yaru/48x48/legacy/"
Invalid Context= "Apps" line for icon theme:  
"/usr/share/icons/Yaru/256x256@2x/apps/"
Invalid Context= "Mimetypes" line for icon theme:  
"/usr/share/icons/Yaru/256x256@2x/mimetypes/"
Invalid Context= "Mimetypes" line for icon theme:  
"/usr/share/icons/Yaru/scalable/mimetypes/"
Invalid Context= "Legacy" line for icon theme:  
"/usr/share/icons/Adwaita/8x8/legacy/"
Invalid Context= "Legacy" line for icon theme:  
"/usr/share/icons/Adwaita/16x16/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/16x16/ui/"
Invalid Context= "Legacy" line for icon theme:  
"/usr/share/icons/Adwaita/22x22/legacy/"
Invalid Context= "Legacy" line for icon theme:  
"/usr/share/icons/Adwaita/24x24/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/24x24/ui/"
Invalid Context= "Legacy" line for icon theme:  
"/usr/share/icons/Adwaita/32x32/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/32x32/ui/"
Invalid Context= "Legacy" line for icon theme:  
"/usr/share/icons/Adwaita/48x48/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/48x48/ui/"
Invalid Context= "Legacy" line for icon theme:  
"/usr/share/icons/Adwaita/64x64/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/64x64/ui/"
Invalid Context= "Legacy" line for icon theme:  
"/usr/share/icons/Adwaita/96x96/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/96x96/ui/"
Invalid Context= "Legacy" line for icon theme:  
"/usr/share/icons/Adwaita/256x256/legacy/"
Invalid Context= "Legacy" line for icon theme:  
"/usr/share/icons/Adwaita/512x512/legacy/"
Invalid Context= "Legacy" line for icon theme:  
"/usr/share/icons/Adwaita/scalable/legacy/"
Invalid Context= "UI" line for icon theme:  
"/usr/share/icons/Adwaita/scalable/ui/"
Qt WebEngine seems to be initialized from a plugin. Please set 
Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute before 
constructing QGuiApplication.
Connecting to deprecated signal 
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdevplatform.util: Path::init: invalid/unsupported Path encountered:  
http://clang-tidy
qrc:/qml/Develop.qml:139:21: QML Heading: Binding loop detected for property 
"font.pointSize"
qrc:/qml/area_code.qml:87:9: QML Heading: Binding loop detected for property 
"font.pointSize"
qrc:/qml/area_code.qml:63:9: QML Heading: Binding loop detected for property 
"font.pointSize"
qrc:/qml/storage.js:24: TypeError: Cannot call method 'openDatabaseSync' of 
undefined
qrc:/qml/storage.js:24: TypeError: Cannot call method 'openDatabaseSync' of 
undefined
Couldn't start kuiserver from org.kde.kuiserver.service: 
QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name 
org.kde.kuiserver was not provided by any .service files")
kdevelop.plugins.git: couldn't find the git root for 
QUrl("file:///home/wangyu/yade/trunk")
kdevelop.plugins.cmake: couldn't open CMakeCache.txt 
"/home/wangyu/yade/trunk/build/CMakeCache.txt"
kdevelop.plugins.cmake: error!! 
QJsonObject({"cookie":"","errorMessage":"Configuration 
failed.","inReplyTo":"configure","type":"error"})
kdevelop.plugins.cmake: couldn't load project successfully "trunk"
Unsupported return type 1123 QAction* in method "addAction"
Skipped method "setDefaultShortcuts" : Pointers are not supported: QAction*
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
sonnet.plugins.hspell: HSpellDict::HSpellDict: Init failed

--------------------------------------
I didn't post the error message before because there are too many errors. 
This time, I guess that the key to the problem is these lines:
-----
kdevelop.plugins.cmake: couldn't open CMakeCache.txt 
"/home/wangyu/yade/trunk/build/CMakeCache.txt"
kdevelop.plugins.cmake: error!! 
QJsonObject({"cookie":"","errorMessage":"Configuration 
failed.","inReplyTo":"configure","type":"error"})
kdevelop.plugins.cmake: couldn't load project successfully "trunk"
-------

I checked that my cmake installation is no problem, the cmake version is
3.16.3.

I'm still very confused, and I'd like to know how you installed
kdevelop.


Thanks a lot
Yu

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to