Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-125610

Constructing a QDate from std::chrono::year_month_day results in link error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.7.2, 6.8.0 FF
    • 6.7.0, 6.7.1
    • Core: Date/Time
    • None
    • MSVC Version 17.9.0
      ISO C++20 Standard (/std:c++20)
    • Windows
    • 2
    • 88702cc87 (dev), d3c060def (6.7), d23764c5a (dev), 665aaf9f6 (6.8), 1c92fb8de (6.7)
    • Foundation Sprint 108

    Description

      Using the QDate constructor that take std::chrono::year_month_day results in a link error "unresolved external symbol: stdSysDaysToJulianDay"

      The following code triggers the link error.

      auto date = QDate(std::chrono::year_month_day{}); 

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ivan.solovev Ivan Solovev
            martin-evoma Martin Andersson
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change