Skip to content

Commit

Permalink
[qtopcua] fix missing python and add warnings (microsoft#31111)
Browse files Browse the repository at this point in the history
Co-authored-by: Billy Robert O'Neal III <[email protected]>
  • Loading branch information
autoantwort and BillyONeal authored Apr 26, 2023
1 parent e5eb69d commit 7ec2e3f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ports/qtopcua/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,19 @@ INVERTED_FEATURES
if("open62541" IN_LIST FEATURES)
list(APPEND FEATURE_OPTIONS -DINPUT_open62541=system
-DHAVE_open62541=true)
vcpkg_find_acquire_program(PYTHON3)
else()
list(APPEND FEATURE_OPTIONS -DINPUT_open62541=no)
endif()

if("uacpp" IN_LIST FEATURES)
message(WARNING "\nPlease note that you have to install the Unified Automation C++ SDK yourself.\n")
endif()

qt_install_submodule(PATCHES ${${PORT}_PATCHES}
CONFIGURE_OPTIONS
${FEATURE_OPTIONS}
"-DPYTHON_EXECUTABLE=${PYTHON3}"
CONFIGURE_OPTIONS_RELEASE
CONFIGURE_OPTIONS_DEBUG
)
1 change: 1 addition & 0 deletions ports/qtopcua/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "qtopcua",
"version": "6.5.0",
"port-version": 1,
"description": "Qt wrapper for existing OPC UA stacks",
"homepage": "https://www.qt.io/",
"license": null,
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6694,7 +6694,7 @@
},
"qtopcua": {
"baseline": "6.5.0",
"port-version": 0
"port-version": 1
},
"qtpositioning": {
"baseline": "6.5.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/q-/qtopcua.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "efe3fbd8d37c121fbb7758de82fac9bd4b315a77",
"version": "6.5.0",
"port-version": 1
},
{
"git-tree": "4e08f45ca76dba44e3de1c48d6210e1d987f44b3",
"version": "6.5.0",
Expand Down

0 comments on commit 7ec2e3f

Please sign in to comment.