Build Error on Qt6.10 RC-1
I am trying to test/package wayqt for OpenMandriva. Below is the build error that is present when compiled with g++. I do not believe this is a project specific issue as other software that uses handleExpose and implements a session locking feature has build issues. Let me know if you need any other information.
[158/166] clang++ -Ilibwayqt-qt6.so.0.3.0.p -I. -I.. -I../includes -I/usr/lib64/qt6/include/QtWaylandGlobal/6.10.0 -I/usr/lib64/qt6/include/QtCore -I/usr/lib64/qt6/include -I/usr/lib64/qt6/mkspecs/linux-clang -I/usr/lib64/qt6/include/QtCore/6.10.0 -I/usr/lib64/qt6/include/QtCore/6.10.0/QtCore -I/usr/lib64/qt6/include/QtGui -I/usr/lib64/qt6/include/QtGui/6.10.0 -I/usr/lib64/qt6/include/QtGui/6.10.0/QtGui -I/usr/lib64/qt6/include/QtWaylandClient -I/usr/lib64/qt6/include/QtWaylandClient/6.10.0 -I/usr/lib64/qt6/include/QtWaylandClient/6.10.0/QtWaylandClient -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 '-DPROJECT_VERSION="v0.3.0"' -Os -fomit-frame-pointer -g3 -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-all --param=ssp-buffer-size=4 -m64 -mtune=generic -flto -fPIC -DQT_WAYLANDCLIENT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -MD -MQ libwayqt-qt6.so.0.3.0.p/src_SessionLockImpl.cpp.o -MF libwayqt-qt6.so.0.3.0.p/src_SessionLockImpl.cpp.o.d -o libwayqt-qt6.so.0.3.0.p/src_SessionLockImpl.cpp.o -c ../src/SessionLockImpl.cpp
FAILED: libwayqt-qt6.so.0.3.0.p/src_SessionLockImpl.cpp.o
clang++ -Ilibwayqt-qt6.so.0.3.0.p -I. -I.. -I../includes -I/usr/lib64/qt6/include/QtWaylandGlobal/6.10.0 -I/usr/lib64/qt6/include/QtCore -I/usr/lib64/qt6/include -I/usr/lib64/qt6/mkspecs/linux-clang -I/usr/lib64/qt6/include/QtCore/6.10.0 -I/usr/lib64/qt6/include/QtCore/6.10.0/QtCore -I/usr/lib64/qt6/include/QtGui -I/usr/lib64/qt6/include/QtGui/6.10.0 -I/usr/lib64/qt6/include/QtGui/6.10.0/QtGui -I/usr/lib64/qt6/include/QtWaylandClient -I/usr/lib64/qt6/include/QtWaylandClient/6.10.0 -I/usr/lib64/qt6/include/QtWaylandClient/6.10.0/QtWaylandClient -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 '-DPROJECT_VERSION="v0.3.0"' -Os -fomit-frame-pointer -g3 -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-all --param=ssp-buffer-size=4 -m64 -mtune=generic -flto -fPIC -DQT_WAYLANDCLIENT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -MD -MQ libwayqt-qt6.so.0.3.0.p/src_SessionLockImpl.cpp.o -MF libwayqt-qt6.so.0.3.0.p/src_SessionLockImpl.cpp.o.d -o libwayqt-qt6.so.0.3.0.p/src_SessionLockImpl.cpp.o -c ../src/SessionLockImpl.cpp
In file included from ../src/SessionLockImpl.cpp:26:
In file included from /usr/lib64/qt6/include/QtCore/QDebug:1:
In file included from /usr/lib64/qt6/include/QtCore/qdebug.h:15:
In file included from /usr/lib64/qt6/include/QtCore/qfloat16.h:10:
In file included from /usr/lib64/qt6/include/QtCore/qhashfunctions.h:9:
In file included from /usr/lib64/qt6/include/QtCore/qstring.h:15:
/usr/lib64/qt6/include/QtCore/qchar.h:502:72: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
502 | inline Category category() const noexcept { return QChar::category(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:503:75: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
503 | inline Direction direction() const noexcept { return QChar::direction(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:504:81: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
504 | inline JoiningType joiningType() const noexcept { return QChar::joiningType(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:505:89: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
505 | inline unsigned char combiningClass() const noexcept { return QChar::combiningClass(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:507:83: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
507 | inline QChar mirroredChar() const noexcept { return QChar(QChar::mirroredChar(ucs)); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:508:74: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
508 | inline bool hasMirrored() const noexcept { return QChar::hasMirrored(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:511:93: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
511 | inline Decomposition decompositionTag() const noexcept { return QChar::decompositionTag(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:513:71: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
513 | inline int digitValue() const noexcept { return QChar::digitValue(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:514:73: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
514 | inline QChar toLower() const noexcept { return QChar(QChar::toLower(ucs)); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:515:73: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
515 | inline QChar toUpper() const noexcept { return QChar(QChar::toUpper(ucs)); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:516:81: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
516 | inline QChar toTitleCase() const noexcept { return QChar(QChar::toTitleCase(ucs)); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:517:83: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
517 | inline QChar toCaseFolded() const noexcept { return QChar(QChar::toCaseFolded(ucs)); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:519:66: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
519 | inline Script script() const noexcept { return QChar::script(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:521:90: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
521 | inline UnicodeVersion unicodeVersion() const noexcept { return QChar::unicodeVersion(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:531:66: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
531 | inline bool isPrint() const noexcept { return QChar::isPrint(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:532:76: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
532 | constexpr inline bool isSpace() const noexcept { return QChar::isSpace(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:533:64: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
533 | inline bool isMark() const noexcept { return QChar::isMark(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:534:66: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
534 | inline bool isPunct() const noexcept { return QChar::isPunct(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:535:68: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
535 | inline bool isSymbol() const noexcept { return QChar::isSymbol(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:536:78: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
536 | constexpr inline bool isLetter() const noexcept { return QChar::isLetter(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:537:78: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
537 | constexpr inline bool isNumber() const noexcept { return QChar::isNumber(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:538:94: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
538 | constexpr inline bool isLetterOrNumber() const noexcept { return QChar::isLetterOrNumber(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:539:76: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
539 | constexpr inline bool isDigit() const noexcept { return QChar::isDigit(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:540:76: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
540 | constexpr inline bool isLower() const noexcept { return QChar::isLower(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:541:76: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
541 | constexpr inline bool isUpper() const noexcept { return QChar::isUpper(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:542:84: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
542 | constexpr inline bool isTitleCase() const noexcept { return QChar::isTitleCase(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:544:90: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
544 | constexpr inline bool isNonCharacter() const noexcept { return QChar::isNonCharacter(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:545:92: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
545 | constexpr inline bool isHighSurrogate() const noexcept { return QChar::isHighSurrogate(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:546:90: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
546 | constexpr inline bool isLowSurrogate() const noexcept { return QChar::isLowSurrogate(ucs); }
| ~~~~~ ^~~
/usr/lib64/qt6/include/QtCore/qchar.h:547:84: warning: implicit conversion from 'const char16_t' to 'char32_t' may change the meaning of the represented code unit [-Wcharacter-conversion]
547 | constexpr inline bool isSurrogate() const noexcept { return QChar::isSurrogate(ucs); }
| ~~~~~ ^~~
../src/SessionLockImpl.cpp:82:10: error: no member named 'handleExpose' in 'SessionLockSurfaceImpl'
82 | sls->handleExpose( QRect( QPoint(), QSize( (int)width, (int)height ) ) );
| ~~~ ^