Comments (6)
can you give me an expanded trace with --trace-expand
?
Probably an easy fix by adjusting the script
from vcpkg.
--trace-expand
which command this arg is apply to?
-- Running Qt deploy tool for E:/VTSLink/Client/VTSLink/out/build/x64-RelWithDebInfo/bin/VTSLink.exe in working directory 'E:/VTSLink/Client/VTSLink/out/install/x64-RelWithDebInfo'
'E:/VTSLink/Client/VTSLink/out/build/x64-RelWithDebInfo/vcpkg_installed/x64-windows/tools/Qt6/bin/windeployqt.exe' 'E:/VTSLink/Client/VTSLink/out/build/x64-RelWithDebInfo/bin/VTSLink.exe' '--dir' '.' '--libdir' 'bin' '--plugindir' 'plugins' '--qml-deploy-dir' 'qml' '--translationdir' 'translations' '--force' '--qtpaths' 'E:/VTSLink/Client/VTSLink/out/build/x64-RelWithDebInfo/vcpkg_installed/x64-windows/bin/qtpaths.exe'
Error: "E:\VTSLink\Client\VTSLink\out\build\x64-RelWithDebInfo\vcpkg_installed\x64-windows\bin\qtpaths.exe" does not exist.
CMake Error at vcpkg_installed/x64-windows/share/Qt6Core/Qt6CoreDeploySupport.cmake:528 (message):
Executing
E:/VTSLink/Client/VTSLink/out/build/x64-RelWithDebInfo/vcpkg_installed/x64-windows/tools/Qt6/bin/windeployqt.exe
failed: 1
Call Stack (most recent call first):
.qt/deploy_VTSLink_bfe1574f6c.cmake:5 (qt6_deploy_runtime_dependencies)
cmake_install.cmake:58 (include)
vcpkg.json
{
"name": "vts-link-client",
"license": "GPL-2.0-only",
"dependencies": [
{
"name": "libdatachannel",
"default-features": true,
"features": [ "ws", "stdcall" ]
},
{
"name": "ffmpeg",
"default-features": true,
"features": [ "nvcodec", "qsv", "amf" ]
},
{
"name": "grpc",
"default-features": true,
"features": [ "codegen" ]
},
"amd-amf",
"mfx-dispatch",
"protobuf",
"concurrentqueue",
"crashpad",
"libqrencode",
"detours",
"pthreads",
{
"name": "spout2",
"default-features": true,
"features": [ "dx" ]
},
{
"name": "qtbase",
"default-features": false,
"features": [
"gui",
"network",
"thread",
"widgets",
"png"
]
},
"qttools",
"qttranslations",
"directxtk",
{
"name": "opencv2",
"default-features": true,
"features": [ "png" ]
}
],
"overrides": [
{
"name": "openssl",
"version-string": "1.1.1m#2"
},
{
"name": "qtbase",
"version-string": "6.7.0"
},
{
"name": "qttools",
"version-string": "6.7.0#1"
},
{
"name": "qttranslations",
"version-string": "6.7.0"
}
],
"supports": "windows",
"vcpkg-configuration": {
"default-registry": {
"kind": "git",
"repository": "https://github.com/cnSchwarzer/vcpkg",
"baseline": "bee2447e324d4a59fe460640683adbd2df3d8373",
"reference": "reito"
},
"registries": [
]
}
}
from vcpkg.
Patch 1:
diff --git a/src/corelib/Qt6CoreMacros.cmake b/src/corelib/Qt6CoreMacros.cmake
index 8a0d07feac..0e6a720c20 100644
--- a/src/corelib/Qt6CoreMacros.cmake
+++ b/src/corelib/Qt6CoreMacros.cmake
@@ -2977,13 +2977,15 @@ function(_qt_internal_setup_deploy_support)
if(CMAKE_HOST_WIN32)
if(CMAKE_CROSSCOMPILING)
set(qt_paths_ext ".bat")
+ elseif(CMAKE_BUILD_TYPE STREQUAL "Debug")
+ set(qt_paths_ext ".debug.bat")
else()
set(qt_paths_ext ".exe")
endif()
else()
set(qt_paths_ext "")
endif()
- set(target_qtpaths_path "${QT6_INSTALL_PREFIX}/${QT6_INSTALL_BINS}/qtpaths${qt_paths_ext}")
+ set(target_qtpaths_path "${QT6_INSTALL_PREFIX}/tools/Qt6/bin/qtpaths${qt_paths_ext}")
file(GENERATE OUTPUT "${QT_DEPLOY_SUPPORT}" CONTENT
"cmake_minimum_required(VERSION 3.16...3.21)
from vcpkg.
it also trying to find all debug dlls under vcpkg_installed/x64-windows/bin instead of vcpkg_installed/x64_windows/debug/bin.
For debug libs it needs to use windeployqt.debug.bat
. The target should be setup accordingly. Did you call find_package
with CoreTools
?
from vcpkg.
And for testing you can just manually edit the installed tree with the patch above. That avoids reinstalling all of qt.
from vcpkg.
The patch works! Thanks. Would you submit a PR?
from vcpkg.
Related Issues (20)
- [WinReg] update to v6.3.0
- [fakeit] Missing *.cmake files on Linux installation HOT 7
- [portaudio] Add JACK and ASIO backend support HOT 1
- [armadillo] Build error on x64-mingw-static HOT 1
- [glew] Build error on x64-windows HOT 1
- [glew] Build error on x64-windows HOT 1
- [freeimage] Fatal build when add costom definition under editable mode. HOT 4
- [openal-soft] Re-enable the DirectSound backend HOT 2
- [Boost-regex] Build error "stdio.h:83:8: error: 'FILE' does not name a type" HOT 2
- cv::dnn::dnn4_v20230620::Net::Impl::setUpNet DNN module was not built with CUDA backend; switching to CPU
- [New Port Request] Boost - Version 1.86.0 HOT 1
- [libmysql] Build error on x64-windows HOT 5
- Downloading vcpkg.exe failed. HOT 1
- [suitesparse] Build error on x64-linux
- [glib] Build error on arm64-linux HOT 1
- [pqp] build failure HOT 2
- [sqlpp11] Build error on x64-windows-static-md HOT 4
- Build failure on a proJect using geos 3.12.2 of vcpkg HOT 2
- hash mismatch problems -- vcpkg-cmake and vcpkg-cmake-config? HOT 1
- [python3] Build error on arm64-osx HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vcpkg.