#44514: Qt6: "use of deleted function" in fc_client::update_load_page() Open Date: 2022-05-05 09:12 Last Update: 2022-05-05 10:12 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44514 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44514 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-05-05 10:12 Updated by: cazfi Comment: Reply To cazfi Building S3_1 on OpenEmbedded -> Qt6 6.4 development version --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: (None) Component: Qt-client Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Building S3_1 on OpenEmbedded -- ../../../git/client/gui-qt/pages.cpp: In member function 'void fc_client::update_load_page()': | ../../../git/client/gui-qt/pages.cpp:1409:18: error: use of deleted function 'QVariant::QVariant(T) [with T = char*; typename std::enable_if<disjunction_v<std::is_pointer<_Tp>, std::is_member_pointer<_Tp> >, bool>::type <anonymous> = false]' | 1409 | item->setData(Qt::UserRole, pfile->fullname); | In file included from /work/openembedded/x86/tmp-glibc/work/core2-32-oe-linux/freeciv/3.0.94.5-alpha2+-r0/recipe-sysroot/usr/include/QtGui/qaction.h:49, | from /work/openembedded/x86/tmp-glibc/work/core2-32-oe-linux/freeciv/3.0.94.5-alpha2+-r0/recipe-sysroot/usr/include/QtGui/QAction:1, | from ../../../git/client/gui-qt/pages.cpp:19: | /work/openembedded/x86/tmp-glibc/work/core2-32-oe-linux/freeciv/3.0.94.5-alpha2+-r0/recipe-sysroot/usr/include/QtCore/qvariant.h:235:5: note: declared here | 235 | QVariant(T) = delete; -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/44514 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44514