Skip to content

Commit

Permalink
Change prebuilt URL for PyQt and Python when build-type is debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Holt59 committed Jun 13, 2024
1 parent 263ebd1 commit 74f8ea9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/tasks/pyqt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion src/tasks/python.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 74f8ea9

Please sign in to comment.