From 3efb7973b0a954bf34b2edb688aeb47347bebd10 Mon Sep 17 00:00:00 2001 From: "yang.yongquan" <3395816735@qq.com> Date: Thu, 19 Jan 2023 12:54:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86points=E7=9A=84?= =?UTF-8?q?=E6=A3=80=E6=B5=8B=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ArchitectureColoredPainting/src/main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ArchitectureColoredPainting/src/main.cpp b/ArchitectureColoredPainting/src/main.cpp index c734e03..0960cf7 100644 --- a/ArchitectureColoredPainting/src/main.cpp +++ b/ArchitectureColoredPainting/src/main.cpp @@ -2,6 +2,7 @@ #include "Renderer/Painting/CubicBezier.h" #include #include +#include "Editor/third-party modules/util/SvgFileLoader.h" using Renderer::CubicBezier; @@ -12,10 +13,9 @@ extern "C" int main(int argc, char *argv[]) { - QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); - QApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough); - QApplication a(argc, argv); - MainWindow w; - w.show(); - return a.exec(); + SvgFileLoader svgLoader; + QPainterPath painterPath; + svgLoader.loadSvgFile("D:/login.svg", painterPath); + qDebug() << painterPath; + return 0; }