任务单 #44514

Qt6: "use of deleted function" in fc_client::update_load_page()

开放日期: 2022-05-05 15:12 最后更新: 2022-05-07 21:41

报告人:
属主:
类型:
状态:
关闭
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
1

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;

任务单历史 (3/5 Histories)

2022-05-05 15:12 Updated by: cazfi
  • New Ticket "Qt6: "use of deleted function" in fc_client::update_load_page()" created
2022-05-05 16:12 Updated by: cazfi
评论

Reply To cazfi

Building S3_1 on OpenEmbedded

-> Qt6 6.4 development version
2022-05-06 03:21 Updated by: cazfi
  • 属主 Update from (无) to cazfi
  • 处理结果 Update from to Accepted
  • 里程碑 Update from (无) to 3.1.0 (关闭)
2022-05-07 21:41 Updated by: cazfi
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from Accepted to Fixed

Attachment File List

编辑

Please login to add comment to this ticket » 登录名