ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

snapshot for December 2023
‹ December 2023 ›×
Cristián 🥑the dev team, almost on a daily basis, and I'm certain more folks around here. Is there any specific you are looking for?
when i try to build pyside6 on windows i came to error [INFO]: running build [ERROR]: Could not find Qt. You can pass the --qt-target-path=<qt-dir> option as a hint where to find Qt. . . . RuntimeError: Failed to configure CMake project: 'C:/Users/Ahmad/AppData/Local/Programs/Python/pyside-setup/sources/shiboken6/config.t ests/target_qt_mkspec' Configure args were: C:\Program Files\CMake\bin\cmake.EXE -G Ninja -S C:/Users/Ahmad/AppData/Local/Programs/Python/pyside-setup/sources/s hiboken6/config.tests/target_qt_mkspec -B C:/Users/Ahmad/AppData/Local/Programs/Python/pyside-setup/build/config.tests\t arget_qt_mkspec_u0ki60fo -DCMAKE_PREFIX_PATH=C:/Qt/6.6.1/mingw_64 -DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe Return code: 1 with error: CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. Output: -- Configuring incomplete, errors occurred! Traceback (most recent call last): File "C:\Users\Ahmad\AppData\Local\Programs\Python\pyside-setup\setup.py", line 42, in <module> setup_runner.run_setup() File "C:\Users\Ahmad\AppData\Local\Programs\Python\pyside-setup\build_scripts\setup_runner.py", line 263, in run_setup raise RuntimeError(msg) RuntimeError: setup.py invocation failed with exit code: 1. used command: python setup.py build --qtpaths="C:\Qt\6.6.1\mingw_64\bin\qtpaths.exe" --openssl="C:\My Files\Apps To Path\OpenSSL\bin" --build-tests --ignore-git --parallel=8
K
Do you have clang installed? You'll need that for shiboken.
Keith KyzivatIt spells it out right there I believe. You're missing the "ninja" build tool. Download it, install it, and put it in your PATH. Then retry. I believe your setup.py command line looks correct.
Failed to configure CMake project: 'C:/Users/Ahmad/AppData/Local/Programs/Python/pyside-setup/sources/shiboken6/config.tests/target_qt_mkspec' Configure args were: C:\Program Files\CMake\bin\cmake.EXE -G Ninja -S C:/Users/Ahmad/AppData/Local/Programs/Python/pyside-setup/sources/shiboken6/config.tests/target_qt_mkspec -B C:/Users/Ahmad/AppData/Local/Programs/Python/pyside-setup/build/config.tests\target_qt_mkspec_lxav6f86 -DCMAKE_PREFIX_PATH=C:/Qt/6.6.1/mingw_64 -DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe Return code: 1 with error: CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. Output: -- Configuring incomplete, errors occurred!
Y
is VS 2019 necessary ?
B
Any QtWizard example of how to create program installers, can you please provide me
I think it's --qmake-path=...
K
(you can confirm this by looking in the build_scripts dir. One of those files are what parses the command line options.
C
You can avoid dealing with the qt paths when building by having the qtpaths you want to use in your PATH. But it seems that the problem lies in that you are mixing mingw and vs, I see in your log that you are using a Qt for mingw, are you certain ninja is on that path? Maybe you can try with a cmd with the vs variables in PATH and see if you have the same mechanism. It might be related to mingw
Y
Y
Keith KyzivatMingw and not VS at all, I don't know. It may be that PySide doesn't support the Qt MinGW build? Ninja being in its own path should be fine - that's what I do. Just make sure it's on the PATH.
oh.. i see ninja is on Path Failed to configure CMake project: 'C:/Users/Ahmad/AppData/Local/Programs/Python/pyside-setup/sources/shiboken6/config.t ests/target_qt_mkspec' Configure args were: C:\Program Files\CMake\bin\cmake.EXE -G Ninja -S C:/Users/Ahmad/AppData/Local/Programs/Python/pyside-setup/sources/s hiboken6/config.tests/target_qt_mkspec -B C:/Users/Ahmad/AppData/Local/Programs/Python/pyside-setup/build/config.tests\t arget_qt_mkspec_5vxaww31 -DCMAKE_PREFIX_PATH=C:/Qt/6.6.1/mingw_64 -DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe Return code: 1 with error: CMake Error at CMakeLists.txt:5 (project): The CMAKE_CXX_COMPILER: cl.exe is not a full path and was not found in the PATH. Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH. Output: -- The CXX compiler identification is unknown -- Configuring incomplete, errors occurred! Traceback (most recent call last): File "C:\Users\Ahmad\AppData\Local\Programs\Python\pyside-setup\setup.py", line 42, in <module> setup_runner.run_setup() File "C:\Users\Ahmad\AppData\Local\Progr new error :) maybe i should install VS and try again
B
Any QtWizard example of how to create program installers, can you please provide me
Calendar: December 2023
MoTuWeThFrSaSu12345678931011111112101361415161611731831920211222324252652718282973027316
Archive by month
Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog