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

Loading times for larger svgs is not acceptable since Qt 6.8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical P1: Critical
    • None
    • 6.8.3, 6.9.2, 6.10
    • SVG Support
    • All

      Since https://codereview.qt-project.org/c/qt/qtsvg/+/616712 to loading times increased for the factor 1000 an more (e.g. from 3.5 seconds to 394.635 seconds with the testsvg svg.7z ).

      Simple testcase:

      #include <QtSvg>
      #include <QtWidgets>
      int main(int argc, char* argv[])
      {
          QApplication app(argc, argv);
          QElapsedTimer t;
          t.start();
          QImage img("1.svg");
          qDebug() << t.elapsed();
          return 0;
      }
      

      The original report comes from the forum: https://forum.qt.io/topic/162929/very-long-time-loaded-svg-in-image.

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

            hatemelkharashy Hatem ElKharashy
            chehrlic Christian Ehrlicher
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes