Add Windows App SDK library path to the runtime
By adding Windows App SDK library path, it can be loaded from that path so in order to run and debug the app via QtCreator, users won't need to copy Microsoft.WindowsAppRuntime.Bootstrap.dll to the build path. Task-number: QTBUG-124800 Change-Id: I33b6ab2bf9ca3ef31ba729b660f134d491aa43ed Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
482c41fb61
commit
49543ffe1c
@ -94,6 +94,8 @@ function(qt6_add_win_app_sdk target)
|
||||
PRIVATE "${generated_headers_path}")
|
||||
target_link_directories(${target}
|
||||
PRIVATE "${win_app_sdk_root}/lib/win10-${win_app_sdk_arch}")
|
||||
target_link_directories(${target}
|
||||
PRIVATE "${win_app_sdk_root}/runtimes/win-${win_app_sdk_arch}/native")
|
||||
target_link_libraries(${target}
|
||||
PRIVATE Microsoft.WindowsAppRuntime.lib Microsoft.WindowsAppRuntime.Bootstrap.lib)
|
||||
endfunction()
|
||||
|
Loading…
x
Reference in New Issue
Block a user