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

qlitehtml is built in a directory called "value-NOTFOUND"

    XMLWordPrintable

Details

    • All
    • 3c2a3bb0d (dev), 2b7e71586 (6.8), a4858ca09 (6.7)

    Description

      When building qttools with the qlitehtml checked out, the qlitehtml is built in a subdirectory with the name value-NOTFOUND:

      $ fd value-NOTFOUND -t directory .
      
      ./src/assistant/qlitehtml/src/value-NOTFOUND/ 

      origin of that directory name is

      function(qt_handle_multi_config_output_dirs target)
          qt_get_cmake_configurations(possible_configs)
          qt_clone_property_for_configs(${target} LIBRARY_OUTPUT_DIRECTORY "${possible_configs}")
          qt_clone_property_for_configs(${target} RUNTIME_OUTPUT_DIRECTORY "${possible_configs}")
          qt_clone_property_for_configs(${target} ARCHIVE_OUTPUT_DIRECTORY "${possible_configs}")
      endfunction() 

      which is called in src/assistant/CMakeLists.txt

           qt_handle_multi_config_output_dirs(qlitehtml)
           set_target_properties(qlitehtml PROPERTIES
              RUNTIME_OUTPUT_DIRECTORY "${QT_BUILD_DIR}/${INSTALL_BINDIR}"
              LIBRARY_OUTPUT_DIRECTORY "${QT_BUILD_DIR}/${INSTALL_LIBDIR}"
              ARCHIVE_OUTPUT_DIRECTORY "${QT_BUILD_DIR}/${INSTALL_LIBDIR}")
      

       

      The qt_handle_multi_config_output_dirs call should come after setting the target properties to have the desired effect.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes