Hi, shotcut compilation [1] fails with "error: ‘hasPro’ was not declared in this scope" message .. [52/208] /usr/bin/g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DSHOTCUT_VERSION=\"23.09.12\" -I/home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src -I/home/martin/rpmbuild/BUILD/shotcut-23.09.12/src -I/home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/include -I/home/martin/rpmbuild/BUILD/shotcut-23.09.12/CuteLogger/include -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/mlt-7/mlt++ -isystem /usr/include/mlt-7 -isystem /usr/include/qt6/QtMultimedia -isystem /usr/include/qt6/QtGui -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/qt6/QtOpenGL -isystem /usr/include/qt6/QtOpenGLWidgets -isystem /usr/include/qt6/QtWidgets -isystem /usr/include/qt6/QtQuickControls2 -isystem /usr/include/qt6/QtQuick -isystem /usr/include/qt6/QtQml -isystem /usr/include/qt6/QtQmlIntegration -isystem /usr/include/qt6/QtQmlModels -isystem /usr/include/qt6/QtQuickWidgets -isystem /usr/include/qt6/QtSql -isystem /usr/include/qt6/QtXml -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=c++17 -MD -MT src/CMakeFiles/shotcut.dir/shotcut_autogen/mocs_compilation.cpp.o -MF src/CMakeFiles/shotcut.dir/shotcut_autogen/mocs_compilation.cpp.o.d -o src/CMakeFiles/shotcut.dir/shotcut_autogen/mocs_compilation.cpp.o -c /home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autoge n/mocs_compilation.cpp FAILED: src/CMakeFiles/shotcut.dir/shotcut_autogen/mocs_compilation.cpp.o /usr/bin/g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DSHOTCUT_VERSION=\"23.09.12\" -I/home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src -I/home/martin/rpmbuild/BUILD/shotcut-23.09.12/src -I/home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/include -I/home/martin/rpmbuild/BUILD/shotcut-23.09.12/CuteLogger/include -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/mlt-7/mlt++ -isystem /usr/include/mlt-7 -isystem /usr/include/qt6/QtMultimedia -isystem /usr/include/qt6/QtGui -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/qt6/QtOpenGL -isystem /usr/include/qt6/QtOpenGLWidgets -isystem /usr/include/qt6/QtWidgets -isystem /usr/include/qt6/QtQuickControls2 -isystem /usr/include/qt6/QtQuick -isystem /usr/include/qt6/QtQml -isystem /usr/include/qt6/QtQmlIntegration -isystem /usr/include/qt6/QtQmlModels -isystem /usr/include/qt6/QtQuickWidgets -isystem /usr/include/qt6/QtSql -isystem /usr/include/qt6/QtXml -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=c++17 -MD -MT src/CMakeFiles/shotcut.dir/shotcut_autogen/mocs_compilation.cpp.o -MF src/CMakeFiles/shotcut.dir/shotcut_autogen/mocs_compilation.cpp.o.d -o src/CMakeFiles/shotcut.dir/shotcut_autogen/mocs_compilation.cpp.o -c /home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/mocs_co mpilation.cpp In file included from /usr/include/qt6/QtGui/QTextCharFormat:1, from /home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/OJWBM6OTSN/../../../../src/qmltypes/qmlrichtext.h:39, from /home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/OJWBM6OTSN/moc_qmlrichtext.cpp:9, from /home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/mocs_compilation.cpp:70: /usr/include/qt6/QtGui/qtextformat.h:556:20: error: stray ‘`’ in program 556 | { return hasPro`erty(TextBaselineOffset) ? doubleProperty(TextBaselineOffset) : 0.0; } | ^ /usr/include/qt6/QtGui/qtextformat.h: In member function ‘qreal QTextCharFormat::baselineOffset() const’: /usr/include/qt6/QtGui/qtextformat.h:556:14: error: ‘hasPro’ was not declared in this scope 556 | { return hasProperty(TextBaselineOffset) ? doubleProperty(TextBaselineOffset) : 0.0; } | ^~~~~~ /usr/include/qt6/QtGui/qtextformat.h:556:21: error: expected ‘;’ before ‘erty’ 556 | { return hasProperty(TextBaselineOffset) ? doubleProperty(TextBaselineOffset) : 0.0; } | ^~~~ /usr/include/qt6/QtGui/qtextformat.h:556:21: error: ‘erty’ was not declared in this scope [53/208] /usr/bin/g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DSHOTCUT_VERSION=\"23.09.12\" -I/home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src -I/home/martin/rpmbuild/BUILD/shotcut-23.09.12/src -I/home/martin/rpmbuild/BUILD/shotcut-23.09.12/redhat-linux-build/src/shotcut_autogen/include -I/home/martin/rpmbuild/BUILD/shotcut-23.09.12/CuteLogger/include -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/mlt-7/mlt++ -isystem /usr/include/mlt-7 -isystem /usr/include/qt6/QtMultimedia -isystem /usr/include/qt6/QtGui -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/qt6/QtOpenGL -isystem /usr/include/qt6/QtOpenGLWidgets -isystem /usr/include/qt6/QtWidgets -isystem /usr/include/qt6/QtQuickControls2 -isystem /usr/include/qt6/QtQuick -isystem /usr/include/qt6/QtQml -isystem /usr/include/qt6/QtQmlIntegration -isystem /usr/include/qt6/QtQmlModels -isystem /usr/include/qt6/QtQuickWidgets -isystem /usr/include/qt6/QtSql -isystem /usr/include/qt6/QtXml -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=c++17 -MD -MT src/CMakeFiles/shotcut.dir/autosavefile.cpp.o -MF src/CMakeFiles/shotcut.dir/autosavefile.cpp.o.d -o src/CMakeFiles/shotcut.dir/autosavefile.cpp.o -c /home/martin/rpmbuild/BUILD/shotcut-23.09.12/src/autosavefile.cpp ninja: build stopped: subcommand failed. How can i solve this ? [1] https://martinkg.fedorapeople.org/ErrorReports/shotcut/shotcut.spec Regards Martin _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue