Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.15
-
-
72f220570 (tqtc/lts-5.15), 75f843951 (dev), 70533610c (6.7)
Description
Install Qt 5.15.15 gcc binaries, configure project tutorials/alarms with 5.15.15/gcc_64/bin/qmake and build with make, fails:
g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../../../5.15.15/gcc_64/include -I../../../../5.15.15/gcc_64/include/QtQuick -I../../../../5.15.15/gcc_64/include/QtGui -I../../../../5.15.15/gcc_64/include/QtQmlModels -I../../../../5.15.15/gcc_64/include/QtQml -I../../../../5.15.15/gcc_64/include/QtNetwork -I../../../../5.15.15/gcc_64/include/QtCore -I. -I/usr/include/libdrm -I../../../../5.15.15/gcc_64/mkspecs/linux-g++ -o main.o main.cpp main.cpp: In function ‘int main(int, char**)’: main.cpp:60:20: error: unable to find string literal operator ‘operator""_qs’ with ‘const char16_t [21]’, ‘long unsigned int’ arguments 60 | const QUrl url(u"qrc:/alarms/main.qml"_qs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:910: main.o] Error 1
Apparently new example since it was not tested wih 5.15.14.
Attachments
For Gerrit Dashboard: QTBUG-116489 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
499428,2 | Fix compilation issue with alarms | tqtc/lts-5.15 | qt/tqtc-qtdoc | Status: MERGED | +2 | 0 |
499686,4 | Examples: Build tutorials/alarms in CI | dev | qt/qtdoc | Status: MERGED | +2 | 0 |
524785,2 | Examples: Build tutorials/alarms in CI | 6.7 | qt/qtdoc | Status: MERGED | +2 | 0 |