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

Build error when depending on internal module in qtbase

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.2.0 Alpha
    • Fix Version/s: 6.3.0 Alpha
    • Component/s: Build System: CMake
    • Labels:
      None
    • Platform/s:
      webOS
    • Commits:
      8aee7c6b29be5a0ee7d5e7cfcb5f2db762b2e28b (qt/qtbase/dev) 4d4e13c68474ac7b1a64d64d5bada58bbe8b47ba (qt/qtbase/6.2) 29789ff0eabc2ea91a21526c475e5a8c0126a7af (qt/tqtc-qtbase/dev) ed92cb30e465c1dad704bd268646a4a69b1d448c (qt/qtbase/dev)

      Description

      With the recent meta-qt6, a Qt plugin in webOS that depends on an internal module such as "input_support" doesn't build with an error like:

      Project ERROR: Unknown module(s) in QT: devicediscovery_support 

       

      We found that it is because qt_lib_input_support_private.pri has "devicediscovery_support" in "depends" where "devicediscovery_support_private" is expected actually.

      # qt_lib_input_support_private.pri
      QT.input_support_private.VERSION = 6.2.0
      QT.input_support_private.name = QtInputSupport
      QT.input_support_private.module = Qt6InputSupport
      QT.input_support_private.libs = $$QT_MODULE_LIB_BASE
      QT.input_support_private.ldflags =
      QT.input_support_private.includes = $$QT_MODULE_INCLUDE_BASE/QtInputSupport/6.2.0 $$QT_MODULE_INCLUDE_BASE/QtInputSupport\
      /6.2.0/QtInputSupport
      QT.input_support_private.frameworks =
      QT.input_support_private.bins = $$QT_MODULE_BIN_BASE
      QT.input_support_private.depends =  core_private devicediscovery_support gui_private # <--- HERE
      QT.input_support_private.uses =
      QT.input_support_private.module_config = v2 internal_module staticlib
      QT.input_support_private.DEFINES = QT_INPUT_SUPPORT_LIB
      QT.input_support_private.enabled_features =
      QT.input_support_private.disabled_features =
      QT_CONFIG +=
      QT_MODULES += input_support 

       

        Attachments

        For Gerrit Dashboard: QTBUG-94568
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            semlanik Alexey Edelev
            Reporter:
            jaeyoon.jung Jaeyoon Jung
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: