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

property "AUTORCC_OPTIONS" is not allowed

    XMLWordPrintable

Details

    • Linux/X11
    • b3cc89e81 (dev), b404d8e36 (6.7), a6c0f1703 (6.6), fc2404096 (tqtc/lts-6.5)

    Description

      qtbase 6.6.2 fails to configure with the following error msg:

      CMake Error at src/corelib/Qt6CoreMacros.cmake:605 (set_property):
        INTERFACE_LIBRARY targets may only have whitelisted properties.  The
        property "AUTORCC_OPTIONS" is not allowed.
      Call Stack (most recent call first):
        src/corelib/Qt6CoreMacros.cmake:2399 (_qt_internal_disable_autorcc_zstd_when_not_supported)
        cmake/QtModuleHelpers.cmake:173 (_qt_internal_add_library)
        cmake/Qt3rdPartyLibraryHelpers.cmake:369 (qt_internal_add_module)
        src/3rdparty/harfbuzz-ng/CMakeLists.txt:190 (qt_internal_add_3rdparty_header_module)

      this is a regression from 6.6.1 which succeeded on same conditions: centos 7 (without harfbuzz I guess), with cmake 3.17.5:

      curl -fSsL https://download.qt.io/official_releases/qt/6.6/6.6.2/submodules/qtbase-everywhere-src-6.6.2.tar.xz | tar xJ && cd qtbase-everywhere-src-6.6.2 && cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/lo
      cal -DINSTALL_ARCHDATADIR=lib/qt -DQT_BUILD_TESTS=FALSE -DQT_BUILD_EXAMPLES=FALSE -DINPUT_xcb=yes -DINPUT_mimetype_database=no -DCMAKE_MESSAGE_LOG_LEVEL=STATUS -DCMAKE_UNITY_BUILD=ON -DCMAKE_UNITY_BUILD_BAT
      CH_SIZE=32 . && ninja install
       
      

      here is the full cmake output:

      cmake.log

       

      Attachments

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

        Activity

          People

            alexandru.croitor Alexandru Croitor
            jschueller Julien Schueller
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: