Groterik / qtcreator-dlangeditor

QtCreator plugin for D language support (dlang)
MIT License
20 stars 5 forks source link

DUB include paths not available in DCD code model #17

Open stonemaster opened 9 years ago

stonemaster commented 9 years ago

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

Groterik commented 9 years ago

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