[Interest] Need help to configure qt6 under Windows 10
Liang Jian
jianliang79 at gmail.com
Tue Mar 2 10:26:45 CET 2021
Hi everyone, I have a problem configuring qt6 under Windows 10, msvc 2019.
My building environment is as follows:
1) I use the latest qt 6.1 branch from git
2) I have msvc 2019 installed under a windows 10 x64 machine
3) I have installed cmake 3.19.6 and copied the latest ninja.exe to
cmake installation path (which is C:\Program Files\CMake\bin) and I am sure
when I build qt6 from source cmake used is the one installed by me instead
of the one installed with msvc
4) I have installed Active perl 5.4.2/Active python 2.7.2
I build qt6 with the following commands:
> mkdir qt6-build
> cd qt6-build
> ..\qt5\configure.bat -prefix ..\qt6-win64 -developer-build -opengl
> desktop -D QT_NO_BUILD_TESTS=ON -D QT_NO_MAKE_EXAMPLES=ON -skip qt3d -skip
> qtwebengine
configure process failed with the following error messages:
...
> QtQuick3D:
> Assimp ................................. yes
> System Assimp .......................... no
> WARNING: QDoc will not be compiled, probably because libclang could not be
> located. This means that you cannot build the Qt documentation.
> Either set CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your
> llvm installation.
> On Linux systems, you may be able to install libclang by installing the
> libclang-dev or libclang-devel package, depending on your distribution.
> On macOS, you can use Homebrew's llvm package.
> You will also need to set the FEATURE_clang CMake variable to ON to
> re-evaluate this check.
> WARNING: Clang-based lupdate parser will not be available. LLVM and Clang
> C++ libraries have not been found.
> You will need to set the FEATURE_clangcpp CMake variable to ON to
> re-evaluate this check.
> Qt is now configured for building. Just run 'cmake --build . --parallel'
> Once everything is built, you must run 'cmake --install .'
> Qt will be installed into 'E:/qt6-win64'
> To configure and build other Qt modules, you can use the following
> convenience script:
> E:/qt6-win64/bin/qt-configure-module.bat
> If reconfiguration fails for some reason, try to remove 'CMakeCache.txt'
> from the build directory
> -- Configuring incomplete, errors occurred!
> See also "E:/qt6-win64/CMakeFiles/CMakeOutput.log".
> See also "E:/qt6-win64/CMakeFiles/CMakeError.log".
> CMake Error at E:/qt5/qtbase/cmake/QtProcessConfigureArgs.cmake:823
> (message):
> CMake exited with code 1.
I just can't figure out where the error comes from. I have no clue how
I can solve this configuration error.
CMakeOutput.log and CMakeError.log have been attached.
Any suggestion is welcome! Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20210302/01efdc3d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeError.log
Type: application/octet-stream
Size: 45908 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20210302/01efdc3d/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeOutput.log
Type: application/octet-stream
Size: 31299 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20210302/01efdc3d/attachment-0003.obj>
More information about the Interest
mailing list