-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[package] qt/6.5.0: Build failure when -o qt:qtdeclarative=True
when running qsb.exe
#17781
Comments
I tried and the compilation succeeds using these options : so the issue must be with one of the options that I am using. The list is quite long so advices are welcomed! 🙂 |
It turned out that this issue was caused by building the Qt conan package in a Docker image, which is based on Windows servercore : https://hub.docker.com/_/microsoft-windows-servercore . Doing
fixed the issue. Relevant threads : Still : the weird thing is that even without copying dcomp.dll into the docker image : I see the issue when I execute : |
We are trying to use this docker image https://hub.docker.com/_/microsoft-windows-servercore We receive this build error :
Looking around, I see that others are also experiencing the same issue : So I tried 2 things :
but I still have the same build issue (about qsb.exe) even with this change. 2.: to use mcr.microsoft.com/windows:20H2 instead of mcr.microsoft.com/windows/servercore:ltsc2019 . Using this image, the build succeeds. But : this image is much larger in size. We would prefer to keep using mcr.microsoft.com/windows/servercore:ltsc2019 . |
Description
I am trying to build Qt 6.5.0 using the following command :
conan create recipes/qt/6.x.x qt/6.5.0@jenkins-clt/stable --build=missing -s build_type =Release -o qt:gui=True -o qt:with_pcre2=True -o qt:with_glib=False -o qt:with_doubleconversion=True -o qt:with_harfbuzz=True -o qt:with_libjpeg=libjpeg-turb o -o qt:with_libpng=True -o qt:with_sqlite3=False -o qt:with_mysql=False -o qt:with_pq=False -o qt:with_odbc=False -o qt:with_brotli=False -o qt:with_openal= False -o qt:with_zstd=False -o qt:qtimageformats=False -o qt:qttranslations=True -o qt:qtdeclarative=True -o qt:qtsvg=True -o qt:qttools=True -o qt:qtshadert ools=True -o qt:qtlocation=False -o qt:qtpositioning=False -o qt:qtgrpc=False -o qt:qtquickeffectmaker=False -o zlib:shared=False -o harfbuzz:with_glib=False -o freetype:with_brotli=False -o qt:shared=True -o qt:qtactiveqt=False -o qt:widgets=False -o qt:opengl=dynamic -o qt:qtwebsockets=True -o qt:qtnetworkauth= True
The build is failing with this error :
Could you please advise how this could be fixed?
Package and Environment Details
Conan profile
[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=Visual Studio
compiler.version=17
[options]
[conf]
[build_requires]
[env]
Steps to reproduce
conan create recipes/qt/6.x.x qt/6.5.0@jenkins-clt/stable --build=missing -s build_type
=Release -o qt:gui=True -o qt:with_pcre2=True -o qt:with_glib=False -o qt:with_doubleconversion=True -o qt:with_harfbuzz=True -o qt:with_libjpeg=libjpeg-turb
o -o qt:with_libpng=True -o qt:with_sqlite3=False -o qt:with_mysql=False -o qt:with_pq=False -o qt:with_odbc=False -o qt:with_brotli=False -o qt:with_openal=
False -o qt:with_zstd=False -o qt:qtimageformats=False -o qt:qttranslations=True -o qt:qtdeclarative=True -o qt:qtsvg=True -o qt:qttools=True -o qt:qtshadert
ools=True -o qt:qtlocation=False -o qt:qtpositioning=False -o qt:qtgrpc=False -o qt:qtquickeffectmaker=False -o zlib:shared=False -o harfbuzz:with_glib=False
-o freetype:with_brotli=False -o qt:shared=True -o qt:qtactiveqt=False -o qt:widgets=False -o qt:opengl=dynamic -o qt:qtwebsockets=True -o qt:qtnetworkauth=
True
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: