Bug 374166 - build failure on compiling kio_trash
Summary: build failure on compiling kio_trash
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.29.0
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks: 373932
  Show dependency treegraph
 
Reported: 2016-12-26 14:04 UTC by Ralf Habacker
Modified: 2017-01-01 11:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.30.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2016-12-26 14:04:03 UTC
frameworks kio build fails on compiling kio_trash. The compiler error is: 

/home/abuild/rpmbuild/BUILD/kio-5.29.0/src/ioslaves/trash/kio_trash_win.cpp: In member function 'virtual void TrashProtocol::rename(const QUrl&, const QUrl&, KIO::JobFlags)':
/home/abuild/rpmbuild/BUILD/kio-5.29.0/src/ioslaves/trash/kio_trash_win.cpp:224:13: error: 'KIO_TRASH' was not declared in this scope
qCDebug(KIO_TRASH) << "TrashProtocol::rename(): old=" << oldURL << " new=" << newURL << " overwrite=" << (flags & KIO::Overwrite);

full build log is located at https://build.opensuse.org/package/live_build_log/home:rhabacker:branches:windows:mingw:win32:KF529/mingw32-kio/openSUSE_Leap_42.1/x86_64
Comment 1 David Faure 2016-12-26 17:41:54 UTC
Git commit bd9d605f5f4f6f41b9d1ba3b488bd706505e5dad by David Faure.
Committed on 26/12/2016 at 17:41.
Pushed by dfaure into branch 'master'.

add missing include, to hopefully fix compilation on Windows

M  +1    -1    src/ioslaves/trash/kio_trash_win.cpp

https://commits.kde.org/kio/bd9d605f5f4f6f41b9d1ba3b488bd706505e5dad