| @@ -0,0 +1,37 @@ | |||
| QT += core gui multimedia multimediawidgets serialport network | |||
| greaterThan(QT_MAJOR_VERSION, 4): QT += widgets | |||
| CONFIG += c++11 | |||
| # The following define makes your compiler emit warnings if you use | |||
| # any Qt feature that has been marked deprecated (the exact warnings | |||
| # depend on your compiler). Please consult the documentation of the | |||
| # deprecated API in order to know how to port your code away from it. | |||
| DEFINES += QT_DEPRECATED_WARNINGS | |||
| # You can also make your code fail to compile if it uses deprecated APIs. | |||
| # In order to do so, uncomment the following line. | |||
| # You can also select to disable deprecated APIs only up to a certain version of Qt. | |||
| #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 | |||
| SOURCES += \ | |||
| main.cpp \ | |||
| widget.cpp | |||
| HEADERS += \ | |||
| widget.h | |||
| FORMS += \ | |||
| widget.ui | |||
| TRANSLATIONS += \ | |||
| WasteSorting_zh_CN.ts | |||
| # Default rules for deployment. | |||
| qnx: target.path = /tmp/$${TARGET}/bin | |||
| else: unix:!android: target.path = /opt/$${TARGET}/bin | |||
| !isEmpty(target.path): INSTALLS += target | |||
| RESOURCES += \ | |||
| image.qrc | |||
| @@ -0,0 +1,563 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
| <!DOCTYPE QtCreatorProject> | |||
| <!-- Written by QtCreator 4.11.1, 2021-03-03T18:07:55. --> | |||
| <qtcreator> | |||
| <data> | |||
| <variable>EnvironmentId</variable> | |||
| <value type="QByteArray">{d7c6f6ed-3661-4448-b394-a20f7ac693ed}</value> | |||
| </data> | |||
| <data> | |||
| <variable>ProjectExplorer.Project.ActiveTarget</variable> | |||
| <value type="int">0</value> | |||
| </data> | |||
| <data> | |||
| <variable>ProjectExplorer.Project.EditorSettings</variable> | |||
| <valuemap type="QVariantMap"> | |||
| <value type="bool" key="EditorConfiguration.AutoIndent">true</value> | |||
| <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> | |||
| <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value> | |||
| <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> | |||
| <value type="QString" key="language">Cpp</value> | |||
| <valuemap type="QVariantMap" key="value"> | |||
| <value type="QByteArray" key="CurrentPreferences">CppGlobal</value> | |||
| </valuemap> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> | |||
| <value type="QString" key="language">QmlJS</value> | |||
| <valuemap type="QVariantMap" key="value"> | |||
| <value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value> | |||
| </valuemap> | |||
| </valuemap> | |||
| <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> | |||
| <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value> | |||
| <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> | |||
| <value type="int" key="EditorConfiguration.IndentSize">4</value> | |||
| <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value> | |||
| <value type="int" key="EditorConfiguration.MarginColumn">80</value> | |||
| <value type="bool" key="EditorConfiguration.MouseHiding">true</value> | |||
| <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> | |||
| <value type="int" key="EditorConfiguration.PaddingMode">1</value> | |||
| <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> | |||
| <value type="bool" key="EditorConfiguration.ShowMargin">false</value> | |||
| <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> | |||
| <value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value> | |||
| <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> | |||
| <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> | |||
| <value type="int" key="EditorConfiguration.TabSize">8</value> | |||
| <value type="bool" key="EditorConfiguration.UseGlobal">true</value> | |||
| <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> | |||
| <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> | |||
| <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> | |||
| <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> | |||
| <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> | |||
| </valuemap> | |||
| </data> | |||
| <data> | |||
| <variable>ProjectExplorer.Project.PluginSettings</variable> | |||
| <valuemap type="QVariantMap"> | |||
| <valuelist type="QVariantList" key="ClangCodeModel.CustomCommandLineKey"> | |||
| <value type="QString">-fno-delayed-template-parsing</value> | |||
| </valuelist> | |||
| <value type="bool" key="ClangCodeModel.UseGlobalConfig">true</value> | |||
| </valuemap> | |||
| </data> | |||
| <data> | |||
| <variable>ProjectExplorer.Project.Target.0</variable> | |||
| <valuemap type="QVariantMap"> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.14.2 MSVC2017 64bit</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.14.2 MSVC2017 64bit</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt5.5142.win64_msvc2017_64_kit</value> | |||
| <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value> | |||
| <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> | |||
| <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> | |||
| <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/14121/Desktop/WasteSorting/build-WasteSorting-Desktop_Qt_5_14_2_MSVC2017_64bit-Debug</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value> | |||
| <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |||
| <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |||
| <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |||
| <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1"> | |||
| <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/14121/Desktop/build-WasteSorting-Desktop_Qt_5_14_2_MSVC2017_64bit-Release</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> | |||
| <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">true</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |||
| <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |||
| <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |||
| <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2"> | |||
| <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/14121/Desktop/WasteSorting/build-WasteSorting-Desktop_Qt_5_14_2_MSVC2017_64bit-Profile</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value> | |||
| <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">true</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">true</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |||
| <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |||
| <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Profile</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |||
| <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> | |||
| <value type="QString" key="Analyzer.Perf.CallgraphMode">dwarf</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Perf.Events"> | |||
| <value type="QString">cpu-cycles</value> | |||
| </valuelist> | |||
| <valuelist type="QVariantList" key="Analyzer.Perf.ExtraArguments"/> | |||
| <value type="int" key="Analyzer.Perf.Frequency">250</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Perf.RecordArguments"> | |||
| <value type="QString">-e</value> | |||
| <value type="QString">cpu-cycles</value> | |||
| <value type="QString">--call-graph</value> | |||
| <value type="QString">dwarf,4096</value> | |||
| <value type="QString">-F</value> | |||
| <value type="QString">250</value> | |||
| </valuelist> | |||
| <value type="QString" key="Analyzer.Perf.SampleMode">-F</value> | |||
| <value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value> | |||
| <value type="int" key="Analyzer.Perf.StackSize">4096</value> | |||
| <value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value> | |||
| <value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value> | |||
| <value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value> | |||
| <value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value> | |||
| <value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |||
| <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |||
| <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |||
| <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |||
| <value type="QString" key="Analyzer.Valgrind.KCachegrindExecutable">kcachegrind</value> | |||
| <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value> | |||
| <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |||
| <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value> | |||
| <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |||
| <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |||
| <value type="int">0</value> | |||
| <value type="int">1</value> | |||
| <value type="int">2</value> | |||
| <value type="int">3</value> | |||
| <value type="int">4</value> | |||
| <value type="int">5</value> | |||
| <value type="int">6</value> | |||
| <value type="int">7</value> | |||
| <value type="int">8</value> | |||
| <value type="int">9</value> | |||
| <value type="int">10</value> | |||
| <value type="int">11</value> | |||
| <value type="int">12</value> | |||
| <value type="int">13</value> | |||
| <value type="int">14</value> | |||
| </valuelist> | |||
| <value type="int" key="PE.EnvironmentAspect.Base">2</value> | |||
| <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">WasteSorting2</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:C:/Users/14121/Desktop/WasteSorting/WasteSorting.pro</value> | |||
| <value type="QString" key="ProjectExplorer.RunConfiguration.BuildKey">C:/Users/14121/Desktop/WasteSorting/WasteSorting.pro</value> | |||
| <value type="QString" key="RunConfiguration.Arguments"></value> | |||
| <value type="bool" key="RunConfiguration.Arguments.multi">false</value> | |||
| <value type="QString" key="RunConfiguration.OverrideDebuggerStartup"></value> | |||
| <value type="bool" key="RunConfiguration.UseCppDebugger">false</value> | |||
| <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value> | |||
| <value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value> | |||
| <value type="bool" key="RunConfiguration.UseMultiProcess">false</value> | |||
| <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> | |||
| <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value> | |||
| <value type="QString" key="RunConfiguration.WorkingDirectory"></value> | |||
| <value type="QString" key="RunConfiguration.WorkingDirectory.default">C:/Users/14121/Desktop/build-WasteSorting-Desktop_Qt_5_14_2_MSVC2017_64bit-Release</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> | |||
| </valuemap> | |||
| </data> | |||
| <data> | |||
| <variable>ProjectExplorer.Project.Target.1</variable> | |||
| <valuemap type="QVariantMap"> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.14.2 MSVC2017 32bit</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.14.2 MSVC2017 32bit</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt5.5142.win32_msvc2017_kit</value> | |||
| <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> | |||
| <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> | |||
| <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> | |||
| <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/14121/Desktop/WasteSorting/build-WasteSorting-Desktop_Qt_5_14_2_MSVC2017_32bit-Debug</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value> | |||
| <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |||
| <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |||
| <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |||
| <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1"> | |||
| <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/14121/Desktop/WasteSorting/build-WasteSorting-Desktop_Qt_5_14_2_MSVC2017_32bit-Release</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> | |||
| <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">true</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |||
| <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |||
| <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |||
| <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2"> | |||
| <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/14121/Desktop/WasteSorting/build-WasteSorting-Desktop_Qt_5_14_2_MSVC2017_32bit-Profile</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value> | |||
| <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">true</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">true</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |||
| <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |||
| <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Profile</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |||
| <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> | |||
| <value type="QString" key="Analyzer.Perf.CallgraphMode">dwarf</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Perf.Events"> | |||
| <value type="QString">cpu-cycles</value> | |||
| </valuelist> | |||
| <valuelist type="QVariantList" key="Analyzer.Perf.ExtraArguments"/> | |||
| <value type="int" key="Analyzer.Perf.Frequency">250</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Perf.RecordArguments"> | |||
| <value type="QString">-e</value> | |||
| <value type="QString">cpu-cycles</value> | |||
| <value type="QString">--call-graph</value> | |||
| <value type="QString">dwarf,4096</value> | |||
| <value type="QString">-F</value> | |||
| <value type="QString">250</value> | |||
| </valuelist> | |||
| <value type="QString" key="Analyzer.Perf.SampleMode">-F</value> | |||
| <value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value> | |||
| <value type="int" key="Analyzer.Perf.StackSize">4096</value> | |||
| <value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value> | |||
| <value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value> | |||
| <value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value> | |||
| <value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value> | |||
| <value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |||
| <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |||
| <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |||
| <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |||
| <value type="QString" key="Analyzer.Valgrind.KCachegrindExecutable">kcachegrind</value> | |||
| <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value> | |||
| <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |||
| <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value> | |||
| <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |||
| <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |||
| <value type="int">0</value> | |||
| <value type="int">1</value> | |||
| <value type="int">2</value> | |||
| <value type="int">3</value> | |||
| <value type="int">4</value> | |||
| <value type="int">5</value> | |||
| <value type="int">6</value> | |||
| <value type="int">7</value> | |||
| <value type="int">8</value> | |||
| <value type="int">9</value> | |||
| <value type="int">10</value> | |||
| <value type="int">11</value> | |||
| <value type="int">12</value> | |||
| <value type="int">13</value> | |||
| <value type="int">14</value> | |||
| </valuelist> | |||
| <value type="int" key="PE.EnvironmentAspect.Base">2</value> | |||
| <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/> | |||
| <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value> | |||
| <value type="QString" key="ProjectExplorer.RunConfiguration.BuildKey"></value> | |||
| <value type="QString" key="RunConfiguration.Arguments"></value> | |||
| <value type="bool" key="RunConfiguration.Arguments.multi">false</value> | |||
| <value type="QString" key="RunConfiguration.OverrideDebuggerStartup"></value> | |||
| <value type="bool" key="RunConfiguration.UseCppDebugger">false</value> | |||
| <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value> | |||
| <value type="bool" key="RunConfiguration.UseMultiProcess">false</value> | |||
| <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> | |||
| <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value> | |||
| <value type="QString" key="RunConfiguration.WorkingDirectory"></value> | |||
| <value type="QString" key="RunConfiguration.WorkingDirectory.default"></value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> | |||
| </valuemap> | |||
| </data> | |||
| <data> | |||
| <variable>ProjectExplorer.Project.TargetCount</variable> | |||
| <value type="int">2</value> | |||
| </data> | |||
| <data> | |||
| <variable>ProjectExplorer.Project.Updater.FileVersion</variable> | |||
| <value type="int">22</value> | |||
| </data> | |||
| <data> | |||
| <variable>Version</variable> | |||
| <value type="int">22</value> | |||
| </data> | |||
| </qtcreator> | |||
| @@ -0,0 +1,326 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
| <!DOCTYPE QtCreatorProject> | |||
| <!-- Written by QtCreator 4.8.2, 2021-03-03T13:20:39. --> | |||
| <qtcreator> | |||
| <data> | |||
| <variable>EnvironmentId</variable> | |||
| <value type="QByteArray">{1d871142-4540-43ee-bc49-e59c0efe1a69}</value> | |||
| </data> | |||
| <data> | |||
| <variable>ProjectExplorer.Project.ActiveTarget</variable> | |||
| <value type="int">0</value> | |||
| </data> | |||
| <data> | |||
| <variable>ProjectExplorer.Project.EditorSettings</variable> | |||
| <valuemap type="QVariantMap"> | |||
| <value type="bool" key="EditorConfiguration.AutoIndent">true</value> | |||
| <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> | |||
| <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value> | |||
| <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> | |||
| <value type="QString" key="language">Cpp</value> | |||
| <valuemap type="QVariantMap" key="value"> | |||
| <value type="QByteArray" key="CurrentPreferences">CppGlobal</value> | |||
| </valuemap> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> | |||
| <value type="QString" key="language">QmlJS</value> | |||
| <valuemap type="QVariantMap" key="value"> | |||
| <value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value> | |||
| </valuemap> | |||
| </valuemap> | |||
| <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> | |||
| <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value> | |||
| <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> | |||
| <value type="int" key="EditorConfiguration.IndentSize">4</value> | |||
| <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value> | |||
| <value type="int" key="EditorConfiguration.MarginColumn">80</value> | |||
| <value type="bool" key="EditorConfiguration.MouseHiding">true</value> | |||
| <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> | |||
| <value type="int" key="EditorConfiguration.PaddingMode">1</value> | |||
| <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> | |||
| <value type="bool" key="EditorConfiguration.ShowMargin">false</value> | |||
| <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> | |||
| <value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value> | |||
| <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> | |||
| <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> | |||
| <value type="int" key="EditorConfiguration.TabSize">8</value> | |||
| <value type="bool" key="EditorConfiguration.UseGlobal">true</value> | |||
| <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> | |||
| <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> | |||
| <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> | |||
| <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> | |||
| <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> | |||
| </valuemap> | |||
| </data> | |||
| <data> | |||
| <variable>ProjectExplorer.Project.PluginSettings</variable> | |||
| <valuemap type="QVariantMap"> | |||
| <valuelist type="QVariantList" key="ClangCodeModel.CustomCommandLineKey"/> | |||
| <value type="bool" key="ClangCodeModel.UseGlobalConfig">true</value> | |||
| </valuemap> | |||
| </data> | |||
| <data> | |||
| <variable>ProjectExplorer.Project.Target.0</variable> | |||
| <valuemap type="QVariantMap"> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">桌面</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">桌面</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{ff17dd35-b21c-4987-9b8a-2fd992b8e5f7}</value> | |||
| <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value> | |||
| <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> | |||
| <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> | |||
| <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/media/pi/刘臣轩/build-WasteSorting-unknown-Debug</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value> | |||
| <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |||
| <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |||
| <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |||
| <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value> | |||
| <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1"> | |||
| <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/pi/Desktop/Release/</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> | |||
| <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |||
| <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |||
| <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |||
| <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> | |||
| <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2"> | |||
| <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/media/pi/刘臣轩/build-WasteSorting-unknown-Profile</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value> | |||
| <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">true</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |||
| <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |||
| <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Profile</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Profile</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |||
| <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> | |||
| <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">部署</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy Configuration</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> | |||
| <value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value> | |||
| <value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value> | |||
| <value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value> | |||
| <value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value> | |||
| <value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |||
| <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |||
| <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |||
| <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |||
| <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value> | |||
| <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |||
| <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value> | |||
| <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |||
| <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |||
| <value type="int">0</value> | |||
| <value type="int">1</value> | |||
| <value type="int">2</value> | |||
| <value type="int">3</value> | |||
| <value type="int">4</value> | |||
| <value type="int">5</value> | |||
| <value type="int">6</value> | |||
| <value type="int">7</value> | |||
| <value type="int">8</value> | |||
| <value type="int">9</value> | |||
| <value type="int">10</value> | |||
| <value type="int">11</value> | |||
| <value type="int">12</value> | |||
| <value type="int">13</value> | |||
| <value type="int">14</value> | |||
| </valuelist> | |||
| <value type="int" key="PE.EnvironmentAspect.Base">2</value> | |||
| <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">WasteSorting</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">WasteSorting2</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/home/pi/Desktop/WasteSorting/WasteSorting.pro</value> | |||
| <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">WasteSorting.pro</value> | |||
| <value type="QString" key="RunConfiguration.Arguments"></value> | |||
| <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> | |||
| <value type="bool" key="RunConfiguration.UseCppDebugger">false</value> | |||
| <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value> | |||
| <value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value> | |||
| <value type="bool" key="RunConfiguration.UseMultiProcess">false</value> | |||
| <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> | |||
| <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value> | |||
| <value type="QString" key="RunConfiguration.WorkingDirectory"></value> | |||
| <value type="QString" key="RunConfiguration.WorkingDirectory.default">/home/pi/Desktop/Release</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> | |||
| </valuemap> | |||
| </data> | |||
| <data> | |||
| <variable>ProjectExplorer.Project.TargetCount</variable> | |||
| <value type="int">1</value> | |||
| </data> | |||
| <data> | |||
| <variable>ProjectExplorer.Project.Updater.FileVersion</variable> | |||
| <value type="int">20</value> | |||
| </data> | |||
| <data> | |||
| <variable>Version</variable> | |||
| <value type="int">20</value> | |||
| </data> | |||
| </qtcreator> | |||
| @@ -0,0 +1,563 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
| <!DOCTYPE QtCreatorProject> | |||
| <!-- Written by QtCreator 4.11.1, 2021-03-03T12:58:06. --> | |||
| <qtcreator> | |||
| <data> | |||
| <variable>EnvironmentId</variable> | |||
| <value type="QByteArray">{d7c6f6ed-3661-4448-b394-a20f7ac693ed}</value> | |||
| </data> | |||
| <data> | |||
| <variable>ProjectExplorer.Project.ActiveTarget</variable> | |||
| <value type="int">0</value> | |||
| </data> | |||
| <data> | |||
| <variable>ProjectExplorer.Project.EditorSettings</variable> | |||
| <valuemap type="QVariantMap"> | |||
| <value type="bool" key="EditorConfiguration.AutoIndent">true</value> | |||
| <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> | |||
| <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value> | |||
| <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> | |||
| <value type="QString" key="language">Cpp</value> | |||
| <valuemap type="QVariantMap" key="value"> | |||
| <value type="QByteArray" key="CurrentPreferences">CppGlobal</value> | |||
| </valuemap> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> | |||
| <value type="QString" key="language">QmlJS</value> | |||
| <valuemap type="QVariantMap" key="value"> | |||
| <value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value> | |||
| </valuemap> | |||
| </valuemap> | |||
| <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> | |||
| <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value> | |||
| <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> | |||
| <value type="int" key="EditorConfiguration.IndentSize">4</value> | |||
| <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value> | |||
| <value type="int" key="EditorConfiguration.MarginColumn">80</value> | |||
| <value type="bool" key="EditorConfiguration.MouseHiding">true</value> | |||
| <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> | |||
| <value type="int" key="EditorConfiguration.PaddingMode">1</value> | |||
| <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> | |||
| <value type="bool" key="EditorConfiguration.ShowMargin">false</value> | |||
| <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> | |||
| <value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value> | |||
| <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> | |||
| <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> | |||
| <value type="int" key="EditorConfiguration.TabSize">8</value> | |||
| <value type="bool" key="EditorConfiguration.UseGlobal">true</value> | |||
| <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> | |||
| <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> | |||
| <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> | |||
| <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> | |||
| <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> | |||
| </valuemap> | |||
| </data> | |||
| <data> | |||
| <variable>ProjectExplorer.Project.PluginSettings</variable> | |||
| <valuemap type="QVariantMap"> | |||
| <valuelist type="QVariantList" key="ClangCodeModel.CustomCommandLineKey"> | |||
| <value type="QString">-fno-delayed-template-parsing</value> | |||
| </valuelist> | |||
| <value type="bool" key="ClangCodeModel.UseGlobalConfig">true</value> | |||
| </valuemap> | |||
| </data> | |||
| <data> | |||
| <variable>ProjectExplorer.Project.Target.0</variable> | |||
| <valuemap type="QVariantMap"> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.14.2 MSVC2017 64bit</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.14.2 MSVC2017 64bit</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt5.5142.win64_msvc2017_64_kit</value> | |||
| <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value> | |||
| <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> | |||
| <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> | |||
| <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/14121/Desktop/WasteSorting/build-WasteSorting-Desktop_Qt_5_14_2_MSVC2017_64bit-Debug</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value> | |||
| <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |||
| <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |||
| <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |||
| <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1"> | |||
| <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/14121/Desktop/WasteSorting/build-WasteSorting-Desktop_Qt_5_14_2_MSVC2017_64bit-Release</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> | |||
| <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">true</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |||
| <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |||
| <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |||
| <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2"> | |||
| <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/14121/Desktop/WasteSorting/build-WasteSorting-Desktop_Qt_5_14_2_MSVC2017_64bit-Profile</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value> | |||
| <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">true</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">true</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |||
| <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |||
| <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Profile</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |||
| <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> | |||
| <value type="QString" key="Analyzer.Perf.CallgraphMode">dwarf</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Perf.Events"> | |||
| <value type="QString">cpu-cycles</value> | |||
| </valuelist> | |||
| <valuelist type="QVariantList" key="Analyzer.Perf.ExtraArguments"/> | |||
| <value type="int" key="Analyzer.Perf.Frequency">250</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Perf.RecordArguments"> | |||
| <value type="QString">-e</value> | |||
| <value type="QString">cpu-cycles</value> | |||
| <value type="QString">--call-graph</value> | |||
| <value type="QString">dwarf,4096</value> | |||
| <value type="QString">-F</value> | |||
| <value type="QString">250</value> | |||
| </valuelist> | |||
| <value type="QString" key="Analyzer.Perf.SampleMode">-F</value> | |||
| <value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value> | |||
| <value type="int" key="Analyzer.Perf.StackSize">4096</value> | |||
| <value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value> | |||
| <value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value> | |||
| <value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value> | |||
| <value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value> | |||
| <value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |||
| <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |||
| <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |||
| <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |||
| <value type="QString" key="Analyzer.Valgrind.KCachegrindExecutable">kcachegrind</value> | |||
| <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value> | |||
| <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |||
| <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value> | |||
| <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |||
| <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |||
| <value type="int">0</value> | |||
| <value type="int">1</value> | |||
| <value type="int">2</value> | |||
| <value type="int">3</value> | |||
| <value type="int">4</value> | |||
| <value type="int">5</value> | |||
| <value type="int">6</value> | |||
| <value type="int">7</value> | |||
| <value type="int">8</value> | |||
| <value type="int">9</value> | |||
| <value type="int">10</value> | |||
| <value type="int">11</value> | |||
| <value type="int">12</value> | |||
| <value type="int">13</value> | |||
| <value type="int">14</value> | |||
| </valuelist> | |||
| <value type="int" key="PE.EnvironmentAspect.Base">2</value> | |||
| <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">WasteSorting2</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:C:/Users/14121/Desktop/WasteSorting/WasteSorting/WasteSorting.pro</value> | |||
| <value type="QString" key="ProjectExplorer.RunConfiguration.BuildKey">C:/Users/14121/Desktop/WasteSorting/WasteSorting/WasteSorting.pro</value> | |||
| <value type="QString" key="RunConfiguration.Arguments"></value> | |||
| <value type="bool" key="RunConfiguration.Arguments.multi">false</value> | |||
| <value type="QString" key="RunConfiguration.OverrideDebuggerStartup"></value> | |||
| <value type="bool" key="RunConfiguration.UseCppDebugger">false</value> | |||
| <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value> | |||
| <value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value> | |||
| <value type="bool" key="RunConfiguration.UseMultiProcess">false</value> | |||
| <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> | |||
| <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value> | |||
| <value type="QString" key="RunConfiguration.WorkingDirectory"></value> | |||
| <value type="QString" key="RunConfiguration.WorkingDirectory.default">C:/Users/14121/Desktop/WasteSorting/build-WasteSorting-Desktop_Qt_5_14_2_MSVC2017_64bit-Release</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> | |||
| </valuemap> | |||
| </data> | |||
| <data> | |||
| <variable>ProjectExplorer.Project.Target.1</variable> | |||
| <valuemap type="QVariantMap"> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.14.2 MSVC2017 32bit</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.14.2 MSVC2017 32bit</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt5.5142.win32_msvc2017_kit</value> | |||
| <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> | |||
| <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> | |||
| <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> | |||
| <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/14121/Desktop/WasteSorting/build-WasteSorting-Desktop_Qt_5_14_2_MSVC2017_32bit-Debug</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value> | |||
| <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |||
| <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |||
| <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Debug</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |||
| <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1"> | |||
| <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/14121/Desktop/WasteSorting/build-WasteSorting-Desktop_Qt_5_14_2_MSVC2017_32bit-Release</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> | |||
| <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">true</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |||
| <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |||
| <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Release</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |||
| <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2"> | |||
| <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/14121/Desktop/WasteSorting/build-WasteSorting-Desktop_Qt_5_14_2_MSVC2017_32bit-Profile</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value> | |||
| <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">true</value> | |||
| <value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">true</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Build</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |||
| </valuemap> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |||
| <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |||
| <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.BuildTargets"/> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |||
| <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |||
| <value type="bool" key="Qt4ProjectManager.MakeStep.OverrideMakeflags">false</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Clean</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |||
| <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |||
| <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Profile</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |||
| <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |||
| <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/> | |||
| <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> | |||
| <value type="QString" key="Analyzer.Perf.CallgraphMode">dwarf</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Perf.Events"> | |||
| <value type="QString">cpu-cycles</value> | |||
| </valuelist> | |||
| <valuelist type="QVariantList" key="Analyzer.Perf.ExtraArguments"/> | |||
| <value type="int" key="Analyzer.Perf.Frequency">250</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Perf.RecordArguments"> | |||
| <value type="QString">-e</value> | |||
| <value type="QString">cpu-cycles</value> | |||
| <value type="QString">--call-graph</value> | |||
| <value type="QString">dwarf,4096</value> | |||
| <value type="QString">-F</value> | |||
| <value type="QString">250</value> | |||
| </valuelist> | |||
| <value type="QString" key="Analyzer.Perf.SampleMode">-F</value> | |||
| <value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value> | |||
| <value type="int" key="Analyzer.Perf.StackSize">4096</value> | |||
| <value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value> | |||
| <value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value> | |||
| <value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value> | |||
| <value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value> | |||
| <value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |||
| <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |||
| <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |||
| <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |||
| <value type="QString" key="Analyzer.Valgrind.KCachegrindExecutable">kcachegrind</value> | |||
| <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value> | |||
| <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |||
| <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value> | |||
| <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value> | |||
| <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value> | |||
| <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |||
| <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |||
| <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |||
| <value type="int">0</value> | |||
| <value type="int">1</value> | |||
| <value type="int">2</value> | |||
| <value type="int">3</value> | |||
| <value type="int">4</value> | |||
| <value type="int">5</value> | |||
| <value type="int">6</value> | |||
| <value type="int">7</value> | |||
| <value type="int">8</value> | |||
| <value type="int">9</value> | |||
| <value type="int">10</value> | |||
| <value type="int">11</value> | |||
| <value type="int">12</value> | |||
| <value type="int">13</value> | |||
| <value type="int">14</value> | |||
| </valuelist> | |||
| <value type="int" key="PE.EnvironmentAspect.Base">2</value> | |||
| <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/> | |||
| <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value> | |||
| <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value> | |||
| <value type="QString" key="ProjectExplorer.RunConfiguration.BuildKey"></value> | |||
| <value type="QString" key="RunConfiguration.Arguments"></value> | |||
| <value type="bool" key="RunConfiguration.Arguments.multi">false</value> | |||
| <value type="QString" key="RunConfiguration.OverrideDebuggerStartup"></value> | |||
| <value type="bool" key="RunConfiguration.UseCppDebugger">false</value> | |||
| <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value> | |||
| <value type="bool" key="RunConfiguration.UseMultiProcess">false</value> | |||
| <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> | |||
| <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value> | |||
| <value type="QString" key="RunConfiguration.WorkingDirectory"></value> | |||
| <value type="QString" key="RunConfiguration.WorkingDirectory.default"></value> | |||
| </valuemap> | |||
| <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> | |||
| </valuemap> | |||
| </data> | |||
| <data> | |||
| <variable>ProjectExplorer.Project.TargetCount</variable> | |||
| <value type="int">2</value> | |||
| </data> | |||
| <data> | |||
| <variable>ProjectExplorer.Project.Updater.FileVersion</variable> | |||
| <value type="int">22</value> | |||
| </data> | |||
| <data> | |||
| <variable>Version</variable> | |||
| <value type="int">22</value> | |||
| </data> | |||
| </qtcreator> | |||
| @@ -0,0 +1,3 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
| <!DOCTYPE TS> | |||
| <TS version="2.1" language="WasteSorting_zh_CN"></TS> | |||
| @@ -0,0 +1,17 @@ | |||
| <RCC> | |||
| <qresource prefix="/new/prefix1"> | |||
| <file>image/厨余垃圾.PNG</file> | |||
| <file>image/可回收物.PNG</file> | |||
| <file>image/其他垃圾.PNG</file> | |||
| <file>image/有害垃圾.PNG</file> | |||
| <file>image/中南大学.png</file> | |||
| <file>image/智能互联.png</file> | |||
| <file>image/识别中.png</file> | |||
| <file>image/满载警报.png</file> | |||
| <file>image/倾倒警报.png</file> | |||
| <file>image/logo1.png</file> | |||
| <file>image/主.png</file> | |||
| <file>image/工训大赛_.png</file> | |||
| <file>image/工训大赛.png</file> | |||
| </qresource> | |||
| </RCC> | |||
| @@ -0,0 +1,29 @@ | |||
| /* | |||
| * Copyright (C) 2021 刘臣轩 | |||
| * | |||
| * This program is free software: you can redistribute it and/or modify | |||
| * it under the terms of the GNU General Public License as published by | |||
| * the Free Software Foundation, either version 3 of the License, or | |||
| * (at your option) any later version. | |||
| * | |||
| * This program is distributed in the hope that it will be useful, | |||
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
| * GNU General Public License for more details. | |||
| * | |||
| * You should have received a copy of the GNU General Public License | |||
| * along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| */ | |||
| #include "widget.h" | |||
| #include <QApplication> | |||
| int main(int argc, char* argv[]) | |||
| { | |||
| QApplication a(argc, argv); | |||
| Widget w; | |||
| w.setWindowFlag(Qt::FramelessWindowHint); | |||
| w.show(); | |||
| return a.exec(); | |||
| } | |||
| @@ -0,0 +1,2 @@ | |||
| chcp 65001 | |||
| "C:\Qt\Qt5.14.2\Tools\QtCreator\bin\jom.exe" %* | |||
| @@ -0,0 +1,88 @@ | |||
| # Copyright(C) 2021 刘臣轩 | |||
| # This program is free software: you can redistribute it and / or modify | |||
| # it under the terms of the GNU General Public License as published by | |||
| # the Free Software Foundation, either version 3 of the License, or | |||
| # (at your option) any later version. | |||
| # This program is distributed in the hope that it will be useful, | |||
| # but WITHOUT ANY WARRANTY without even the implied warranty of | |||
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
| # GNU General Public License for more details. | |||
| # You should have received a copy of the GNU General Public License | |||
| # along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| #!/usr/bin/python | |||
| # -*-coding:utf-8-*- | |||
| from tflite_runtime.interpreter import Interpreter | |||
| from PIL import Image | |||
| import cv2 | |||
| import re | |||
| import os | |||
| import numpy as np | |||
| def loadLabels(labelPath): | |||
| p = re.compile(r'\s*(\d+)(.+)') | |||
| with open(labelPath, 'r', encoding='utf-8') as labelFile: | |||
| lines = (p.match(line).groups() for line in labelFile.readlines()) | |||
| return {int(num): text.strip() for num, text in lines} | |||
| def load_labels(path): | |||
| with open(path, 'r', errors='ignore') as f: | |||
| return {i: line.strip() for i, line in enumerate(f.readlines())} | |||
| def set_input_tensor(interpreter, image): | |||
| tensor_index = interpreter.get_input_details()[0]['index'] | |||
| input_tensor = interpreter.tensor(tensor_index)()[0] | |||
| input_tensor[:, :] = image | |||
| def classify_image(interpreter, image, top_k=1): | |||
| set_input_tensor(interpreter, image) | |||
| interpreter.invoke() | |||
| output_details = interpreter.get_output_details()[0] | |||
| output = np.squeeze(interpreter.get_tensor(output_details['index'])) | |||
| # If the model is quantized (uint8 data), then dequantize the results | |||
| if output_details['dtype'] == np.uint8: | |||
| scale, zero_point = output_details['quantization'] | |||
| output = scale * (output - zero_point) | |||
| ordered = np.argpartition(-output, top_k) | |||
| return [(i, output[i]) for i in ordered[:top_k]] | |||
| def main(): | |||
| # labels = load_labels('labels_mobilenet_quant_v1_224.txt') | |||
| # interpreter = Interpreter('mobilenet_v1_1.0_224_quant.tflite') | |||
| # labels = loadLabels('../WasteSorting/tensorflow/labels.txt') | |||
| interpreter = Interpreter('../WasteSorting/tensorflow/model.tflite') | |||
| interpreter.allocate_tensors() | |||
| pil_im = Image.open('../WasteSorting/WasteSorting.jpg').convert( | |||
| 'RGB').resize((224, 224), Image.ANTIALIAS) | |||
| pil_im.transpose(Image.FLIP_LEFT_RIGHT) | |||
| results = classify_image(interpreter, pil_im) | |||
| # print(results) | |||
| label = results[0][0] | |||
| if label == 0: | |||
| print('识别失败') | |||
| elif label in range(1, 4): | |||
| print('有害垃圾') | |||
| elif label in range(4, 7): | |||
| print('可回收物') | |||
| elif label in range(7, 10): | |||
| print('厨余垃圾') | |||
| else: | |||
| print('其他垃圾') | |||
| if __name__ == '__main__': | |||
| main() | |||
| @@ -0,0 +1,11 @@ | |||
| 0 空 | |||
| 1 1号电池 | |||
| 2 2号电池 | |||
| 3 5号电池 | |||
| 4 易拉罐 | |||
| 5 矿泉水瓶 | |||
| 6 废纸团 | |||
| 7 红苹果 | |||
| 8 小片生菜 | |||
| 9 碎瓷片 | |||
| 10 烟头 | |||
| @@ -0,0 +1,348 @@ | |||
| /* | |||
| * Copyright (C) 2021 刘臣轩 | |||
| * | |||
| * This program is free software: you can redistribute it and/or modify | |||
| * it under the terms of the GNU General Public License as published by | |||
| * the Free Software Foundation, either version 3 of the License, or | |||
| * (at your option) any later version. | |||
| * | |||
| * This program is distributed in the hope that it will be useful, | |||
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
| * GNU General Public License for more details. | |||
| * | |||
| * You should have received a copy of the GNU General Public License | |||
| * along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| */ | |||
| #include "widget.h" | |||
| #include "ui_widget.h" | |||
| Widget::Widget(QWidget* parent) | |||
| : QWidget(parent) | |||
| , ui(new Ui::Widget) | |||
| { | |||
| ui->setupUi(this); | |||
| connect(ui->pushButton, SIGNAL(clicked()), this, SLOT(close())); | |||
| ui->frame->setStyleSheet("#frame {border-image: url(:/new/prefix1/image/主.png);}"); | |||
| ui->textEdit->append("开始初始化设备"); | |||
| // Time | |||
| QTimer* timer = new QTimer(this); | |||
| connect(timer, SIGNAL(timeout()), this, SLOT(timerUpdate())); | |||
| timer->start(500); | |||
| initSerial(); | |||
| #ifdef Q_OS_WIN | |||
| initCamera(); | |||
| #else | |||
| connect(this, SIGNAL(imageCaptured(int, QImage)), this, SLOT(onImageCaptured(int, QImage))); | |||
| ui->textEdit->append("摄像头初始化成功"); | |||
| #endif | |||
| // Network | |||
| networkManager = new QNetworkAccessManager(); | |||
| networkRequest = new QNetworkRequest(); | |||
| networkRequest->setHeader(QNetworkRequest::ContentTypeHeader, " application/json;charset=UTF-8"); | |||
| url = new QUrl("https://aiapi.jd.com/jdai/garbageImageSearch"); | |||
| connect(networkManager, SIGNAL(finished(QNetworkReply*)), this, SLOT(onRequestFinished(QNetworkReply*))); | |||
| ui->label_3->setText("工训大赛"); | |||
| ui->label_4->setStyleSheet("border-image: url(:/new/prefix1/image/工训大赛.png);\nborder-radius: 10px;\n"); | |||
| ui->label_4->setVisible(true); | |||
| ui->label_5->setVisible(false); | |||
| ui->textEdit->append("设备初始化成功√"); | |||
| number = 0; | |||
| // Video | |||
| player = new QMediaPlayer; | |||
| videoWidget = new QVideoWidget(this); | |||
| playList = new QMediaPlaylist; | |||
| #ifdef Q_OS_WIN | |||
| playList->addMedia(QUrl::fromLocalFile("../WasteSorting/test.mp4")); | |||
| #else | |||
| playList->addMedia(QUrl::fromLocalFile("/home/pi/Desktop/WasteSorting/test.mp4")); | |||
| #endif | |||
| playList->setPlaybackMode(QMediaPlaylist::CurrentItemInLoop); | |||
| player->setPlaylist(playList); | |||
| player->setVideoOutput(videoWidget); | |||
| ui->verticalLayout->addWidget(videoWidget); | |||
| videoWidget->setVisible(false); | |||
| videoTimer = new QTimer(this); | |||
| connect(videoTimer, SIGNAL(timeout()), this, SLOT(videoTimerUpdate())); | |||
| videoTimer->setSingleShot(true); | |||
| videoTimer->start(10000); | |||
| } | |||
| Widget::~Widget() | |||
| { | |||
| delete ui; | |||
| } | |||
| void Widget::timerUpdate() | |||
| { | |||
| QString str = QDateTime::currentDateTime().toString("yyyy年MM月dd日 hh:mm:ss"); | |||
| ui->label->setText(str); | |||
| } | |||
| void Widget::videoTimerUpdate() | |||
| { | |||
| ui->label_4->setVisible(false); | |||
| player->play(); | |||
| videoWidget->setVisible(true); | |||
| ui->label_3->setText("播放视频"); | |||
| ui->textEdit->append("播放视频"); | |||
| } | |||
| void Widget::initSerial() | |||
| { | |||
| ui->textEdit->append("开始初始化串口"); | |||
| serialPort = new QSerialPort(); | |||
| connect(serialPort, SIGNAL(readyRead()), this, SLOT(serialRead())); | |||
| if (QSerialPortInfo::availablePorts().length() == 0) { | |||
| QMessageBox::critical(this, "错误", "无可用串口设备,请检查硬件连接后重试"); | |||
| exit(0); | |||
| } | |||
| #ifdef Q_OS_WIN | |||
| QString portName = QSerialPortInfo::availablePorts()[1].portName(); | |||
| qDebug() << portName; | |||
| ui->textEdit->append("尝试连接串口" + portName); | |||
| serialPort->setPortName(portName); | |||
| #else | |||
| QString portName = "ttyUSB0"; | |||
| ui->textEdit->append("尝试连接串口ttyUSB0"); | |||
| serialPort->setPortName("ttyUSB0"); | |||
| #endif | |||
| if (serialPort->open(QIODevice::ReadWrite)) { | |||
| ui->textEdit->append("串口连接成功"); | |||
| serialPort->setBaudRate(115200); | |||
| serialPort->setDataBits(QSerialPort::Data8); | |||
| serialPort->setParity(QSerialPort::NoParity); | |||
| serialPort->setStopBits(QSerialPort::OneStop); | |||
| } else { | |||
| QMessageBox::critical(this, "错误", "串口设备" + portName + "无法打开,请检查硬件连接后重试"); | |||
| exit(0); | |||
| } | |||
| ui->textEdit->append("串口初始化成功"); | |||
| } | |||
| void Widget::initCamera() | |||
| { | |||
| // for (QCameraInfo& info : QCameraInfo::availableCameras()) { | |||
| // qDebug() << info.deviceName(); | |||
| // } | |||
| int camNum = QCameraInfo::availableCameras().length(); | |||
| if (!camNum) { | |||
| QMessageBox::critical(this, "错误", "无可用摄像头,请检查硬件连接后重试"); | |||
| exit(0); | |||
| } | |||
| ui->textEdit->append("开始初始化摄像头"); | |||
| camera = new QCamera(QCameraInfo::availableCameras()[0], this); | |||
| imageCapture = new QCameraImageCapture(camera); | |||
| connect(imageCapture, SIGNAL(imageCaptured(int, QImage)), this, SLOT(onImageCaptured(int, QImage))); | |||
| camera->setCaptureMode(QCamera::CaptureStillImage); | |||
| imageCapture->setCaptureDestination(QCameraImageCapture::CaptureToBuffer); | |||
| camera->start(); | |||
| ui->textEdit->append("摄像头初始化成功"); | |||
| } | |||
| void Widget::serialRead() | |||
| { | |||
| QByteArray buffer = serialPort->readAll(); | |||
| // qDebug() << buffer; | |||
| if (buffer[0] == '\x03' && buffer[1] == '\xFC' | |||
| && buffer[3] == '\xFC' && buffer[4] == '\x03') { | |||
| switch (buffer[2]) { | |||
| case '\x00': | |||
| ui->textEdit->append("取消警报"); | |||
| ui->label_3->setText("取消警报"); | |||
| ui->label_4->setVisible(true); | |||
| ui->label_5->setVisible(false); | |||
| ui->frame->setStyleSheet("#frame {border-image: url(:/new/prefix1/image/主.png);}"); | |||
| videoTimer->start(10000); | |||
| break; | |||
| case '\x01': | |||
| ui->textEdit->append("触发拍照信号"); | |||
| ui->label_3->setText("触发拍照"); | |||
| videoTimer->stop(); | |||
| videoWidget->setVisible(false); | |||
| player->stop(); | |||
| #ifdef Q_OS_WIN | |||
| imageCapture->capture(); | |||
| #else | |||
| captureImage(); | |||
| #endif | |||
| break; | |||
| case '\x02': | |||
| ui->textEdit->append("投递完毕"); | |||
| ui->label_3->setText("投递完毕"); | |||
| ui->label_4->setVisible(true); | |||
| ui->label_5->setVisible(false); | |||
| ui->frame->setStyleSheet("#frame {border-image: url(:/new/prefix1/image/主.png);}"); | |||
| videoTimer->start(10000); | |||
| break; | |||
| case '\x04': | |||
| ui->textEdit->append("满载警报"); | |||
| ui->label_3->setText("满载警报"); | |||
| ui->label_4->setVisible(false); | |||
| videoTimer->stop(); | |||
| videoWidget->setVisible(false); | |||
| player->stop(); | |||
| ui->frame->setStyleSheet("#frame {border-image: url(:/new/prefix1/image/满载警报.png);}"); | |||
| break; | |||
| case '\x08': | |||
| // qDebug() << "倾倒警报"; | |||
| ui->textEdit->append("倾倒警报"); | |||
| ui->label_3->setText("倾倒警报"); | |||
| ui->label_4->setVisible(false); | |||
| videoTimer->stop(); | |||
| videoWidget->setVisible(false); | |||
| player->stop(); | |||
| ui->frame->setStyleSheet("#frame {border-image: url(:/new/prefix1/image/倾倒警报.png);}"); | |||
| break; | |||
| case '\xFF': | |||
| break; | |||
| } | |||
| } | |||
| } | |||
| void Widget::serialWrite(const char data) | |||
| { | |||
| QByteArray buffer("\x30\xCF\x0F\xCF\x30"); | |||
| buffer[2] = data; | |||
| serialPort->write(buffer); | |||
| } | |||
| void Widget::captureImage() | |||
| { | |||
| system("raspistill -o ../WasteSorting/WasteSorting.jpg -t 1 -br 70 -hf -awb sun"); | |||
| QImage image("../WasteSorting/WasteSorting.jpg"); | |||
| emit(imageCaptured(0, image)); | |||
| } | |||
| void Widget::onImageCaptured(int, QImage image) | |||
| { | |||
| // 显示图片 | |||
| ui->label_4->setVisible(false); | |||
| ui->label_5->setPixmap(QPixmap::fromImage(image).scaled(405, 306)); | |||
| ui->label_5->setVisible(true); | |||
| ui->label_3->setText("识别中"); | |||
| ui->frame->setStyleSheet("#frame {border-image: url(:/new/prefix1/image/识别中.png);}"); | |||
| /* 使用京东垃圾识别 API | |||
| // Base64编码 | |||
| QByteArray ba; | |||
| QBuffer buf(&ba); | |||
| image.save(&buf, "JPG", -1); | |||
| QByteArray imageBase64 = ba.toBase64(); | |||
| // qDebug() << "data:image/jpg;base64," + imageBase64; | |||
| // Request | |||
| sendRequest(imageBase64); | |||
| */ | |||
| /* 使用TensorFlow Lite */ | |||
| #ifdef Q_OS_WIN | |||
| image.save("../WasteSorting/WasteSorting.jpg"); | |||
| FILE* fp = _popen("python ../WasteSorting/tensorflow/label_image.py", "rt"); | |||
| char buf[255] = { 0 }; | |||
| fscanf(fp, "%s", buf); | |||
| _pclose(fp); | |||
| #else | |||
| FILE* fp = popen("python3 ../WasteSorting/tensorflow/label_image.py", "r"); | |||
| char buf[255] = { 0 }; | |||
| printf("%s", buf); | |||
| fscanf(fp, "%s", buf); | |||
| pclose(fp); | |||
| #endif | |||
| QString cate_name = QString::fromLocal8Bit(buf); | |||
| qDebug() << cate_name; | |||
| classifyFinished(cate_name); | |||
| } | |||
| void Widget::sendRequest(QByteArray& imageBase64) | |||
| { | |||
| QUrlQuery query; | |||
| query.addQueryItem("appkey", "3a24b33468565b633d25d426eb0c660c"); | |||
| qint64 timestamp = QDateTime::currentDateTime().toMSecsSinceEpoch(); | |||
| query.addQueryItem("timestamp", QString::number(timestamp)); | |||
| QString sign = "58125e5985e6ef2d385ebfaa646987ba" + QString::number(timestamp); | |||
| QByteArray ba = QCryptographicHash::hash(sign.toUtf8(), QCryptographicHash::Md5); | |||
| query.addQueryItem("sign", ba.toHex()); | |||
| url->setQuery(query); | |||
| networkRequest->setUrl(*url); | |||
| // qDebug() << query.toString(); | |||
| QJsonObject json; | |||
| json.insert("imgBase64", QString(imageBase64)); | |||
| json.insert("cityId", "440300"); | |||
| QJsonDocument document; | |||
| document.setObject(json); | |||
| QByteArray data = document.toJson(QJsonDocument::Compact); | |||
| // qDebug() << QString(data); | |||
| networkManager->post(*networkRequest, data); | |||
| } | |||
| void Widget::onRequestFinished(QNetworkReply* reply) | |||
| { | |||
| QVariant statusCode = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute); | |||
| if (!statusCode.isValid()) { | |||
| QMessageBox::critical(this, "错误", "网络连接不可用,请检查后重试"); | |||
| exit(0); | |||
| } | |||
| QByteArray replyData = reply->readAll(); | |||
| QJsonParseError jsonError; | |||
| QJsonDocument document = QJsonDocument::fromJson(replyData, &jsonError); | |||
| if (!document.isNull() && (jsonError.error == QJsonParseError::NoError)) { | |||
| QJsonObject object = document.object().value("result").toObject(); | |||
| QJsonArray array = object.value("garbage_info").toArray(); | |||
| QJsonObject max = std::max_element(array.begin(), array.end(), | |||
| [](QJsonValue const& a, QJsonValue const& b) { return a.toObject().value("confidence").toDouble() | |||
| < b.toObject().value("confidence").toDouble(); }) | |||
| ->toObject(); | |||
| QString cate_name = max.value("cate_name").toString(); | |||
| QString garbage_name = max.value("garbage_name").toString(); | |||
| double confidence = max.value("confidence").toDouble(); | |||
| // qDebug() << "cate_name:" << cate_name; | |||
| // qDebug() << "garbage_name:" << garbage_name; | |||
| // qDebug() << "confidence:" << confidence; | |||
| // ui->textEdit->append("cate_name: " + cate_name); | |||
| // ui->textEdit->append("garbage_name: " + garbage_name); | |||
| // ui->textEdit->append("confidence: " + QString::number(confidence)); | |||
| classifyFinished(cate_name); | |||
| } else { | |||
| serialWrite('\xFF'); | |||
| ui->textEdit->append("识别失败,请重试"); | |||
| ui->label_3->setText("识别失败"); | |||
| ui->label_4->setVisible(true); | |||
| ui->label_5->setVisible(false); | |||
| ui->frame->setStyleSheet("#frame {border-image: url(:/new/prefix1/image/主.png);}"); | |||
| } | |||
| } | |||
| void Widget::classifyFinished(QString cate_name) | |||
| { | |||
| number += 1; | |||
| ui->textEdit->append(QString::number(number) + " " + cate_name + " 1 OK!"); | |||
| ui->frame->setStyleSheet("#frame {border-image: url(:/new/prefix1/image/" + cate_name + ".PNG);}"); | |||
| ui->label_3->setText("投递中"); | |||
| if (cate_name == "识别失败") { | |||
| serialWrite('\xFF'); | |||
| ui->textEdit->append("识别失败,请重试"); | |||
| ui->label_3->setText("识别失败"); | |||
| ui->label_4->setVisible(true); | |||
| ui->label_5->setVisible(false); | |||
| ui->frame->setStyleSheet("#frame {border-image: url(:/new/prefix1/image/主.png);}"); | |||
| } else if (cate_name == "可回收物") | |||
| serialWrite('\x01'); | |||
| else if (cate_name == "厨余垃圾") | |||
| serialWrite('\x02'); | |||
| else if (cate_name == "有害垃圾") | |||
| serialWrite('\x04'); | |||
| else | |||
| serialWrite('\x08'); | |||
| } | |||
| @@ -0,0 +1,111 @@ | |||
| /* | |||
| * Copyright (C) 2021 刘臣轩 | |||
| * | |||
| * This program is free software: you can redistribute it and/or modify | |||
| * it under the terms of the GNU General Public License as published by | |||
| * the Free Software Foundation, either version 3 of the License, or | |||
| * (at your option) any later version. | |||
| * | |||
| * This program is distributed in the hope that it will be useful, | |||
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
| * GNU General Public License for more details. | |||
| * | |||
| * You should have received a copy of the GNU General Public License | |||
| * along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| */ | |||
| #ifndef WIDGET_H | |||
| #define WIDGET_H | |||
| #include <QDebug> | |||
| #include <QMessageBox> | |||
| #include <QThread> | |||
| #include <QWidget> | |||
| #include <QFileDialog> | |||
| #include <QMediaPlayer> | |||
| #include <QMediaPlaylist> | |||
| #include <QVideoWidget> | |||
| #include <QBuffer> | |||
| #include <QByteArray> | |||
| #include <QFile> | |||
| #include <QDateTime> | |||
| #include <QTextCodec> | |||
| #include <QTimer> | |||
| #include <QSerialPort> | |||
| #include <QSerialPortInfo> | |||
| #include <QCamera> | |||
| #include <QCameraImageCapture> | |||
| #include <QCameraInfo> | |||
| #include <QCameraViewfinder> | |||
| #include <QNetworkAccessManager> | |||
| #include <QNetworkReply> | |||
| #include <QNetworkRequest> | |||
| #include <QUrlQuery> | |||
| #include <QCryptographicHash> | |||
| #include <QJsonArray> | |||
| #include <QJsonDocument> | |||
| #include <QJsonObject> | |||
| #if _MSC_VER >= 1600 | |||
| #pragma execution_character_set("utf-8") | |||
| #endif | |||
| QT_BEGIN_NAMESPACE | |||
| namespace Ui { | |||
| class Widget; | |||
| } | |||
| QT_END_NAMESPACE | |||
| class Widget : public QWidget { | |||
| Q_OBJECT | |||
| public: | |||
| Widget(QWidget* parent = nullptr); | |||
| ~Widget(); | |||
| private: | |||
| Ui::Widget* ui; | |||
| QTimer* videoTimer; | |||
| QMediaPlayer* player; | |||
| QVideoWidget* videoWidget; | |||
| QMediaPlaylist* playList; | |||
| QSerialPort* serialPort; | |||
| void initSerial(); | |||
| void serialWrite(const char data); | |||
| QCamera* camera; | |||
| QCameraViewfinder* viewFinder; | |||
| QCameraImageCapture* imageCapture; | |||
| void initCamera(); | |||
| void captureImage(); | |||
| QNetworkAccessManager* networkManager; | |||
| QNetworkRequest* networkRequest; | |||
| QUrl* url; | |||
| void sendRequest(QByteArray& imageBase64); | |||
| void classifyFinished(QString cate_name); | |||
| qint64 number; | |||
| private slots: | |||
| void timerUpdate(); | |||
| void videoTimerUpdate(); | |||
| void serialRead(); | |||
| void onImageCaptured(int, QImage image); | |||
| void onRequestFinished(QNetworkReply* reply); | |||
| signals: | |||
| void imageCaptured(int, QImage); | |||
| }; | |||
| #endif // WIDGET_H | |||
| @@ -0,0 +1,330 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
| <ui version="4.0"> | |||
| <class>Widget</class> | |||
| <widget class="QWidget" name="Widget"> | |||
| <property name="windowModality"> | |||
| <enum>Qt::NonModal</enum> | |||
| </property> | |||
| <property name="enabled"> | |||
| <bool>true</bool> | |||
| </property> | |||
| <property name="geometry"> | |||
| <rect> | |||
| <x>0</x> | |||
| <y>0</y> | |||
| <width>1024</width> | |||
| <height>600</height> | |||
| </rect> | |||
| </property> | |||
| <property name="contextMenuPolicy"> | |||
| <enum>Qt::DefaultContextMenu</enum> | |||
| </property> | |||
| <property name="windowTitle"> | |||
| <string>Widget</string> | |||
| </property> | |||
| <property name="styleSheet"> | |||
| <string notr="true"/> | |||
| </property> | |||
| <widget class="QPushButton" name="pushButton"> | |||
| <property name="geometry"> | |||
| <rect> | |||
| <x>50</x> | |||
| <y>30</y> | |||
| <width>95</width> | |||
| <height>95</height> | |||
| </rect> | |||
| </property> | |||
| <property name="sizePolicy"> | |||
| <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> | |||
| <horstretch>0</horstretch> | |||
| <verstretch>0</verstretch> | |||
| </sizepolicy> | |||
| </property> | |||
| <property name="contextMenuPolicy"> | |||
| <enum>Qt::DefaultContextMenu</enum> | |||
| </property> | |||
| <property name="acceptDrops"> | |||
| <bool>false</bool> | |||
| </property> | |||
| <property name="autoFillBackground"> | |||
| <bool>false</bool> | |||
| </property> | |||
| <property name="text"> | |||
| <string/> | |||
| </property> | |||
| <property name="icon"> | |||
| <iconset resource="image.qrc"> | |||
| <normaloff>:/new/prefix1/image/中南大学.png</normaloff>:/new/prefix1/image/中南大学.png</iconset> | |||
| </property> | |||
| <property name="iconSize"> | |||
| <size> | |||
| <width>95</width> | |||
| <height>95</height> | |||
| </size> | |||
| </property> | |||
| <property name="autoRepeat"> | |||
| <bool>false</bool> | |||
| </property> | |||
| <property name="autoExclusive"> | |||
| <bool>false</bool> | |||
| </property> | |||
| <property name="autoDefault"> | |||
| <bool>false</bool> | |||
| </property> | |||
| <property name="default"> | |||
| <bool>false</bool> | |||
| </property> | |||
| <property name="flat"> | |||
| <bool>true</bool> | |||
| </property> | |||
| </widget> | |||
| <widget class="QFrame" name="frame"> | |||
| <property name="enabled"> | |||
| <bool>true</bool> | |||
| </property> | |||
| <property name="geometry"> | |||
| <rect> | |||
| <x>0</x> | |||
| <y>0</y> | |||
| <width>1024</width> | |||
| <height>600</height> | |||
| </rect> | |||
| </property> | |||
| <property name="styleSheet"> | |||
| <string notr="true">#frame {border-image: url(:/new/prefix1/image/主.png);}</string> | |||
| </property> | |||
| <property name="frameShape"> | |||
| <enum>QFrame::StyledPanel</enum> | |||
| </property> | |||
| <property name="frameShadow"> | |||
| <enum>QFrame::Raised</enum> | |||
| </property> | |||
| </widget> | |||
| <widget class="QLabel" name="label"> | |||
| <property name="geometry"> | |||
| <rect> | |||
| <x>160</x> | |||
| <y>55</y> | |||
| <width>601</width> | |||
| <height>51</height> | |||
| </rect> | |||
| </property> | |||
| <property name="sizePolicy"> | |||
| <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> | |||
| <horstretch>0</horstretch> | |||
| <verstretch>0</verstretch> | |||
| </sizepolicy> | |||
| </property> | |||
| <property name="font"> | |||
| <font> | |||
| <family>Microsoft JhengHei UI Light</family> | |||
| <pointsize>31</pointsize> | |||
| <weight>50</weight> | |||
| <italic>false</italic> | |||
| <bold>false</bold> | |||
| <strikeout>false</strikeout> | |||
| <kerning>true</kerning> | |||
| </font> | |||
| </property> | |||
| <property name="autoFillBackground"> | |||
| <bool>false</bool> | |||
| </property> | |||
| <property name="styleSheet"> | |||
| <string notr="true">color: rgb(255, 255, 255);</string> | |||
| </property> | |||
| <property name="frameShape"> | |||
| <enum>QFrame::NoFrame</enum> | |||
| </property> | |||
| <property name="text"> | |||
| <string>2020年11月03日 10:52:04</string> | |||
| </property> | |||
| <property name="scaledContents"> | |||
| <bool>true</bool> | |||
| </property> | |||
| <property name="alignment"> | |||
| <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> | |||
| </property> | |||
| <property name="wordWrap"> | |||
| <bool>false</bool> | |||
| </property> | |||
| <property name="textInteractionFlags"> | |||
| <set>Qt::NoTextInteraction</set> | |||
| </property> | |||
| </widget> | |||
| <widget class="QLabel" name="label_3"> | |||
| <property name="geometry"> | |||
| <rect> | |||
| <x>790</x> | |||
| <y>50</y> | |||
| <width>201</width> | |||
| <height>51</height> | |||
| </rect> | |||
| </property> | |||
| <property name="font"> | |||
| <font> | |||
| <family>Microsoft YaHei UI</family> | |||
| <pointsize>30</pointsize> | |||
| </font> | |||
| </property> | |||
| <property name="styleSheet"> | |||
| <string notr="true">color: rgb(255, 255, 255);</string> | |||
| </property> | |||
| <property name="text"> | |||
| <string>初始化中</string> | |||
| </property> | |||
| </widget> | |||
| <widget class="QLabel" name="label_2"> | |||
| <property name="geometry"> | |||
| <rect> | |||
| <x>770</x> | |||
| <y>150</y> | |||
| <width>301</width> | |||
| <height>401</height> | |||
| </rect> | |||
| </property> | |||
| <property name="font"> | |||
| <font> | |||
| <family>方正粗黑宋简体</family> | |||
| <pointsize>11</pointsize> | |||
| <weight>50</weight> | |||
| <italic>false</italic> | |||
| <bold>false</bold> | |||
| <stylestrategy>PreferDefault</stylestrategy> | |||
| </font> | |||
| </property> | |||
| <property name="styleSheet"> | |||
| <string notr="true">border-radius: 10px; | |||
| color: rgb(255, 255, 255); | |||
| background-color: black; | |||
| background-color: rgba(0, 0, 0, 128); | |||
| font: 11pt "方正粗黑宋简体"; | |||
| </string> | |||
| </property> | |||
| <property name="text"> | |||
| <string/> | |||
| </property> | |||
| <property name="alignment"> | |||
| <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> | |||
| </property> | |||
| <property name="wordWrap"> | |||
| <bool>true</bool> | |||
| </property> | |||
| <property name="margin"> | |||
| <number>15</number> | |||
| </property> | |||
| </widget> | |||
| <widget class="QLabel" name="label_4"> | |||
| <property name="enabled"> | |||
| <bool>true</bool> | |||
| </property> | |||
| <property name="geometry"> | |||
| <rect> | |||
| <x>46</x> | |||
| <y>151</y> | |||
| <width>692</width> | |||
| <height>400</height> | |||
| </rect> | |||
| </property> | |||
| <property name="styleSheet"> | |||
| <string notr="true"/> | |||
| </property> | |||
| <property name="text"> | |||
| <string/> | |||
| </property> | |||
| </widget> | |||
| <widget class="QLabel" name="label_5"> | |||
| <property name="geometry"> | |||
| <rect> | |||
| <x>300</x> | |||
| <y>199</y> | |||
| <width>405</width> | |||
| <height>306</height> | |||
| </rect> | |||
| </property> | |||
| <property name="styleSheet"> | |||
| <string notr="true">background-color: rgb(255, 0, 0);</string> | |||
| </property> | |||
| <property name="text"> | |||
| <string/> | |||
| </property> | |||
| </widget> | |||
| <widget class="QTextEdit" name="textEdit"> | |||
| <property name="geometry"> | |||
| <rect> | |||
| <x>774</x> | |||
| <y>153</y> | |||
| <width>248</width> | |||
| <height>394</height> | |||
| </rect> | |||
| </property> | |||
| <property name="font"> | |||
| <font> | |||
| <family>微软雅黑</family> | |||
| <pointsize>12</pointsize> | |||
| </font> | |||
| </property> | |||
| <property name="autoFillBackground"> | |||
| <bool>false</bool> | |||
| </property> | |||
| <property name="styleSheet"> | |||
| <string notr="true">border-radius: 10px; | |||
| color: rgb(255, 255, 255); | |||
| background-color: rgba(0, 0, 0, 0); | |||
| </string> | |||
| </property> | |||
| <property name="verticalScrollBarPolicy"> | |||
| <enum>Qt::ScrollBarAlwaysOff</enum> | |||
| </property> | |||
| <property name="readOnly"> | |||
| <bool>true</bool> | |||
| </property> | |||
| <property name="html"> | |||
| <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | |||
| <html><head><meta name="qrichtext" content="1" /><style type="text/css"> | |||
| p, li { white-space: pre-wrap; } | |||
| </style></head><body style=" font-family:'微软雅黑'; font-size:12pt; font-weight:400; font-style:normal;"> | |||
| <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:14pt;"><br /></p></body></html></string> | |||
| </property> | |||
| <property name="textInteractionFlags"> | |||
| <set>Qt::NoTextInteraction</set> | |||
| </property> | |||
| </widget> | |||
| <widget class="QWidget" name="verticalLayoutWidget"> | |||
| <property name="geometry"> | |||
| <rect> | |||
| <x>40</x> | |||
| <y>150</y> | |||
| <width>701</width> | |||
| <height>401</height> | |||
| </rect> | |||
| </property> | |||
| <layout class="QVBoxLayout" name="verticalLayout"> | |||
| <property name="spacing"> | |||
| <number>0</number> | |||
| </property> | |||
| <property name="sizeConstraint"> | |||
| <enum>QLayout::SetNoConstraint</enum> | |||
| </property> | |||
| <property name="topMargin"> | |||
| <number>0</number> | |||
| </property> | |||
| <property name="bottomMargin"> | |||
| <number>0</number> | |||
| </property> | |||
| </layout> | |||
| </widget> | |||
| <zorder>frame</zorder> | |||
| <zorder>pushButton</zorder> | |||
| <zorder>label</zorder> | |||
| <zorder>label_3</zorder> | |||
| <zorder>label_2</zorder> | |||
| <zorder>label_5</zorder> | |||
| <zorder>label_4</zorder> | |||
| <zorder>textEdit</zorder> | |||
| <zorder>verticalLayoutWidget</zorder> | |||
| </widget> | |||
| <resources> | |||
| <include location="image.qrc"/> | |||
| </resources> | |||
| <connections/> | |||
| </ui> | |||