Skip to content
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/5.15.13: Build fails when with_md4c is disabled #23863

Open
jwillikers opened this issue May 3, 2024 · 0 comments
Open

[package] qt/5.15.13: Build fails when with_md4c is disabled #23863

jwillikers opened this issue May 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jwillikers
Copy link
Contributor

jwillikers commented May 3, 2024

Description

Certain functions are missing when building Qt 5.15.13 with the option with_md4c=False which cause the build to fail. Quite possibly related to QTBUG-121530.

compiling /var/home/jordan/.conan2/p/qtb860356b18bd1/s/qt5/qtdeclarative/src/quick/items/qquicktextedit.cpp
/var/home/jordan/.conan2/p/qtb860356b18bd1/s/qt5/qtdeclarative/src/quick/items/qquicktextcontrol.cpp: In member function ‘void QQuickTextControlPrivate::setContent(Qt::TextFormat, const QString&)’:
/var/home/jordan/.conan2/p/qtb860356b18bd1/s/qt5/qtdeclarative/src/quick/items/qquicktextcontrol.cpp:328:18: error: ‘class QTextDocument’ has no member named ‘setMarkdown’; did you mean ‘toMarkdown’?
  328 |             doc->setMarkdown(text);
      |                  ^~~~~~~~~~~
      |                  toMarkdown
compiling /var/home/jordan/.conan2/p/qtb860356b18bd1/s/qt5/qtdeclarative/src/quick/items/qquicktextutil.cpp
compiling /var/home/jordan/.conan2/p/qtb860356b18bd1/s/qt5/qtdeclarative/src/quick/items/qquickimagebase.cpp
compiling /var/home/jordan/.conan2/p/qtb860356b18bd1/s/qt5/qtdeclarative/src/quick/items/qquickimage.cpp
compiling /var/home/jordan/.conan2/p/qtb860356b18bd1/s/qt5/qtdeclarative/src/quick/items/qquickborderimage.cpp
compiling /var/home/jordan/.conan2/p/qtb860356b18bd1/s/qt5/qtdeclarative/src/quick/items/qquickscalegrid.cpp
/var/home/jordan/.conan2/p/qtb860356b18bd1/s/qt5/qtdeclarative/src/quick/items/qquicktext.cpp: In member function ‘void QQuickText::setText(const QString&)’:
/var/home/jordan/.conan2/p/qtb860356b18bd1/s/qt5/qtdeclarative/src/quick/items/qquicktext.cpp:1729:32: error: ‘class QQuickTextDocumentWithImageResources’ has no member named ‘setMarkdownText’
 1729 |                 d->extra->doc->setMarkdownText(n);
      |                                ^~~~~~~~~~~~~~~
/var/home/jordan/.conan2/p/qtb860356b18bd1/s/qt5/qtdeclarative/src/quick/items/qquicktext.cpp: In member function ‘virtual void QQuickText::componentComplete()’:
/var/home/jordan/.conan2/p/qtb860356b18bd1/s/qt5/qtdeclarative/src/quick/items/qquicktext.cpp:2762:32: error: ‘class QQuickTextDocumentWithImageResources’ has no member named ‘setMarkdownText’
 2762 |                 d->extra->doc->setMarkdownText(d->text);
      |                                ^~~~~~~~~~~~~~~
make[3]: *** [Makefile:166412: .obj/qquicktextcontrol.o] Error 1

Package and Environment Details

  • Package Name/Version: qt/5.15.13
  • Operating System+version: Fedora Linux 40
  • Compiler+version: GCC 14
  • Conan version: conan 2.2.3
  • Python version: Python 3.12.2

Conan profile

Profile host:
[settings]
arch=x86_64
build_type=Debug
compiler=gcc
compiler.cppstd=20
compiler.libcxx=libstdc++11
compiler.version=14
os=Linux
os.libc=gnu
os.libc.version=2.39
mold/:compiler.libcxx=libstdc++11
mesa/
:compiler.cppstd=17
[options]
qt/:shared=True
qt/
:with_md4c=False
wayland/:shared=True
[conf]
tools.cmake.cmake_layout:build_folder_vars=['settings.arch', 'settings.compiler', 'options.platform']
tools.cmake.cmaketoolchain:find_package_prefer_config=True
tools.cmake.cmaketoolchain:generator=Ninja
tools.cmake.cmaketoolchain:user_toolchain=['/var/home/jordan/.conan2/toolchains/mold.cmake']
tools.env.virtualenv:powershell=False
tools.system.package_manager:mode=install
tools.system.package_manager:sudo=True
[buildenv]
LD=gcc
CC_LD=mold
CXX_LD=mold
avahi/
:LD=!
gdbm/:LD=!
libalsa/
:LD=!
libffi/:LD=!
libiconv/
:LD=!
libmount/:LD=!
libtool/
:LD=!
libva/:CC_LD=!
flex/
:LD=!
hwloc/:LD=!
kmod/
:LD=!
pulseaudio/:CC_LD=!
util-linux-libuuid/
:CC_LD=!

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=20
compiler.libcxx=libstdc++11
compiler.version=14
os=Linux
os.libc=gnu
os.libc.version=2.39
mold/:compiler.libcxx=libstdc++11
mesa/
:compiler.cppstd=17
[options]
wayland/:shared=True
[conf]
tools.cmake.cmake_layout:build_folder_vars=['settings.arch', 'settings.compiler', 'options.platform']
tools.cmake.cmaketoolchain:find_package_prefer_config=True
tools.cmake.cmaketoolchain:generator=Ninja
tools.cmake.cmaketoolchain:user_toolchain=['/var/home/jordan/.conan2/toolchains/mold.cmake']
tools.env.virtualenv:powershell=False
tools.system.package_manager:mode=install
tools.system.package_manager:sudo=True
[buildenv]
LD=gcc
CC_LD=mold
CXX_LD=mold
avahi/
:LD=!
gdbm/:LD=!
libalsa/
:LD=!
libffi/:LD=!
libiconv/
:LD=!
libmount/:LD=!
libtool/
:LD=!
libva/:CC_LD=!
flex/
:LD=!
hwloc/:LD=!
kmod/
:LD=!
pulseaudio/:CC_LD=!
util-linux-libuuid/
:CC_LD=!

Steps to reproduce

conan create . --build missing --options:host 'qt/*:shared=True' --options:host 'qt/*:with_md4c=False' --update --version 5.15.13

Logs

qt-5.15.13-with_md4c_false-log.txt

@jwillikers jwillikers added the bug Something isn't working label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant