File tree Expand file tree Collapse file tree
src/plugins/ProjectManager Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -679,14 +679,15 @@ auto ProjectBuildConfig::updateBinariesMeson() -> void {
679679
680680 auto output = process.readAllStandardOutput ();
681681 if (output.isEmpty ()) {
682- qCritical () << " No output from meson introspect." ;
682+ qCritical () << " updateBinariesMeson: No output from meson introspect." ;
683683 return {};
684684 }
685685
686686 auto parseError = QJsonParseError ();
687687 auto doc = QJsonDocument::fromJson (output, &parseError);
688688 if (parseError.error != QJsonParseError::NoError) {
689- qCritical () << " Failed to parse JSON:" << parseError.errorString ();
689+ qCritical () << " updateBinariesMeson: Failed to parse JSON:" << parseError.errorString ()
690+ << output << " builddir:" << buildDir;
690691 return {};
691692 }
692693
@@ -707,7 +708,9 @@ auto ProjectBuildConfig::updateBinariesMeson() -> void {
707708 return result;
708709 };
709710
710- auto executables = findMesonExecutables (this ->sourceDir , this ->buildDir );
711+ auto sourceDir = expand (this ->sourceDir );
712+ auto buildDir = expand (this ->buildDir );
713+ auto executables = findMesonExecutables (sourceDir, buildDir);
711714 this ->executables .clear ();
712715 for (auto it = executables.constBegin (); it != executables.constEnd (); ++it) {
713716 auto name = it.key ();
You can’t perform that action at this time.
0 commit comments