Closed ghost closed 1 year ago
I get a very similar issue. I am running Arch Linux (DE: KDE Plasma 5.25.4). I installed rust via rustup. The issue happens with the stable toolchain as well as the nightly toolchain.
error: failed to run custom build command for 'qt_core v0.5.0'
Caused by:
process didn't exit successfully: '/home/teddy/Workspace/qt-test/target/debug/build/qt_core-b60d115055daa31e/build-script-build' (exit status: 1)
--- stdout
Current Qt version (5.15.5) is unknown to qt_core crate. Using closest known version (5.14.0)
--- stderr
[2022-09-01T09:18:29Z ERROR ritual_common::errors] Error:
[2022-09-01T09:18:29Z ERROR ritual_common::errors] failed to run command: "cmake" "-Wno-dev" "/home/teddy/.cargo/registry/src/github.com-1ecc6299db9ec823/qt_core-0.5.0/c_lib" "-DRITUAL_LIBRARY_TYPE=STATIC" "-DRITUAL_CPP_LIB_VERSION=51400" "-DRITUAL_INCLUDE_PATH=/usr/include/qt;/usr/include/qt/QtCore" "-DRITUAL_LIBRARY_PATH=/usr/lib" "-DRITUAL_FRAMEWORK_PATH=" "-DRITUAL_LINKED_LIBS=Qt5Core" "-DRITUAL_LINKED_FRAMEWORKS=" "-DRITUAL_COMPILER_FLAGS=-std=gnu++11 -fPIC" "-DRITUAL_QT=1" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=/home/teddy/Workspace/qt-test/target/debug/build/qt_core-fa33c17807f3c5f3/out/c_lib_install"
[2022-09-01T09:18:29Z ERROR ritual_common::errors] No such file or directory (os error 2)
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for 'qt_gui v0.5.0'
Caused by:
process didn't exit successfully: '/home/teddy/Workspace/qt-test/target/debug/build/qt_gui-7d4a50685a9fa4ea/build-script-build' (exit status: 1)
--- stdout
Current Qt version (5.15.5) is unknown to qt_gui crate. Using closest known version (5.14.0)
--- stderr
[2022-09-01T09:18:29Z ERROR ritual_common::errors] Error:
[2022-09-01T09:18:29Z ERROR ritual_common::errors] failed to run command: "cmake" "-Wno-dev" "/home/teddy/.cargo/registry/src/github.com-1ecc6299db9ec823/qt_gui-0.5.0/c_lib" "-DRITUAL_LIBRARY_TYPE=STATIC" "-DRITUAL_CPP_LIB_VERSION=51400" "-DRITUAL_INCLUDE_PATH=/usr/include/qt;/usr/include/qt/QtGui;/usr/include/qt/QtCore" "-DRITUAL_LIBRARY_PATH=/usr/lib" "-DRITUAL_FRAMEWORK_PATH=" "-DRITUAL_LINKED_LIBS=Qt5Gui;Qt5Core" "-DRITUAL_LINKED_FRAMEWORKS=" "-DRITUAL_COMPILER_FLAGS=-std=gnu++11 -fPIC" "-DRITUAL_QT=1" "-DRITUAL_QT=1" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=/home/teddy/Workspace/qt-test/target/debug/build/qt_gui-8d300cf7f75acfed/out/c_lib_install"
[2022-09-01T09:18:29Z ERROR ritual_common::errors] No such file or directory (os error 2)
error: failed to run custom build command for 'qt_widgets v0.5.0'
Caused by:
process didn't exit successfully: '/home/teddy/Workspace/qt-test/target/debug/build/qt_widgets-dae75554c2e0a651/build-script-build' (exit status: 1)
--- stdout
Current Qt version (5.15.5) is unknown to qt_widgets crate. Using closest known version (5.14.0)
--- stderr
[2022-09-01T09:18:29Z ERROR ritual_common::errors] Error:
[2022-09-01T09:18:29Z ERROR ritual_common::errors] failed to run command: "cmake" "-Wno-dev" "/home/teddy/.cargo/registry/src/github.com-1ecc6299db9ec823/qt_widgets-0.5.0/c_lib" "-DRITUAL_LIBRARY_TYPE=STATIC" "-DRITUAL_CPP_LIB_VERSION=51400" "-DRITUAL_INCLUDE_PATH=/usr/include/qt;/usr/include/qt/QtWidgets;/usr/include/qt/QtCore;/usr/include/qt/QtGui" "-DRITUAL_LIBRARY_PATH=/usr/lib" "-DRITUAL_FRAMEWORK_PATH=" "-DRITUAL_LINKED_LIBS=Qt5Widgets;Qt5Core;Qt5Gui" "-DRITUAL_LINKED_FRAMEWORKS=" "-DRITUAL_COMPILER_FLAGS=-std=gnu++11 -fPIC" "-DRITUAL_QT=1" "-DRITUAL_QT=1" "-DRITUAL_QT=1" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=/home/teddy/Workspace/qt-test/target/debug/build/qt_widgets-87165b03d6569f3a/out/c_lib_install"
[2022-09-01T09:18:29Z ERROR ritual_common::errors] No such file or directory (os error 2)
Hello, when trying to make a simple hello world application, this error appears. I have cmake available and on PATH and it seems to work on ritual too. Thanks.
I also have Qt 5.15.2 on
D:\Qt5\