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

"error: ‘r2_2’ was not declared in this scope; did you mean ‘r2_1’" when CI builds textselection example on Ubuntu 20.04

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 6.3
    • Fix Version/s: 6.3
    • Component/s: QML: Compiler
    • Labels:
      None

      Description

      https://codereview.qt-project.org/c/qt/qtdeclarative/+/403918/1#message-7826ab2e2f835342841022a4cfa9c999077ecfb0

      FAILED: examples/quick/text/CMakeFiles/textexample.dir/.rcc/qmlcache/textexample_textselection/textselection_qml.cpp.o
       sccache /usr/bin/g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NAMESPACE=TestNamespace -DQT_NETWORK_LIB -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -I/home/qt/work/qt/qtdeclarative/examples/quick/text/textexample_autogen/include -I/home/qt/work/qt/qtdeclarative/examples/quick/text -I/home/qt/work/qt/qtdeclarative/src/qml -I/home/qt/work/qt/qtdeclarative/include/QtQml/6.3.1 -I/home/qt/work/qt/qtdeclarative/include/QtQml/6.3.1/QtQml -I/home/qt/work/qt/qtdeclarative/include -I/home/qt/work/qt/qtdeclarative/include/QtQml -I/home/qt/work/qt/qtdeclarative/include/QtQmlIntegration -I/home/qt/work/qt/qtdeclarative/src/qmlintegration -I/home/qt/work/qt/qtdeclarative/include/QtQuick -I/home/qt/work/qt/qtdeclarative/include/QtQmlModels -isystem /home/qt/work/install/include/QtCore/6.3.1 -isystem /home/qt/work/install/include/QtCore/6.3.1/QtCore -isystem /home/qt/work/install/include/QtCore -isystem /home/qt/work/install/include -isystem /home/qt/work/install/mkspecs/linux-g++ -isystem /home/qt/work/install/include/QtNetwork -isystem /home/qt/work/install/include/QtGui -isystem /home/qt/work/install/include/QtOpenGL -g -fPIE -Wall -Wextra -fPIC -pthread -std=gnu++17 -MD -MT examples/quick/text/CMakeFiles/textexample.dir/.rcc/qmlcache/textexample_textselection/textselection_qml.cpp.o -MF examples/quick/text/CMakeFiles/textexample.dir/.rcc/qmlcache/textexample_textselection/textselection_qml.cpp.o.d -o examples/quick/text/CMakeFiles/textexample.dir/.rcc/qmlcache/textexample_textselection/textselection_qml.cpp.o -c /home/qt/work/qt/qtdeclarative/examples/quick/text/.rcc/qmlcache/textexample_textselection/textselection_qml.cpp
       /home/qt/work/qt/qtdeclarative/examples/quick/text/.rcc/qmlcache/textexample_textselection/textselection_qml.cpp: In lambda function:
       /home/qt/work/qt/qtdeclarative/examples/quick/text/.rcc/qmlcache/textexample_textselection/textselection_qml.cpp:3364:1: error: ‘r2_2’ was not declared in this scope; did you mean ‘r2_1’?
        3364 | r2_2 = {};
             | ^~~~
             | r2_1
       /home/qt/work/qt/qtdeclarative/examples/quick/text/.rcc/qmlcache/textexample_textselection/textselection_qml.cpp: In lambda function:
       /home/qt/work/qt/qtdeclarative/examples/quick/text/.rcc/qmlcache/textexample_textselection/textselection_qml.cpp:3599:1: error: ‘r2_2’ was not declared in this scope; did you mean ‘r2_1’?
      

        Attachments

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

          Activity

            People

            Assignee:
            qtqmlteam Qt Qml Team User
            Reporter:
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes