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

Fontconfig warning printed with fonctconfig 2.17

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.9.1
    • GUI: Font handling
    • None
    • Arch Linux, with Qt6 installed from the distro repositiories
    • Linux/Wayland

    Description

      I'm on Arch Linux with Qt 6.9.1 and fontconfig 2.17, which was released recently.

      Since this fontconfig upgrade, Qt applications are printing a warning at startup:

      Fontconfig warning: using without calling FcInit()

      This is reproducible with a minimal hello world Qt program:

      #include <QApplication>
      #include <QLabel>int main(int argc, char *argv[])
      {
          QApplication app(argc, argv);
          QLabel label("Hello World!");
          label.show();
          return app.exec();
      }

      This closed issue on fontconfig's issue tracker suggests downstream projects should adapt to this (presumably by calling a function called FcInit()):

      https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/472

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            chrisbillington Chris Billington
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes