Bug 405012 - kparts fails to compile with Qt 5.13
Summary: kparts fails to compile with Qt 5.13
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kparts
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-03 01:10 UTC by bluescreenavenger
Modified: 2019-03-24 11:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bluescreenavenger 2019-03-03 01:10:08 UTC
SUMMARY
Building kparts master with Qt 5.13, I get this error output

[ 40%] Building CXX object src/CMakeFiles/KF5Parts.dir/selectorinterface.cpp.o
/srcbuild/kf5-kparts/src/browserrun.cpp: In static member function ‘static void KParts::BrowserRun::saveUrl(const QUrl&, const QString&, QWidget*, const KParts::OpenUrlArguments&)’:
/srcbuild/kf5-kparts/src/browserrun.cpp:433:10: error: ‘class QFileDialog’ has no member named ‘setConfirmOverwrite’; did you mean ‘DontConfirmOverwrite’?
     dlg->setConfirmOverwrite(true);
          ^~~~~~~~~~~~~~~~~~~
          DontConfirmOverwrite
[ 41%] Building CXX object src/CMakeFiles/KF5Parts.dir/fileinfoextension.cpp.o
[ 42%] Building CXX object src/CMakeFiles/KF5Parts.dir/listingfilterextension.cpp.o
make[2]: *** [src/CMakeFiles/KF5Parts.dir/build.make:323: src/CMakeFiles/KF5Parts.dir/browserrun.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:845: src/CMakeFiles/KF5Parts.dir/all] Error 2
make: *** [Makefile:141: all] Error 2


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian Testing
KDE Frameworks Version: Master
Qt Version: 5.13

ADDITIONAL INFORMATION
Comment 1 Christoph Feck 2019-03-24 11:36:24 UTC
Fixed by Laurent Montel with https://commits.kde.org/kparts/3f3c760d7f527503f19203f1d684252883fb0297