Change prebuilt URL for PyQt and Python when build-type is debug.

This commit is contained in:
Mikaël Capelle
2024-06-13 18:13:38 +02:00
parent 263ebd1461
commit 74f8ea9c08
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -47,7 +47,9 @@ namespace mob::tasks {
url prebuilt_url()
{
return make_prebuilt_url("PyQt6_gpl-prebuilt-" + pyqt::version() + ".7z");
return make_prebuilt_url(
"PyQt6_gpl-prebuilt-" + pyqt::version() +
(pyqt::build_type() == config::debug ? "-debug" : "") + ".7z");
}
// file created by sip-module.exe
+3 -1
View File
@@ -30,7 +30,9 @@ namespace mob::tasks {
url prebuilt_url()
{
return make_prebuilt_url("python-prebuilt-" + version_without_v() + ".7z");
return make_prebuilt_url(
"python-prebuilt-" + version_without_v() +
(python::build_type() == config::debug ? "-debug" : "") + ".7z");
}
fs::path solution_file()