https://bugs.kde.org/show_bug.cgi?id=411197
Bug ID: 411197
Summary: Unable to compile, error: ‘const class QString’ has no
member named ‘chopped’
Product: Falkon
Version: unspecified
Platform: Compiled Sources
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
When trying to compile from git source, I get an error at
[ 16%] Building CXX object
src/lib/CMakeFiles/FalkonPrivate.dir/session/sessionmanagerdialog.cpp.o
/fittybones/tmp/github/falkon/src/lib/preferences/thememanager.cpp: In member
function ‘ThemeManager::Theme ThemeManager::parseTheme(const QString&, const
QString&)’:
/fittybones/tmp/github/falkon/src/lib/preferences/thememanager.cpp:140:27:
error: ‘const class QString’ has no member named ‘chopped’; did you mean
‘chop’?
info.themePath = path.chopped(1);
^~~~~~~
chop
make[2]: *** [src/lib/CMakeFiles/FalkonPrivate.dir/build.make:2527:
src/lib/CMakeFiles/FalkonPrivate.dir/preferences/thememanager.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:178:
src/lib/CMakeFiles/FalkonPrivate.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
I'm running FC27 32bit, so latest qt5 available is 5.9.6, but "chopped()" was
only introduced in qt 5.10.
The fix would be either to add a check requiring version 5.10 of qt (my 5.9.6
passed all pre-compile checks), or to use a different function than
"chopped()".
(My obvious preference would be to make it compileable with 5.9.6, so I am not
forced to upgrade just to compile falkon --which I know I will have to do soon
anyways, given the fix to 5.13 for the "close views" crash in konqueror-- if
this is the only 5.10 func used, I hope this is acceptable. I want to start
trying out falkon as a replacement for all the broken browsers on my system
now, but I want to compile in h264, as well as test to see if another bug I ran
into while creating a simple theme for falkon has already been fixed). Thanks
in advance. I'm excited to start using falkon!
--
You are receiving this mail because:
You are watching all bug changes.