How to disable ds-populate task
-
wrote on 6 Sept 2023, 03:06 last edited by
Hi there,
I got network issue and cannot load qt project, it seems that there's a step calledds-populate
that will try to fetch something from a git repo. It's fetching everytime I open the project and took long time and finally failed, and thus not able to run either, I'm wondering if it's possible to disable it?Here's the log:
[0/7] Performing update step for 'ds-populate' fatal: unable to access 'https://code.qt.io/qt-labs/qtquickdesigner-components.git/': Recv failure: Connection reset by peer CMake Error at /Users/riguz/Documents/workspace/build-TextLoud-Qt_6_5_2_for_macOS-Debug/_deps/ds-subbuild/ds-populate-prefix/tmp/ds-populate-gitupdate.cmake:97 (execute_process): execute_process failed command indexes: 1: "Child return code: 128" FAILED: ds-populate-prefix/src/ds-populate-stamp/ds-populate-update /Users/riguz/Documents/workspace/build-TextLoud-Qt_6_5_2_for_macOS-Debug/_deps/ds-subbuild/ds-populate-prefix/src/ds-populate-stamp/ds-populate-update cd /Users/riguz/Documents/workspace/build-TextLoud-Qt_6_5_2_for_macOS-Debug/_deps/ds-src && /Users/riguz/Qt/Tools/CMake/CMake.app/Contents/bin/cmake -P /Users/riguz/Documents/workspace/build-TextLoud-Qt_6_5_2_for_macOS-Debug/_deps/ds-subbuild/ds-populate-prefix/tmp/ds-populate-gitupdate.cmake ninja: build stopped: subcommand failed. CMake Error at /Users/riguz/Qt/Tools/CMake/CMake.app/Contents/share/cmake-3.24/Modules/FetchContent.cmake:1604 (message): Build step for ds failed: 1 Call Stack (most recent call first): /Users/riguz/Qt/Tools/CMake/CMake.app/Contents/share/cmake-3.24/Modules/FetchContent.cmake:1744:EVAL:2 (__FetchContent_directPopulate) /Users/riguz/Qt/Tools/CMake/CMake.app/Contents/share/cmake-3.24/Modules/FetchContent.cmake:1744 (cmake_language) qmlcomponents:16 (FetchContent_Populate) CMakeLists.txt:32 (include) -- Configuring incomplete, errors occurred! See also "/Users/riguz/Documents/workspace/build-TextLoud-Qt_6_5_2_for_macOS-Debug/CMakeFiles/CMakeOutput.log". CMake process exited with exit code 1. Elapsed time: 02:01.
-
Hi there,
I got network issue and cannot load qt project, it seems that there's a step calledds-populate
that will try to fetch something from a git repo. It's fetching everytime I open the project and took long time and finally failed, and thus not able to run either, I'm wondering if it's possible to disable it?Here's the log:
[0/7] Performing update step for 'ds-populate' fatal: unable to access 'https://code.qt.io/qt-labs/qtquickdesigner-components.git/': Recv failure: Connection reset by peer CMake Error at /Users/riguz/Documents/workspace/build-TextLoud-Qt_6_5_2_for_macOS-Debug/_deps/ds-subbuild/ds-populate-prefix/tmp/ds-populate-gitupdate.cmake:97 (execute_process): execute_process failed command indexes: 1: "Child return code: 128" FAILED: ds-populate-prefix/src/ds-populate-stamp/ds-populate-update /Users/riguz/Documents/workspace/build-TextLoud-Qt_6_5_2_for_macOS-Debug/_deps/ds-subbuild/ds-populate-prefix/src/ds-populate-stamp/ds-populate-update cd /Users/riguz/Documents/workspace/build-TextLoud-Qt_6_5_2_for_macOS-Debug/_deps/ds-src && /Users/riguz/Qt/Tools/CMake/CMake.app/Contents/bin/cmake -P /Users/riguz/Documents/workspace/build-TextLoud-Qt_6_5_2_for_macOS-Debug/_deps/ds-subbuild/ds-populate-prefix/tmp/ds-populate-gitupdate.cmake ninja: build stopped: subcommand failed. CMake Error at /Users/riguz/Qt/Tools/CMake/CMake.app/Contents/share/cmake-3.24/Modules/FetchContent.cmake:1604 (message): Build step for ds failed: 1 Call Stack (most recent call first): /Users/riguz/Qt/Tools/CMake/CMake.app/Contents/share/cmake-3.24/Modules/FetchContent.cmake:1744:EVAL:2 (__FetchContent_directPopulate) /Users/riguz/Qt/Tools/CMake/CMake.app/Contents/share/cmake-3.24/Modules/FetchContent.cmake:1744 (cmake_language) qmlcomponents:16 (FetchContent_Populate) CMakeLists.txt:32 (include) -- Configuring incomplete, errors occurred! See also "/Users/riguz/Documents/workspace/build-TextLoud-Qt_6_5_2_for_macOS-Debug/CMakeFiles/CMakeOutput.log". CMake process exited with exit code 1. Elapsed time: 02:01.
Hi, and welcome!
@Riguz-Lee said in How to disable ds-populate task:
I got network issue and cannot load qt project, it seems that there's a step called
ds-populate
that will try to fetch something from a git repo. It's fetching everytime I open the project and took long time and finally failed, and thus not able to run either, I'm wondering if it's possible to disable it?Look in your top-level CMakeLists.txt for a variable called
BUILD_QDS_COMPONENTS
. Change it fromON
toOFF
. -
Hi, and welcome!
@Riguz-Lee said in How to disable ds-populate task:
I got network issue and cannot load qt project, it seems that there's a step called
ds-populate
that will try to fetch something from a git repo. It's fetching everytime I open the project and took long time and finally failed, and thus not able to run either, I'm wondering if it's possible to disable it?Look in your top-level CMakeLists.txt for a variable called
BUILD_QDS_COMPONENTS
. Change it fromON
toOFF
.wrote on 6 Sept 2023, 06:48 last edited by@JKSH said in How to disable ds-populate task:
BUILD_QDS_COMPONENTS
-
@JKSH said in How to disable ds-populate task:
BUILD_QDS_COMPONENTS
Thanks for reply, I tried but does not work:
@Riguz-Lee Did you try to delete build folder to start the build from scratch?
1/4