From f0ac3bf4f7503e9d464bec18a9759ced6f5323f4 Mon Sep 17 00:00:00 2001 From: wuyize Date: Sat, 8 Apr 2023 13:52:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84Release=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ArchitectureColoredPainting.vcxproj | 11 ++++++++--- .../src/Renderer/RendererWidget.cpp | 4 ++-- .../FramelessHelperCore/FramelessHelperCore.vcxproj | 5 +++-- .../FramelessHelperWidgets.vcxproj | 7 ++++--- 4 files changed, 17 insertions(+), 10 deletions(-) diff --git a/ArchitectureColoredPainting/ArchitectureColoredPainting.vcxproj b/ArchitectureColoredPainting/ArchitectureColoredPainting.vcxproj index 3f37fbb..6b9a83c 100644 --- a/ArchitectureColoredPainting/ArchitectureColoredPainting.vcxproj +++ b/ArchitectureColoredPainting/ArchitectureColoredPainting.vcxproj @@ -37,7 +37,7 @@ 5.15.2_msvc2019_64 - core;gui;widgets + core;xml;gui;svg;widgets;core-private;gui-private;widgets-private release @@ -61,9 +61,14 @@ - stdcpp17 - $(SolutionDir)QGoodWindow;%(AdditionalIncludeDirectories);$(Qt_INCLUDEPATH_) + stdcpp20 + $(ProjectDir)include;$(SolutionDir)ArchitectureColoredPainting\src\Editor\RightBar;$(SolutionDir)ArchitectureColoredPainting\src\Editor\;$(SolutionDir)FramelessHelper\include;$(SolutionDir)FramelessHelper\qmake\inc\core;$(SolutionDir)FramelessHelper\include\FramelessHelper\Core;$(SolutionDir)qt-material-widgets\components;%(AdditionalIncludeDirectories) + Speed + FRAMELESSHELPER_WIDGETS_STATIC;%(PreprocessorDefinitions) + + opengl32.lib;%(AdditionalDependencies) + diff --git a/ArchitectureColoredPainting/src/Renderer/RendererWidget.cpp b/ArchitectureColoredPainting/src/Renderer/RendererWidget.cpp index 01ff2c2..050e8c8 100644 --- a/ArchitectureColoredPainting/src/Renderer/RendererWidget.cpp +++ b/ArchitectureColoredPainting/src/Renderer/RendererWidget.cpp @@ -14,8 +14,8 @@ Renderer::RendererWidget::RendererWidget(QWidget* parent) auto test2Action = new QAction(QStringLiteral("²âÊÔ2"), ui.openButton); ui.openButton->addMenuAction(openAction); ui.openButton->addMenuAction(saveAction); - ui.openButton->addMenuAction(testAction); - ui.openButton->addMenuAction(test2Action); + //ui.openButton->addMenuAction(testAction); + //ui.openButton->addMenuAction(test2Action); QObject::connect(ui.horizontalSlider, &QSlider::valueChanged, ui.openGLWidget, &Renderer::RendererGLWidget::setMainLightPitch); diff --git a/FramelessHelper/qmake/FramelessHelperCore/FramelessHelperCore.vcxproj b/FramelessHelper/qmake/FramelessHelperCore/FramelessHelperCore.vcxproj index 30a2de9..374b361 100644 --- a/FramelessHelper/qmake/FramelessHelperCore/FramelessHelperCore.vcxproj +++ b/FramelessHelper/qmake/FramelessHelperCore/FramelessHelperCore.vcxproj @@ -20,11 +20,11 @@ - v142 + v143 release\ false NotSet - Application + StaticLibrary release\ FramelessHelperCore @@ -96,6 +96,7 @@ true Level3 true + stdcpp20 user32.lib;gdi32.lib;shell32.lib;shell32.lib;%(AdditionalDependencies) diff --git a/FramelessHelper/qmake/FramelessHelperWidgets/FramelessHelperWidgets.vcxproj b/FramelessHelper/qmake/FramelessHelperWidgets/FramelessHelperWidgets.vcxproj index 3765ad1..a85d52c 100644 --- a/FramelessHelper/qmake/FramelessHelperWidgets/FramelessHelperWidgets.vcxproj +++ b/FramelessHelper/qmake/FramelessHelperWidgets/FramelessHelperWidgets.vcxproj @@ -20,11 +20,11 @@ - v142 + v143 release\ false NotSet - Application + StaticLibrary release\ FramelessHelperWidgets @@ -78,7 +78,7 @@ - GeneratedFiles\$(ConfigurationName);GeneratedFiles;.;..\..\include\FramelessHelper\Widgets;..\..\include\FramelessHelper\Widgets\private;release;E:\VulkanSDK\1.3.216.0\include;%(AdditionalIncludeDirectories) + GeneratedFiles\$(ConfigurationName);GeneratedFiles;.;..\..\include\FramelessHelper\Widgets;..\..\include\FramelessHelper\Widgets\private;release;..\..\include;..\inc\core;..\..\include\FramelessHelper\Core;%(AdditionalIncludeDirectories) -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 %(AdditionalOptions) release\ false @@ -96,6 +96,7 @@ true Level3 true + stdcpp20 shell32.lib;%(AdditionalDependencies)