Build error

Dag danders at get2net.dk
Tue Jun 12 09:15:33 BST 2012


Mandag den 11. juni 2012 11:35:50 Inge Wallin skrev:
> There is a build error in the current master that seems to have snuck past
> most people.  My guess is that this is an issue with older kdelibs only. My
> version of KDE is 4.5.2 and of Qt is 4.6.3.
Yes indeed, it is this:
ID: 8297e8cbc8267b1dd3e317ab0f03ff053d4cf500
 Added by C. Boemann 3 days ago
Commit several small fixes contributed by Mauro Levra
REVIEW:103057

These methods are not present until 4.4 or 4.5. I forgot to check it during 
the review, sorry.
Casper, could you revert this, except for the typo fix in there?
I don't have a clean build atm.
> 
> 
> /local/KDE/src/calligra/plan/libs/models/kcalendar/kdatetable.cpp: In member
> function ‘virtual bool KPlato::KDateTable::event(QEvent*)’:
> /local/KDE/src/calligra/plan/libs/models/kcalendar/kdatetable.cpp:535:
> error: ‘const class KCalendarSystem’ has no member named ‘week’
> /local/KDE/src/calligra/plan/libs/models/kcalendar/kdatetable.cpp: In member
> function ‘void KPlato::KDateTable::paintCell(QPainter*, int, int)’:
> /local/KDE/src/calligra/plan/libs/models/kcalendar/kdatetable.cpp:628:
> error: ‘const class KCalendarSystem’ has no member named ‘week’
> make[2]: ***
> [plan/libs/models/CMakeFiles/kplatomodels.dir/kcalendar/kdatetable.o] Error
> 1 /local/KDE/src/calligra/plan/libs/models/kcalendar/kdatepicker.cpp: In
> member function ‘void KPlato::KDatePicker::fillWeeksCombo(const QDate&)’:
> /local/KDE/src/calligra/plan/libs/models/kcalendar/kdatepicker.cpp:118:
> error: ‘const class KCalendarSystem’ has no member named ‘week’
> /local/KDE/src/calligra/plan/libs/models/kcalendar/kdatepicker.cpp:124:
> error: ‘const class KCalendarSystem’ has no member named ‘week’
> /local/KDE/src/calligra/plan/libs/models/kcalendar/kdatepicker.cpp:124:
> error: ‘const class KCalendarSystem’ has no member named ‘week’
> make[2]: ***
> [plan/libs/models/CMakeFiles/kplatomodels.dir/kcalendar/kdatepicker.o] Error
> 1 make[2]: Target `plan/libs/models/CMakeFiles/kplatomodels.dir/build' not
> remade because of errors.
> make[1]: *** [plan/libs/models/CMakeFiles/kplatomodels.dir/all] Error 2
> /local/KDE/src/calligra/sheets/plugins/calendar/CalendarTool.cpp: In member
> function ‘void Calligra::Sheets::CalendarTool::insertCalendar(const QDate&,
> const QDate&)’:
> /local/KDE/src/calligra/sheets/plugins/calendar/CalendarTool.cpp:171: error:
> ‘class KCalendarSystem’ has no member named ‘week’
> make[2]: ***
> [sheets/plugins/calendar/CMakeFiles/kspread_plugin_tool_calendar.dir/Calenda
> rTool.o] Error 1
> make[2]: Target
> `sheets/plugins/calendar/CMakeFiles/kspread_plugin_tool_calendar.dir/build'
> not remade because of errors.
> make[1]: ***
> [sheets/plugins/calendar/CMakeFiles/kspread_plugin_tool_calendar.dir/all]
> Error 2
> make[1]: Target `all' not remade because of errors.
> make: *** [all] Error 2
> make: Target `default_target' not remade because of errors.
> _______________________________________________
> calligra-devel mailing list
> calligra-devel at kde.org
> https://mail.kde.org/mailman/listinfo/calligra-devel
-- 
Mvh.
Dag Andersen



More information about the calligra-devel mailing list