Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-88087

qtdeclarative does not build if qtbase was configured with libmd4c=no

    XMLWordPrintable

Details

    • Windows
    • bf1bfaa325d19fb36a0677be006d176d4cfb074c

    Description

      configuring qtbase with

      -DINPUT_libmd4c=no
      

      will automatically fail the built of qtdeclarative with the following error:

      FAILED: src/quick/CMakeFiles/Quick.dir/items/qquicktext.cpp.obj 
      C:\PROGRA~2\MIB055~1\2019\COMMUN~1\VC\Tools\MSVC\1427~1.291\bin\Hostx64\x64\cl.exe   /TP -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_QUICK_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_INTEGER_EVENT_COORDINATES -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_QGIFPLUGIN_LIB -DQT_QICOPLUGIN_LIB -DQT_QJPEGPLUGIN_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QTUIOTOUCHPLUGIN_LIB -DQT_QUICK_LIB -DQT_QWINDOWSDIRECT2DINTEGRATIONPLUGIN_LIB -DQT_QWINDOWSINTEGRATIONPLUGIN_LIB -DQT_USE_QSTRINGBUILDER -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_USE_MATH_DEFINES -D_WIN64 -Ddeprecations -Isrc\quick\Quick_autogen\include -Iinclude -Iinclude\QtQuick -IE:\vcpkg_folders\qt6\buildtrees\qtdeclarative\src\.0.0-beta2-a446b70607.clean\src\quick -Isrc\quick -Iinclude\QtQuick\6.0.0 -Iinclude\QtQuick\6.0.0\QtQuick -Isrc\qml -Iinclude\QtQml\6.0.0 -Iinclude\QtQml\6.0.0\QtQml -Iinclude\QtQml -Iinclude\QtQmlModels -Isrc\qmlmodels -Iinclude\QtQmlModels\6.0.0 -Iinclude\QtQmlModels\6.0.0\QtQmlModels -IE:\vcpkg_folders\qt6\installed\x64-windows-static\include\QtCore\6.0.0 -IE:\vcpkg_folders\qt6\installed\x64-windows-static\include\QtCore\6.0.0\QtCore -IE:\vcpkg_folders\qt6\installed\x64-windows-static\include\QtCore -IE:\vcpkg_folders\qt6\installed\x64-windows-static\include -IE:\vcpkg_folders\qt6\installed\x64-windows-static\mkspecs\win32-msvc -IE:\vcpkg_folders\qt6\installed\x64-windows-static\include\QtNetwork -IE:\vcpkg_folders\qt6\installed\x64-windows-static\include\QtGui -IE:\vcpkg_folders\qt6\installed\x64-windows-static\include\QtGui\6.0.0 -IE:\vcpkg_folders\qt6\installed\x64-windows-static\include\QtGui\6.0.0\QtGui -IE:\vcpkg_folders\qt6\installed\x64-windows-static\include\QtOpenGL\6.0.0 -IE:\vcpkg_folders\qt6\installed\x64-windows-static\include\QtOpenGL\6.0.0\QtOpenGL -IE:\vcpkg_folders\qt6\installed\x64-windows-static\include\QtOpenGL /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP  /MT  /Oi /Gy /DNDEBUG /Z7 -O2 -MT /W3 /wd4530 /wd4577 -Zc:__cplusplus -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:externConstexpr -Zc:wchar_t -std:c++17 /YuE:/vcpkg_folders/qt6/buildtrees/qtdeclarative/x64-windows-static-dbg/src/quick/CMakeFiles/Quick.dir/cmake_pch.hxx /FpE:/vcpkg_folders/qt6/buildtrees/qtdeclarative/x64-windows-static-dbg/src/quick/CMakeFiles/Quick.dir/./cmake_pch.cxx.pch /FIE:/vcpkg_folders/qt6/buildtrees/qtdeclarative/x64-windows-static-dbg/src/quick/CMakeFiles/Quick.dir/cmake_pch.hxx /showIncludes /Fosrc\quick\CMakeFiles\Quick.dir\items\qquicktext.cpp.obj /Fdlib\Qt6Quick.pdb /FS -c E:\vcpkg_folders\qt6\buildtrees\qtdeclarative\src\.0.0-beta2-a446b70607.clean\src\quick\items\qquicktext.cpp
      E:\vcpkg_folders\qt6\buildtrees\qtdeclarative\src\.0.0-beta2-a446b70607.clean\src\quick\items\qquicktext.cpp(1729): error C2039: 'setMarkdownText': is not a member of 'QQuickTextDocumentWithImageResources'
      E:\vcpkg_folders\qt6\buildtrees\qtdeclarative\src\.0.0-beta2-a446b70607.clean\src\quick\items\qquicktextdocument_p.h(67): note: see declaration of 'QQuickTextDocumentWithImageResources'
      E:\vcpkg_folders\qt6\buildtrees\qtdeclarative\src\.0.0-beta2-a446b70607.clean\src\quick\items\qquicktext.cpp(2758): error C2039: 'setMarkdownText': is not a member of 'QQuickTextDocumentWithImageResources'
      E:\vcpkg_folders\qt6\buildtrees\qtdeclarative\src\.0.0-beta2-a446b70607.clean\src\quick\items\qquicktextdocument_p.h(67): note: see declaration of 'QQuickTextDocumentWithImageResources'
      

      although there exists some code which #ifdefs on this qt feature it seems to still try to use the function which is ifdefed. As such I am uncertain if the build failure is unintended or if configure should have failed earlier.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            neumann-a Alexander Neumann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes