You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eprintln!("Candidate qmake executable `{executable_name}` is for Qt{qmake_version} but QT_VERSION_MAJOR environment variable specified as {qt_version_major}. Trying next candidate executable name `{}`...", candidate_executable_names[index + 1]);
389
400
continue;
390
401
}
391
402
Err(QtBuildError::QtMissing) => continue,
392
-
Err(e) => returnErr(e),
403
+
Err(e) => returnErr(e.into()),
393
404
}
394
405
}
395
406
396
-
Err(QtBuildError::QtMissing)
407
+
Err(QtBuildError::QtMissing.into())
397
408
}
398
409
399
410
/// Get the output of running `qmake -query var_name`
@@ -620,6 +631,7 @@ impl QtBuild {
620
631
621
632
/// Version of the detected Qt installation
622
633
pubfnversion(&self) -> &SemVer{
634
+
let _ = self.qt_installation.version();
623
635
&self.version
624
636
}
625
637
@@ -683,6 +695,9 @@ impl QtBuild {
683
695
/// as well as the path to the generated metatypes.json file, which can be passed to [register_qml_module](Self::register_qml_module).
0 commit comments