待辦事項 #44514

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

啟用日期: 2022-05-05 15:12 最後更新: 2022-05-07 21:41

回報者:
負責人:
類型:
狀態:
關閉
元件:
里程碑:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
1

細節

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 History (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 (closed)
2022-05-07 21:41 Updated by: cazfi
  • 狀態 Update from 開啟 to 關閉
  • 處理結果 Update from Accepted to 修正

Attachment File List

編輯

Please login to add comment to this ticket » 登入