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

private pri files are installed for headerless libraries

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.2.2
    • Build System
    • None
    • All
    • d23c2e6d9 (dev)

    Description

      This happens for various targets such as linguist or more recently, quick3dparticles and quick3dparticleeffects.

       

      These targets don't install headers but they create private CMake targets and install qt_lib_*_private.pri files.

       

      e.g:

      Qt6LinguistTargets.cmake:

      # Create imported target Qt6::LinguistPrivate 
      add_library(Qt6::LinguistPrivate INTERFACE IMPORTED) 
       
      set_target_properties(Qt6::LinguistPrivate PROPERTIES 
        INTERFACE_LINK_LIBRARIES "Qt6::Linguist" 
        _qt_config_module_name "linguist_private" 
      )

       

      qt_lib_quick3dparticleeffects_private.pri:

      QT.quick3dparticleeffects_private.VERSION = 6.3.0 
      QT.quick3dparticleeffects_private.name = QtQuick3DParticleEffects 
      QT.quick3dparticleeffects_private.module = 
      QT.quick3dparticleeffects_private.libs = $$QT_MODULE_LIB_BASE 
      QT.quick3dparticleeffects_private.includes =  
      QT.quick3dparticleeffects_private.frameworks =  
      QT.quick3dparticleeffects_private.depends = quick3dparticleeffects 
      QT.quick3dparticleeffects_private.uses =  
      QT.quick3dparticleeffects_private.module_config = v2 internal_module 
      QT.quick3dparticleeffects_private.enabled_features =  
      QT.quick3dparticleeffects_private.disabled_features =

       

       

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              cgiboudeaux Christophe Marin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes