Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
6.4.0 FF
-
None
Description
The documentation of QDate opens its list of constructors with
QDate(int ymd)
which was something of a surprise to me, as there is no such constructor (nor is it clear how one int would encode year, month and day).
Following the link, it turns out to be referring to
template <typename> QDate::QDate(int ymd) template <typename> QDate::QDate(int ymd) template <typename> QDate::QDate(int ymd) template <typename> QDate::QDate(int ymd)
(all tagged as [since 6.4]), none of which in fact exist.
My best guess is that these are generated somehow from
\fn QDate::QDate(std::chrono::year_month_day ymd) \fn QDate::QDate(std::chrono::year_month_day_last ymd) \fn QDate::QDate(std::chrono::year_month_weekday ymd) \fn QDate::QDate(std::chrono::year_month_weekday_last ymd)
However, replacing the struct types of these actual parameters with int is unequivocally A Bug, presumably in QDoc.
Attachments
Issue Links
- duplicates
-
QTBUG-102600 Wrong documentation generated for some QDate(Time) methods
-
- Closed
-