Skip to content

Commit

Permalink
[py-pyqt5] Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Mar 3, 2024
1 parent 3525d0c commit 5846f0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ports/py-pyqt5/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ set(SIPBUILD_ARGS

vcpkg_backup_env_variables(VARS PATH)

vcpkg_add_to_path(PREPEND "${CURRENT_HOST_INSTALLED_DIR}/tools/python3/Scripts/" "${CURRENT_HOST_INSTALLED_DIR}/tools/qt5/bin/" "${CURRENT_HOST_INSTALLED_DIR}/bin")
vcpkg_add_to_path(PREPEND "${CURRENT_HOST_INSTALLED_DIR}/tools/python3/Scripts/")

message(STATUS "Running sipbuild...")
vcpkg_execute_required_process(
Expand All @@ -46,4 +46,6 @@ vcpkg_replace_string("${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/inventory.

vcpkg_qmake_build(BUILD_LOGNAME "install" TARGETS "install")

vcpkg_restore_env_variables(VARS PATH)

vcpkg_python_test_import(MODULE "PyQt5.QtCore")
1 change: 1 addition & 0 deletions ports/py-pyqt5/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "py-pyqt5",
"version": "5.15.10",
"port-version":1,
"description": "Python bindings for the Qt cross platform application toolkit",
"homepage": "https://www.riverbankcomputing.com/software/pyqt/",
"dependencies": [
Expand Down

0 comments on commit 5846f0b

Please sign in to comment.