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

qt-configure-module with parameters fail at run at root directory

    XMLWordPrintable

Details

    • 076b4bed9 (dev), 6749297b0 (6.5), 760c9d6a6 (6.6)

    Description

      For decrease build time I configure Qt-modules before build it

      user@cd617ceaf7e3:/tmp/firmware/build-sh-sti7105/qtimageformats-everywhere-src-6.5.1$ /tmp/firmware/staging_sml7105/qt6_sti7105/bin/qt-configure-module . -feature-webp -no-feature-tiff
      CMake Error at /tmp/firmware/staging_sml7105/qt6_sti7105/lib/cmake/Qt6/QtProcessConfigureArgs.cmake:300 (message):
        Enabling/Disabling unknown feature 'webp' in .
      Call Stack (most recent call first):
        /tmp/firmware/staging_sml7105/qt6_sti7105/lib/cmake/Qt6/QtProcessConfigureArgs.cmake:679 (qtConfAddError)

      Very strange because qtimageformats-everywhere-src-6.5.1 support Webp, but configure success if

      • run it without parameters
        user@cd617ceaf7e3:/tmp/firmware/build-sh-sti7105/qtimageformats-everywhere-src-6.5.1$ /tmp/firmware/staging_sml7105/qt6_sti7105/bin/qt-configure-module .                        
        '/tmp/firmware/staging_sml7105/qt6_sti7105/bin/../libexec/qt-cmake-private'
        CMake Warning:
          No source or binary directory provided.  Both will be assumed to be the
          same as the current working directory, but note that this warning will
          become a fatal error in future CMake releases.
        
        
        -- The CXX compiler identification is GNU 11.2.0
        -- The C compiler identification is GNU 11.2.0
        -- Detecting CXX compiler ABI info
        -- Detecting CXX compiler ABI info - done
        -- Check for working CXX compiler: /tmp/firmware/toolchain/sh4-rtk-linux-uclibc/bin/sh4-rtk-linux-uclibc-g++ - skipped
        -- Detecting CXX compile features
        -- Detecting CXX compile features - done
        -- Detecting C compiler ABI info
        -- Detecting C compiler ABI info - done
        -- Check for working C compiler: /tmp/firmware/toolchain/sh4-rtk-linux-uclibc/bin/sh4-rtk-linux-uclibc-gcc - skipped
        -- Detecting C compile features
        -- Detecting C compile features - done
        -- Looking for pthread.h
        -- Looking for pthread.h - found
        -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
        -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
        -- Found Threads: TRUE  
        -- Performing Test HAVE_STDATOMIC
        -- Performing Test HAVE_STDATOMIC - Failed
        -- Performing Test HAVE_STDATOMIC_WITH_LIB
        -- Performing Test HAVE_STDATOMIC_WITH_LIB - Success
        -- Found WrapAtomic: TRUE  
        
        -- Configuration summary shown below. It has also been written to /tmp/firmware/build-sh-sti7105/qtimageformats-everywhere-src-6.5.1/config.summary
        -- Configure with --log-level=STATUS or higher to increase CMake's message verbosity. The log level does not persist across reconfigurations.
         
        -- Configure summary:
        
        Further Image Formats:
          JasPer ................................. no
          MNG .................................... no
          TIFF ................................... yes
            Using system libtiff ................. no
          WEBP ................................... yes
            Using system libwebp ................. no
         
        
        -- Configuring done
        -- Generating done
        -- Build files have been written to: /tmp/firmware/build-sh-sti7105/qtimageformats-everywhere-src-6.5.1
      • run it from other directory
        user@cd617ceaf7e3:/tmp/firmware/build-sh-sti7105/qtimageformats-everywhere-src-6.5.1$ mkdir build && cd $_
        user@cd617ceaf7e3:/tmp/firmware/build-sh-sti7105/qtimageformats-everywhere-src-6.5.1/build$ /tmp/firmware/staging_sml7105/qt6_sti7105/bin/qt-configure-module .. -feature-webp -no-feature-tiff
        Overriding option 'webp' with 'yes' (was: 'undefined')
        Overriding option 'tiff' with 'no' (was: 'undefined')
        '/tmp/firmware/staging_sml7105/qt6_sti7105/bin/../libexec/qt-cmake-private' '-DINPUT_webp=yes' '-DINPUT_tiff=no' '/tmp/firmware/build-sh-sti7105/qtimageformats-everywhere-src-6.5.1'
        -- The CXX compiler identification is GNU 11.2.0
        -- The C compiler identification is GNU 11.2.0
        -- Detecting CXX compiler ABI info
        -- Detecting CXX compiler ABI info - done
        -- Check for working CXX compiler: /tmp/firmware/toolchain/sh4-rtk-linux-uclibc/bin/sh4-rtk-linux-uclibc-g++ - skipped
        -- Detecting CXX compile features
        -- Detecting CXX compile features - done
        -- Detecting C compiler ABI info
        -- Detecting C compiler ABI info - done
        -- Check for working C compiler: /tmp/firmware/toolchain/sh4-rtk-linux-uclibc/bin/sh4-rtk-linux-uclibc-gcc - skipped
        -- Detecting C compile features
        -- Detecting C compile features - done
        -- Looking for pthread.h
        -- Looking for pthread.h - found
        -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
        -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
        -- Found Threads: TRUE  
        -- Performing Test HAVE_STDATOMIC
        -- Performing Test HAVE_STDATOMIC - Failed
        -- Performing Test HAVE_STDATOMIC_WITH_LIB
        -- Performing Test HAVE_STDATOMIC_WITH_LIB - Success
        -- Found WrapAtomic: TRUE  
        
        -- Configuration summary shown below. It has also been written to /tmp/firmware/build-sh-sti7105/qtimageformats-everywhere-src-6.5.1/build/config.summary
        -- Configure with --log-level=STATUS or higher to increase CMake's message verbosity. The log level does not persist across reconfigurations.
         
        -- Configure summary:
        
        Further Image Formats:
          JasPer ................................. no
          MNG .................................... no
          TIFF ................................... no
            Using system libtiff ................. no
          WEBP ................................... yes
            Using system libwebp ................. no
         
        
        -- Configuring done
        -- Generating done
        -- Build files have been written to: /tmp/firmware/build-sh-sti7105/qtimageformats-everywhere-src-6.5.1/build

         

      So look like what user must run qt-configure-module script from non-source directory if he use feature parameters.

      Attachments

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

        Activity

          People

            mrmsdbdl Amir Masoud Abdol
            imb Kirill Brilliantov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: