[Interest] Errors while building Qt 6 on Windows
Daljit Singh
daljit97 at live.com
Mon Feb 20 14:19:38 CET 2023
Hi all,
I’m trying to build Qt 6 on Windows 11, but I’m getting some errors when I run ./configure that I can’t understand the cause of.
I used the following instructions:
git clone git://code.qt.io/qt/qt5.git qt
git checkout dev
perl ./init-repository --module-subset=qtbase,qtshadertools,qtdeclarative
However, when I run ./configure I get these errors:
CMake Error at qtbase/cmake/QtExecutableHelpers.cmake:466 (message):
Unable to build syncqt: Change Dir:
C:/Qt/6.5.0/qt6_source/qt/qtbase/src/tools/syncqt/configure_time_bins
Run Build Command(s):C:/Qt/Tools/Ninja/ninja.exe && [1/1] Linking CXX
executable C:\Qt\6.5.0\qt6_source\qt\qtbase\bin\syncqt.exe
FAILED: C:/Qt/6.5.0/qt6_source/qt/qtbase/bin/syncqt.exe
cmd.exe /C "cd . && C:\Strawberry\c\bin\c++.exe -O2 -g -DNDEBUG
CMakeFiles/syncqt.dir/main.cpp.obj -o
C:\Qt\6.5.0\qt6_source\qt\qtbase\bin\syncqt.exe
-Wl,--out-implib,libsyncqt.dll.a
-Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32
-lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32
-ladvapi32 && cd ."
C:/Strawberry/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
CMakeFiles/syncqt.dir/main.cpp.obj: in function
`std::filesystem::__cxx11::operator==(std::filesystem::__cxx11::path
const&, std::filesystem::__cxx11::path const&)':
C:/Strawberry/c/lib/gcc/x86_64-w64-mingw32/8.3.0/include/c++/bits/fs_path.h:514:
undefined reference to
`std::filesystem::__cxx11::path::compare(std::filesystem::__cxx11::path
const&) const'
The full log can seen here https://pastebin.com/8jZ4pA3E
Does anyone have any clue on what might be the problem?
Best,
Daljit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20230220/77ba5c0e/attachment.htm>
More information about the Interest
mailing list