qtcreator-dlangeditor icon indicating copy to clipboard operation
qtcreator-dlangeditor copied to clipboard

DUB include paths not available in DCD code model

Open stonemaster opened this issue 9 years ago • 1 comments

When using the DCD code model the external libraries defined in DUB as dependencies of my project aren't passed correctly to the DCD server. I have vibe.d and mysql-native defined as external dependencies but I get the following error from the DCD server started by the qtcreator-dlangeditor plugin:

2015-09-08T09:38:31.235:first.d:visit:378 Could not resolve location of module 'mysql/connection'
2015-09-08T09:38:31.235:first.d:visit:378 Could not resolve location of module 'mysql/db'
2015-09-08T09:38:31.235:first.d:visit:378 Could not resolve location of module 'vibe/d'
2015-09-08T09:38:31.238:server.d:main:241 Request processed in 5.43311 milliseconds

EDIT: I am using DCD 0.7.0

stonemaster avatar Sep 08 '15 08:09 stonemaster

Could you please run dub describe and check path and importPaths fields for dependencies (with appropriate name field)?

Groterik avatar Sep 13 '15 23:09 Groterik