求助,dde-desktop编译错误
Tofloor
poster avatar
chanforever
deepin
2020-07-30 22:41
Author
dde-file-manager/dde-file-manager-lib/controllers/mergeddesktopcontroller.h:46:10: error: ‘bool MergedDesktopController:penFiles(const QSharedPointer&) const’ marked ‘override’, but does not override
     bool openFiles(const QSharedPointer &event) const override;
          ^~~~~~~~~
../view/canvasgridview.cpp: In member function ‘bool CanvasGridView::fetchDragEventUrlsFromSharedMemory()’:
../view/canvasgridview.cpp:346:15: error: ‘DRAG_EVENT_URLS’ was not declared in this scope
     sm.setKey(DRAG_EVENT_URLS);
               ^~~~~~~~~~~~~~~
../view/canvasgridview.cpp: In member function ‘virtual void CanvasGridView::dragEnterEvent(QDragEnterEvent*)’:
../view/canvasgridview.cpp:879:70: error: no matching function for call to ‘CanvasViewHelper::preproccessDropEvent(QDragEnterEvent*&, QList&)’
     d->fileViewHelper->preproccessDropEvent(event, m_urlsForDragEvent);
                                                                      ^
In file included from ../view/canvasgridview.cpp:40:
/usr/include/dde-file-manager/dfileviewhelper.h:68:10: note: candidate: ‘void DFileViewHelper::preproccessDropEvent(QDropEvent*) const’
     void preproccessDropEvent(QDropEvent *event) const;
          ^~~~~~~~~~~~~~~~~~~~
/usr/include/dde-file-manager/dfileviewhelper.h:68:10: note:   candidate expects 1 argument, 2 provided
../view/canvasgridview.cpp: In lambda function:
../view/canvasgridview.cpp:908:74: error: no matching function for call to ‘CanvasViewHelper::preproccessDropEvent(QDragMoveEvent* const&, QList&)’
         d->fileViewHelper->preproccessDropEvent(event, m_urlsForDragEvent);
                                                                          ^
In file included from ../view/canvasgridview.cpp:40:
/usr/include/dde-file-manager/dfileviewhelper.h:68:10: note: candidate: ‘void DFileViewHelper::preproccessDropEvent(QDropEvent*) const’
     void preproccessDropEvent(QDropEvent *event) const;
          ^~~~~~~~~~~~~~~~~~~~
/usr/include/dde-file-manager/dfileviewhelper.h:68:10: note:   candidate expects 1 argument, 2 provided
../view/canvasgridview.cpp: In member function ‘void CanvasGridView:penUrls(const QList&)’:
../view/canvasgridview.cpp:1478:31: error: ‘class DFileService’ has no member named ‘openFiles’; did you mean ‘openFile’?
     DFileService::instance()->openFiles(this, urlList);
                               ^~~~~~~~~
                               openFile


编译时出现了该错误,请求help

Reply Favorite View the author
All Replies

No replies yet