Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2673

unable to find string literal operator 'operator""_ba'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.6.3.1
    • PySide
    • None
    • Linux/Yocto
    • d316ceaab (6.6.3)

    Description

       

      | FAILED: libpyside/CMakeFiles/pyside6.dir/signalmanager.cpp.o                                                                                                                                                                                                                                                    [730/1972]
      | /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ --sysroot=/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/recipe-sysroot -DBUILD_LIBPYSIDE -DNDEBUG -DPy_LIMITED_API=0x03060000 -DQT_CORE_LIB -DQT_LEAN_HEADERS=1 -DQT_NO_DEBUG -DQT_NO_KEYWORDS=1 -I/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/build/libpyside/pyside6_autogen/include -I/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/git/sources/pyside6/libpyside -I/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/recipe-sysroot/usr/include/shiboken6 -I/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/recipe-sysroot/usr/include/python3.11 -I/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/recipe-sysroot/usr/include/QtCore -I/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/recipe-sysroot/usr/lib/mkspecs/linux-g++ -I/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/recipe-sysroot/usr/include/QtCore/6.6.3 -I/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/recipe-sysroot/usr/include/QtCore/6.6.3/QtCore -mcpu=cortex-a57 -march=armv8-a+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map  -fmacro-prefix-map=/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/git=/usr/src/debug/python3-pyside6/6.6.3-r0  -fdebug-prefix-map=/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/git=/usr/src/debug/python3-pyside6/6.6.3-r0  -fmacro-prefix-map=/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/build=/usr/src/debug/python3-pyside6/6.6.3-r0  -fdebug-prefix-map=/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/build=/usr/src/debug/python3-pyside6/6.6.3-r0  -fdebug-prefix-map=/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/recipe-sysroot=  -fmacro-prefix-map=/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/recipe-sysroot=  -fdebug-prefix-map=/home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/recipe-sysroot-native=  -fvisibility-inlines-hidden -Wall -Wextra -Wno-strict-aliasing -Wno-cast-function-type -fvisibility=hidden -D QT_NO_CAST_FROM_ASCII -D QT_NO_CAST_TO_ASCII -std=gnu++17 -fPIC   -fPIC -ffunction-sections -fdata-sections -fno-exceptions -MD -MT libpyside/CMakeFiles/pyside6.dir/signalmanager.cpp.o -MF libpyside/CMakeFiles/pyside6.dir/signalmanager.cpp.o.d -o libpyside/CMakeFiles/pyside6.dir/signalmanager.cpp.o -c /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/git/sources/pyside6/libpyside/signalmanager.cpp
      | /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/git/sources/pyside6/libpyside/signalmanager.cpp: In function 'QByteArray msgCannotConvertParameter(const QMetaMethod&, qsizetype)':
      | /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/git/sources/pyside6/libpyside/signalmanager.cpp:85:12: error: unable to find string literal operator 'operator""_ba' with 'const char [28]', 'long unsigned int' arguments
      |    85 |     return "Cannot call meta function \""_ba + methodSignature(method)
      |       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/git/sources/pyside6/libpyside/signalmanager.cpp:86:64: error: unable to find string literal operator 'operator""_ba' with 'const char [11]', 'long unsigned int' arguments
      |    86 |            + "\" because parameter " + QByteArray::number(p) + " of type \""_ba
      |       |                                                                ^~~~~~~~~~~~~~~~
      | /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/git/sources/pyside6/libpyside/signalmanager.cpp:87:44: error: unable to find string literal operator 'operator""_ba' with 'const char [23]', 'long unsigned int' arguments
      |    87 |            + method.parameterTypeName(p) + "\" cannot be converted."_ba;
      |       |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/git/sources/pyside6/libpyside/signalmanager.cpp: In function 'QByteArray msgCannotConvertReturn(const QMetaMethod&)':
      | /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/git/sources/pyside6/libpyside/signalmanager.cpp:92:12: error: unable to find string literal operator 'operator""_ba' with 'const char [22]', 'long unsigned int' arguments
      |    92 |     return "The return value of \""_ba + methodSignature(method) + "\" cannot be converted."_ba;
      |       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      | /home/sapiippo/qt6/build/tmp/work/cortexa57-poky-linux/python3-pyside6/6.6.3/git/sources/pyside6/libpyside/signalmanager.cpp:92:68: error: unable to find string literal operator 'operator""_ba' with 'const char [23]', 'long unsigned int' arguments
      |    92 |     return "The return value of \""_ba + methodSignature(method) + "\" cannot be converted."_ba;
      |       |                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
       

      Attachments

        Issue Links

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

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              sapiippo Samuli Piippo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes