This commit is contained in:
2026-01-02 20:54:53 +01:00
commit c6d44ef7e5
616 changed files with 94632 additions and 0 deletions

334
.clang-format Normal file
View File

@@ -0,0 +1,334 @@
---
Language: Cpp
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignArrayOfStructures: None
AlignConsecutiveAssignments:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: true
AlignConsecutiveBitFields:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveDeclarations:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: true
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveMacros:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveShortCaseStatements:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCaseArrows: false
AlignCaseColons: false
AlignConsecutiveTableGenBreakingDAGArgColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveTableGenCondOperatorColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveTableGenDefinitionColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: false
AlignEscapedNewlines: Left
AlignOperands: Align
AlignTrailingComments:
Kind: Always
OverEmptyLines: 0
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowBreakBeforeNoexceptSpecifier: Never
AllowShortBlocksOnASingleLine: Never
AllowShortCaseExpressionOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: false
AllowShortCompoundRequirementOnASingleLine: true
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: true
AllowShortNamespacesOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AttributeMacros:
- __capability
- absl_nonnull
- absl_nullable
- absl_nullability_unknown
BinPackArguments: true
BinPackLongBracedList: true
BinPackParameters: BinPack
BitFieldColonSpacing: Both
BracedInitializerIndentWidth: -1
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterExternBlock: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakAdjacentStringLiterals: true
BreakAfterAttributes: Leave
BreakAfterJavaFieldAnnotations: false
BreakAfterReturnType: None
BreakArrays: true
BreakBeforeBinaryOperators: None
BreakBeforeConceptDeclarations: Always
BreakBeforeBraces: Attach
BreakBeforeInlineASMColon: OnlyMultiline
BreakBeforeTemplateCloser: false
BreakBeforeTernaryOperators: true
BreakBinaryOperations: Never
BreakConstructorInitializers: BeforeColon
BreakFunctionDefinitionParameters: false
BreakInheritanceList: BeforeColon
BreakStringLiterals: true
BreakTemplateDeclarations: Yes
ColumnLimit: 80
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
EnumTrailingComma: Leave
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IfMacros:
- KJ_IF_MAYBE
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<ext/.*\.h>'
Priority: 2
SortPriority: 0
CaseSensitive: false
- Regex: '^<.*\.h>'
Priority: 1
SortPriority: 0
CaseSensitive: false
- Regex: '^<.*'
Priority: 2
SortPriority: 0
CaseSensitive: false
- Regex: '.*'
Priority: 3
SortPriority: 0
CaseSensitive: false
IncludeIsMainRegex: '([-_](test|unittest))?$'
IncludeIsMainSourceRegex: ''
IndentAccessModifiers: false
IndentCaseBlocks: false
IndentCaseLabels: true
IndentExportBlock: true
IndentExternBlock: AfterExternBlock
IndentGotoLabels: true
IndentPPDirectives: None
IndentRequiresClause: true
IndentWidth: 2
IndentWrappedFunctionNames: false
InsertBraces: false
InsertNewlineAtEOF: false
InsertTrailingCommas: None
IntegerLiteralSeparator:
Binary: 0
BinaryMinDigits: 0
Decimal: 0
DecimalMinDigits: 0
Hex: 0
HexMinDigits: 0
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLines:
AtEndOfFile: false
AtStartOfBlock: false
AtStartOfFile: true
KeepFormFeed: false
LambdaBodyIndentation: Signature
LineEnding: DeriveLF
MacroBlockBegin: ''
MacroBlockEnd: ''
MainIncludeChar: Quote
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Never
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
OneLineFormatOffRegex: ''
PackConstructorInitializers: NextLine
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakBeforeMemberAccess: 150
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakOpenParenthesis: 0
PenaltyBreakScopeResolution: 500
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyIndentedWhitespace: 0
PenaltyReturnTypeOnItsOwnLine: 200
PointerAlignment: Left
PPIndentWidth: -1
QualifierAlignment: Leave
RawStringFormats:
- Language: Cpp
Delimiters:
- cc
- CC
- cpp
- Cpp
- CPP
- 'c++'
- 'C++'
CanonicalDelimiter: ''
BasedOnStyle: google
- Language: TextProto
Delimiters:
- pb
- PB
- proto
- PROTO
EnclosingFunctions:
- EqualsProto
- EquivToProto
- PARSE_PARTIAL_TEXT_PROTO
- PARSE_TEST_PROTO
- PARSE_TEXT_PROTO
- ParseTextOrDie
- ParseTextProtoOrDie
- ParseTestProto
- ParsePartialTestProto
CanonicalDelimiter: pb
BasedOnStyle: google
ReferenceAlignment: Pointer
ReflowComments: Always
RemoveBracesLLVM: false
RemoveEmptyLinesInUnwrappedLines: false
RemoveParentheses: Leave
RemoveSemicolon: false
RequiresClausePosition: OwnLine
RequiresExpressionIndentation: OuterScope
SeparateDefinitionBlocks: Leave
ShortNamespaceLines: 1
SkipMacroDefinitionBody: false
SortIncludes:
Enabled: true
IgnoreCase: false
SortJavaStaticImport: Before
SortUsingDeclarations: LexicographicNumeric
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterOperatorKeyword: false
SpaceAfterTemplateKeyword: true
SpaceAroundPointerQualifiers: Default
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeJsonColon: false
SpaceBeforeParens: ControlStatements
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDefinitionName: false
AfterFunctionDeclarationName: false
AfterIfMacros: true
AfterNot: false
AfterOverloadedOperator: false
AfterPlacementOperator: true
AfterRequiresInClause: false
AfterRequiresInExpression: false
BeforeNonEmptyParentheses: false
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: Never
SpacesInContainerLiterals: true
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParens: Never
SpacesInParensOptions:
ExceptDoubleParentheses: false
InCStyleCasts: false
InConditionalStatements: false
InEmptyParentheses: false
Other: false
SpacesInSquareBrackets: false
Standard: Auto
StatementAttributeLikeMacros:
- Q_EMIT
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TableGenBreakInsideDAGArg: DontBreak
TabWidth: 8
UseTab: Never
VerilogBreakBetweenInstancePorts: true
WhitespaceSensitiveMacros:
- BOOST_PP_STRINGIZE
- CF_SWIFT_NAME
- NS_SWIFT_NAME
- PP_STRINGIZE
- STRINGIZE
WrapNamespaceBodyWithEmptyLines: Leave
...

View File

@@ -0,0 +1,317 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 18.0.1, 2026-01-02T20:01:39. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
<value type="QByteArray">{e73702f3-5c9e-4c07-95d2-c0222eaabdee}</value>
</data>
<data>
<variable>ProjectExplorer.Project.ActiveTarget</variable>
<value type="qlonglong">0</value>
</data>
<data>
<variable>ProjectExplorer.Project.EditorSettings</variable>
<valuemap type="QVariantMap">
<value type="bool" key="EditorConfiguration.AutoDetect">true</value>
<value type="bool" key="EditorConfiguration.AutoIndent">true</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="qlonglong" 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.LineEndingBehavior">0</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="int" key="EditorConfiguration.PreferAfterWhitespaceComments">0</value>
<value type="bool" key="EditorConfiguration.PreferSingleLineComments">false</value>
<value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
<value type="bool" key="EditorConfiguration.ShowMargin">false</value>
<value type="int" key="EditorConfiguration.SmartBackspaceBehavior">2</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="bool" key="EditorConfiguration.UseIndenter">false</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="QString" key="EditorConfiguration.ignoreFileTypes">*.md, *.MD, Makefile</value>
<value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
<value type="bool" key="EditorConfiguration.skipTrailingWhitespace">true</value>
<value type="bool" key="EditorConfiguration.tintMarginArea">true</value>
</valuemap>
</data>
<data>
<variable>ProjectExplorer.Project.PluginSettings</variable>
<valuemap type="QVariantMap">
<valuemap type="QVariantMap" key="AutoTest.ActiveFrameworks">
<value type="bool" key="AutoTest.Framework.Boost">true</value>
<value type="bool" key="AutoTest.Framework.CTest">false</value>
<value type="bool" key="AutoTest.Framework.Catch">true</value>
<value type="bool" key="AutoTest.Framework.GTest">true</value>
<value type="bool" key="AutoTest.Framework.QtQuickTest">true</value>
<value type="bool" key="AutoTest.Framework.QtTest">true</value>
</valuemap>
<value type="bool" key="AutoTest.ApplyFilter">false</value>
<valuemap type="QVariantMap" key="AutoTest.CheckStates"/>
<valuelist type="QVariantList" key="AutoTest.PathFilters"/>
<value type="int" key="AutoTest.RunAfterBuild">0</value>
<value type="bool" key="AutoTest.UseGlobal">true</value>
<valuemap type="QVariantMap" key="ClangTools">
<value type="bool" key="ClangTools.AnalyzeOpenFiles">true</value>
<value type="bool" key="ClangTools.BuildBeforeAnalysis">true</value>
<value type="QString" key="ClangTools.DiagnosticConfig">Builtin.DefaultTidyAndClazy</value>
<value type="int" key="ClangTools.ParallelJobs">10</value>
<value type="bool" key="ClangTools.PreferConfigFile">true</value>
<valuelist type="QVariantList" key="ClangTools.SelectedDirs"/>
<valuelist type="QVariantList" key="ClangTools.SelectedFiles"/>
<valuelist type="QVariantList" key="ClangTools.SuppressedDiagnostics"/>
<value type="bool" key="ClangTools.UseGlobalSettings">true</value>
</valuemap>
<value type="int" key="RcSync">0</value>
</valuemap>
</data>
<data>
<variable>ProjectExplorer.Project.Target.0</variable>
<valuemap type="QVariantMap">
<value type="QString" key="DeviceType">Desktop</value>
<value type="bool" key="HasPerBcDcs">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{793b1747-8888-420c-9248-3341d908fa2a}</value>
<value type="qlonglong" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
<value type="qlonglong" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
<value type="qlonglong" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
<value type="QString" key="CMake.Build.Type">Debug</value>
<value type="int" key="CMake.Configure.BaseEnvironment">2</value>
<value type="bool" key="CMake.Configure.ClearSystemEnvironment">false</value>
<valuelist type="QVariantList" key="CMake.Configure.UserEnvironmentChanges"/>
<value type="QString" key="CMake.Initial.Parameters">-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX}
-DCMAKE_GENERATOR:STRING=Ninja
-DCMAKE_COLOR_DIAGNOSTICS:BOOL=ON
-DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable}
-DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG}
-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake
-DCMAKE_BUILD_TYPE:STRING=Debug
-DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C}
-DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx}</value>
<value type="int" key="EnableQmlDebugging">0</value>
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/home/nils/Dev/navidrome_client/build/Desktop-Debug</value>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<value type="QString" key="CMakeProjectManager.MakeStep.BuildPreset"></value>
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.BuildTargets">
<value type="QString">all</value>
</valuelist>
<value type="bool" key="CMakeProjectManager.MakeStep.ClearSystemEnvironment">false</value>
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.UserEnvironmentChanges"/>
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Erstellen</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.MakeStep</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Erstellen</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Erstellen</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="QString" key="CMakeProjectManager.MakeStep.BuildPreset"></value>
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.BuildTargets">
<value type="QString">clean</value>
</valuelist>
<value type="bool" key="CMakeProjectManager.MakeStep.ClearSystemEnvironment">false</value>
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.UserEnvironmentChanges"/>
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Erstellen</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.MakeStep</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Bereinigen</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Bereinigen</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.CustomParsers"/>
<value type="bool" key="ProjectExplorer.BuildConfiguration.ParseStandardOutput">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">CMakeProjectManager.CMakeBuildConfiguration</value>
<value type="qlonglong" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
<value type="qlonglong" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deployment</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deployment</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
<valuemap type="QVariantMap" key="ProjectExplorer.DeployConfiguration.CustomData"/>
<value type="bool" key="ProjectExplorer.DeployConfiguration.CustomDataEnabled">false</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.1">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<value type="QString" key="CMakeProjectManager.MakeStep.BuildPreset"></value>
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.BuildTargets">
<value type="QString"></value>
</valuelist>
<value type="bool" key="CMakeProjectManager.MakeStep.ClearSystemEnvironment">false</value>
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.UserEnvironmentChanges"/>
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Erstellen</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ApplicationManagerPlugin.Deploy.CMakePackageStep</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
<value type="QString" key="ApplicationManagerPlugin.Deploy.InstallPackageStep.Arguments">install-package --acknowledge</value>
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Application Manager-Paket installieren</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ApplicationManagerPlugin.Deploy.InstallPackageStep</value>
<valuelist type="QVariantList" key="ProjectExplorer.RunConfiguration.LastDeployedFiles"/>
<valuelist type="QVariantList" key="ProjectExplorer.RunConfiguration.LastDeployedHosts"/>
<valuelist type="QVariantList" key="ProjectExplorer.RunConfiguration.LastDeployedRemotePaths"/>
<valuelist type="QVariantList" key="ProjectExplorer.RunConfiguration.LastDeployedSysroots"/>
<valuelist type="QVariantList" key="RemoteLinux.LastDeployedLocalTimes"/>
<valuelist type="QVariantList" key="RemoteLinux.LastDeployedRemoteTimes"/>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deployment</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deployment</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
<valuemap type="QVariantMap" key="ProjectExplorer.DeployConfiguration.CustomData"/>
<value type="bool" key="ProjectExplorer.DeployConfiguration.CustomDataEnabled">false</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ApplicationManagerPlugin.Deploy.Configuration</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.Target.DeployConfigurationCount">2</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings">
<value type="bool" key="AndroidBuildTargetDirSupport">false</value>
<valuelist type="QVariantList" key="ApplicationmanagerPackageTargets"/>
<value type="bool" key="UseAndroidBuildTargetDir">false</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
<value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value>
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
<value type="int" key="Analyzer.Valgrind.Callgrind.CostFormat">0</value>
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
<valuelist type="QVariantList" key="CustomOutputParsers"/>
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
<value type="bool" key="PE.EnvironmentAspect.PrintOnRun">false</value>
<value type="QString" key="PerfRecordArgsId">-e cpu-cycles --call-graph dwarf,4096 -F 250</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.CMakeRunConfiguration.</value>
<value type="QString" key="ProjectExplorer.RunConfiguration.BuildKey">appnavidrome_client</value>
<value type="bool" key="ProjectExplorer.RunConfiguration.Customized">false</value>
<value type="QString" key="ProjectExplorer.RunConfiguration.UniqueId"></value>
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
<value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value>
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
<value type="QString" key="RunConfiguration.WorkingDirectory.default">%{RunConfig:Executable:Path}</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.Target.BuildConfigurationCount">1</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deployment</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deployment</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
<valuemap type="QVariantMap" key="ProjectExplorer.DeployConfiguration.CustomData"/>
<value type="bool" key="ProjectExplorer.DeployConfiguration.CustomDataEnabled">false</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.1">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
<value type="QString" key="CMakeProjectManager.MakeStep.BuildPreset"></value>
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.BuildTargets">
<value type="QString"></value>
</valuelist>
<value type="bool" key="CMakeProjectManager.MakeStep.ClearSystemEnvironment">false</value>
<valuelist type="QVariantList" key="CMakeProjectManager.MakeStep.UserEnvironmentChanges"/>
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Erstellen</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ApplicationManagerPlugin.Deploy.CMakePackageStep</value>
</valuemap>
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
<value type="QString" key="ApplicationManagerPlugin.Deploy.InstallPackageStep.Arguments">install-package --acknowledge</value>
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Application Manager-Paket installieren</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ApplicationManagerPlugin.Deploy.InstallPackageStep</value>
<valuelist type="QVariantList" key="ProjectExplorer.RunConfiguration.LastDeployedFiles"/>
<valuelist type="QVariantList" key="ProjectExplorer.RunConfiguration.LastDeployedHosts"/>
<valuelist type="QVariantList" key="ProjectExplorer.RunConfiguration.LastDeployedRemotePaths"/>
<valuelist type="QVariantList" key="ProjectExplorer.RunConfiguration.LastDeployedSysroots"/>
<valuelist type="QVariantList" key="RemoteLinux.LastDeployedLocalTimes"/>
<valuelist type="QVariantList" key="RemoteLinux.LastDeployedRemoteTimes"/>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deployment</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deployment</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
</valuemap>
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
<valuemap type="QVariantMap" key="ProjectExplorer.DeployConfiguration.CustomData"/>
<value type="bool" key="ProjectExplorer.DeployConfiguration.CustomDataEnabled">false</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ApplicationManagerPlugin.Deploy.Configuration</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.Target.DeployConfigurationCount">2</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
<value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value>
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
<value type="int" key="Analyzer.Valgrind.Callgrind.CostFormat">0</value>
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
<valuelist type="QVariantList" key="CustomOutputParsers"/>
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
<value type="bool" key="PE.EnvironmentAspect.PrintOnRun">false</value>
<value type="QString" key="PerfRecordArgsId">-e cpu-cycles --call-graph dwarf,4096 -F 250</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">CMakeProjectManager.CMakeRunConfiguration.</value>
<value type="QString" key="ProjectExplorer.RunConfiguration.BuildKey">appnavidrome_client</value>
<value type="bool" key="ProjectExplorer.RunConfiguration.Customized">false</value>
<value type="QString" key="ProjectExplorer.RunConfiguration.UniqueId"></value>
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
<value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value>
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
<value type="QString" key="RunConfiguration.WorkingDirectory.default">%{RunConfig:Executable:Path}</value>
</valuemap>
<value type="qlonglong" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
</valuemap>
</data>
<data>
<variable>ProjectExplorer.Project.TargetCount</variable>
<value type="qlonglong">1</value>
</data>
<data>
<variable>Version</variable>
<value type="int">22</value>
</data>
</qtcreator>

31
CMakeLists.txt Normal file
View File

@@ -0,0 +1,31 @@
cmake_minimum_required(VERSION 3.16)
set(CMAKE_C_COMPILER "gcc")
set(CMAKE_CXX_COMPILER "g++")
project(navidrome_client VERSION 0.1 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(Qt6 REQUIRED COMPONENTS Quick Network Multimedia)
qt_standard_project_setup()
qt_add_executable(appnavidrome_client
main.cpp
)
qt_add_qml_module(appnavidrome_client
URI "navidrome_client"
VERSION 1.0
QML_FILES
Main.qml
)
target_link_libraries(appnavidrome_client
PRIVATE
Qt6::Quick
Qt6::Network
Qt6::Multimedia
)

26
Main.qml Normal file
View File

@@ -0,0 +1,26 @@
import QtQuick
import QtQuick.Controls
Window {
width: 640
height: 480
visible: true
title: qsTr("Mein Navidrome Client")
Column {
anchors.centerIn: parent
spacing: 20
Text {
text: "Hallo Navidrome!"
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
}
Button {
text: "Klick mich"
anchors.horizontalCenter: parent.horizontalCenter
onClicked: console.log("Button gedrückt!")
}
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
set(__QT_DEPLOY_TARGET_appnavidrome_client_FILE /home/nils/Dev/navidrome_client/build/appnavidrome_client)
set(__QT_DEPLOY_TARGET_appnavidrome_client_TYPE EXECUTABLE)

View File

@@ -0,0 +1,9 @@
set(target "appnavidrome_client")
set(working_dir "/home/nils/Dev/navidrome_client")
set(src_and_dest_list
"/home/nils/Dev/navidrome_client/Main.qml"
"/home/nils/Dev/navidrome_client/build/navidrome_client/Main.qml"
)
set(timestamp_file "/home/nils/Dev/navidrome_client/build/.qt/appnavidrome_client_qml.txt")

View File

@@ -0,0 +1,7 @@
set(target "appnavidrome_client")
set(working_dir "/home/nils/Dev/navidrome_client")
set(src_and_dest_list
)
set(timestamp_file "/home/nils/Dev/navidrome_client/build/.qt/appnavidrome_client_res.txt")

View File

@@ -0,0 +1,20 @@
# Auto-generated deploy QML imports script for target "appnavidrome_client".
# Do not edit, all changes will be lost.
# This file should only be included by qt6_deploy_qml_imports().
set(__qt_opts )
if(arg_NO_QT_IMPORTS)
list(APPEND __qt_opts NO_QT_IMPORTS)
endif()
_qt_internal_deploy_qml_imports_for_target(
${__qt_opts}
IMPORTS_FILE "/home/nils/Dev/navidrome_client/build/.qt/qml_imports/appnavidrome_client_build.cmake"
PLUGINS_FOUND __qt_internal_plugins_found
QML_DIR "${arg_QML_DIR}"
PLUGINS_DIR "${arg_PLUGINS_DIR}"
)
if(arg_PLUGINS_FOUND)
set(${arg_PLUGINS_FOUND} "${__qt_internal_plugins_found}" PARENT_SCOPE)
endif()

View File

@@ -0,0 +1,18 @@
-rootPath
/home/nils/Dev/navidrome_client
-cmake-output
-output-file
/home/nils/Dev/navidrome_client/build/.qt/qml_imports/appnavidrome_client_build.cmake
-importPath
/home/nils/Dev/navidrome_client/build/navidrome_client
-importPath
/home/nils/Dev/navidrome_client/build
-importPath
/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/qt-6/qml
-importPath
/nix/store/hg47kn2xcjv56bcqa7kr6g55aljpnbi1-qtquick3d-6.10.1/lib/qt-6/qml
-importPath
/nix/store/0d97dxdvc0k0b1qgzar9njlmg0ijxhcw-qtmultimedia-6.10.1/lib/qt-6/qml
-qrcFiles
/home/nils/Dev/navidrome_client/build/.qt/rcc/qmake_navidrome_client.qrc
/home/nils/Dev/navidrome_client/build/.qt/rcc/appnavidrome_client_raw_qml_0.qrc

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,18 @@
-rootPath
/home/nils/Dev/navidrome_client
-cmake-output
-output-file
/home/nils/Dev/navidrome_client/build/.qt/qml_imports/appnavidrome_client_conf.cmake
-importPath
/home/nils/Dev/navidrome_client/build/navidrome_client
-importPath
/home/nils/Dev/navidrome_client/build
-importPath
/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/qt-6/qml
-importPath
/nix/store/hg47kn2xcjv56bcqa7kr6g55aljpnbi1-qtquick3d-6.10.1/lib/qt-6/qml
-importPath
/nix/store/0d97dxdvc0k0b1qgzar9njlmg0ijxhcw-qtmultimedia-6.10.1/lib/qt-6/qml
-qrcFiles
/home/nils/Dev/navidrome_client/build/.qt/rcc/qmake_navidrome_client.qrc
/home/nils/Dev/navidrome_client/build/.qt/rcc/appnavidrome_client_raw_qml_0.qrc

View File

@@ -0,0 +1,6 @@
<RCC>
<qresource prefix="/navidrome_client/">
<file alias="Main.qml">/home/nils/Dev/navidrome_client/Main.qml</file>
</qresource>
</RCC>

View File

@@ -0,0 +1,6 @@
<RCC>
<qresource prefix="/navidrome_client">
<file alias="qmldir">/home/nils/Dev/navidrome_client/build/navidrome_client/qmldir</file>
</qresource>
</RCC>

View File

@@ -0,0 +1 @@
/home/nils/Dev/navidrome_client/build/.rcc/qmlcache/module_appnavidrome_client.aotstats

View File

@@ -0,0 +1,5 @@
--resource
/home/nils/Dev/navidrome_client/build/.qt/rcc/qmake_navidrome_client.qrc
--resource
/home/nils/Dev/navidrome_client/build/.qt/rcc/appnavidrome_client_raw_qml_0.qrc
/navidrome_client/Main.qml

View File

@@ -0,0 +1 @@
/home/nils/Dev/navidrome_client/build/.rcc/qmlcache/appnavidrome_client_Main_qml.cpp.aotstats

View File

@@ -0,0 +1,14 @@
--bare
-I
/home/nils/Dev/navidrome_client/build
-I
/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/qt-6/qml
-I
/nix/store/hg47kn2xcjv56bcqa7kr6g55aljpnbi1-qtquick3d-6.10.1/lib/qt-6/qml
-I
/nix/store/0d97dxdvc0k0b1qgzar9njlmg0ijxhcw-qtmultimedia-6.10.1/lib/qt-6/qml
--resource
/home/nils/Dev/navidrome_client/build/.qt/rcc/qmake_navidrome_client.qrc
--resource
/home/nils/Dev/navidrome_client/build/.qt/rcc/appnavidrome_client_raw_qml_0.qrc
/home/nils/Dev/navidrome_client/Main.qml

View File

@@ -0,0 +1,16 @@
--bare
-I
/home/nils/Dev/navidrome_client/build
-I
/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/qt-6/qml
-I
/nix/store/hg47kn2xcjv56bcqa7kr6g55aljpnbi1-qtquick3d-6.10.1/lib/qt-6/qml
-I
/nix/store/0d97dxdvc0k0b1qgzar9njlmg0ijxhcw-qtmultimedia-6.10.1/lib/qt-6/qml
--resource
/home/nils/Dev/navidrome_client/build/.qt/rcc/qmake_navidrome_client.qrc
--resource
/home/nils/Dev/navidrome_client/build/.qt/rcc/appnavidrome_client_raw_qml_0.qrc
/home/nils/Dev/navidrome_client/Main.qml
--json
/home/nils/Dev/navidrome_client/build/appnavidrome_client_qmllint.json

View File

@@ -0,0 +1,14 @@
-I
/home/nils/Dev/navidrome_client/build
-I
/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/qt-6/qml
-I
/nix/store/hg47kn2xcjv56bcqa7kr6g55aljpnbi1-qtquick3d-6.10.1/lib/qt-6/qml
-I
/nix/store/0d97dxdvc0k0b1qgzar9njlmg0ijxhcw-qtmultimedia-6.10.1/lib/qt-6/qml
--resource
/home/nils/Dev/navidrome_client/build/.qt/rcc/qmake_navidrome_client.qrc
--resource
/home/nils/Dev/navidrome_client/build/.qt/rcc/appnavidrome_client_raw_qml_0.qrc
--module
navidrome_client

1464
build/CMakeCache.txt Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@@ -0,0 +1,15 @@
set(CMAKE_HOST_SYSTEM "Linux-6.18.1")
set(CMAKE_HOST_SYSTEM_NAME "Linux")
set(CMAKE_HOST_SYSTEM_VERSION "6.18.1")
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_SYSTEM "Linux-6.18.1")
set(CMAKE_SYSTEM_NAME "Linux")
set(CMAKE_SYSTEM_VERSION "6.18.1")
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_CROSSCOMPILING "FALSE")
set(CMAKE_SYSTEM_LOADED 1)

View File

@@ -0,0 +1,949 @@
/* This source file must have a .cpp extension so that all C++ compilers
recognize the extension without flags. Borland does not know .cxx for
example. */
#ifndef __cplusplus
# error "A C compiler has been selected for C++."
#endif
#if !defined(__has_include)
/* If the compiler does not have __has_include, pretend the answer is
always no. */
# define __has_include(x) 0
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# if defined(__GNUC__)
# define SIMULATE_ID "GNU"
# endif
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
except that a few beta releases use the old format with V=2021. */
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# if defined(__INTEL_COMPILER_UPDATE)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
# else
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# endif
# else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
/* The third version component from --version is an update index,
but no macro is provided for it. */
# define COMPILER_VERSION_PATCH DEC(0)
# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
# define COMPILER_ID "IntelLLVM"
#if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
#endif
#if defined(__GNUC__)
# define SIMULATE_ID "GNU"
#endif
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
* VVVV is no smaller than the current year when a version is released.
*/
#if __INTEL_LLVM_COMPILER < 1000000L
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
#else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
#endif
#if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
#endif
#if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
#elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
#endif
#if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
#endif
#if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
#endif
#elif defined(__PATHCC__)
# define COMPILER_ID "PathScale"
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
# if defined(__PATHCC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
/* __BORLANDC__ = 0xVRR */
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
# define COMPILER_ID "Watcom"
/* __WATCOMC__ = VVRR */
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__WATCOMC__)
# define COMPILER_ID "OpenWatcom"
/* __WATCOMC__ = VVRP + 1100 */
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__SUNPRO_CC)
# define COMPILER_ID "SunPro"
# if __SUNPRO_CC >= 0x5100
/* __SUNPRO_CC = 0xVRRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
# else
/* __SUNPRO_CC = 0xVRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
# endif
#elif defined(__HP_aCC)
# define COMPILER_ID "HP"
/* __HP_aCC = VVRRPP */
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
#elif defined(__DECCXX)
# define COMPILER_ID "Compaq"
/* __DECCXX_VER = VVRRTPPPP */
# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__open_xl__) && defined(__clang__)
# define COMPILER_ID "IBMClang"
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(__ibmxl__) && defined(__clang__)
# define COMPILER_ID "XLClang"
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
# define COMPILER_ID "XL"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
# define COMPILER_ID "VisualAge"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__NVCOMPILER)
# define COMPILER_ID "NVHPC"
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
# if defined(__NVCOMPILER_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
# endif
#elif defined(__PGI)
# define COMPILER_ID "PGI"
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
# if defined(__PGIC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
# endif
#elif defined(__clang__) && defined(__cray__)
# define COMPILER_ID "CrayClang"
# define COMPILER_VERSION_MAJOR DEC(__cray_major__)
# define COMPILER_VERSION_MINOR DEC(__cray_minor__)
# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI"
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
#elif defined(__CLANG_FUJITSU)
# define COMPILER_ID "FujitsuClang"
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(__FUJITSU)
# define COMPILER_ID "Fujitsu"
# if defined(__FCC_version__)
# define COMPILER_VERSION __FCC_version__
# elif defined(__FCC_major__)
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# endif
# if defined(__fcc_version)
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
# elif defined(__FCC_VERSION)
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
# endif
#elif defined(__ghs__)
# define COMPILER_ID "GHS"
/* __GHS_VERSION_NUMBER = VVVVRP */
# ifdef __GHS_VERSION_NUMBER
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
# endif
#elif defined(__TASKING__)
# define COMPILER_ID "Tasking"
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
#elif defined(__ORANGEC__)
# define COMPILER_ID "OrangeC"
# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__)
# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__)
# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__)
#elif defined(__RENESAS__)
# define COMPILER_ID "Renesas"
/* __RENESAS_VERSION__ = 0xVVRRPP00 */
# define COMPILER_VERSION_MAJOR HEX(__RENESAS_VERSION__ >> 24 & 0xFF)
# define COMPILER_VERSION_MINOR HEX(__RENESAS_VERSION__ >> 16 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__RENESAS_VERSION__ >> 8 & 0xFF)
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
# define COMPILER_ID "ARMCC"
#if __ARMCC_VERSION >= 1000000
/* __ARMCC_VERSION = VRRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#else
/* __ARMCC_VERSION = VRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#endif
#elif defined(__clang__) && defined(__apple_build_version__)
# define COMPILER_ID "AppleClang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
# define COMPILER_ID "ARMClang"
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100)
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
#elif defined(__clang__) && defined(__ti__)
# define COMPILER_ID "TIClang"
# define COMPILER_VERSION_MAJOR DEC(__ti_major__)
# define COMPILER_VERSION_MINOR DEC(__ti_minor__)
# define COMPILER_VERSION_PATCH DEC(__ti_patchlevel__)
# define COMPILER_VERSION_INTERNAL DEC(__ti_version__)
#elif defined(__clang__)
# define COMPILER_ID "Clang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
# define COMPILER_ID "LCC"
# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
# if defined(__LCC_MINOR__)
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
# endif
# if defined(__GNUC__) && defined(__GNUC_MINOR__)
# define SIMULATE_ID "GNU"
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
# endif
#elif defined(__GNUC__) || defined(__GNUG__)
# define COMPILER_ID "GNU"
# if defined(__GNUC__)
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
# else
# define COMPILER_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
/* _MSC_VER = VVRR */
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
# if defined(_MSC_FULL_VER)
# if _MSC_VER >= 1400
/* _MSC_FULL_VER = VVRRPPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
# else
/* _MSC_FULL_VER = VVRRPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
# endif
# endif
# if defined(_MSC_BUILD)
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
# endif
#elif defined(_ADI_COMPILER)
# define COMPILER_ID "ADSP"
#if defined(__VERSIONNUM__)
/* __VERSIONNUM__ = 0xVVRRPPTT */
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
#endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# define COMPILER_ID "IAR"
# if defined(__VER__) && defined(__ICCARM__)
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# endif
#elif defined(__DCC__) && defined(_DIAB_TOOL)
# define COMPILER_ID "Diab"
# define COMPILER_VERSION_MAJOR DEC(__VERSION_MAJOR_NUMBER__)
# define COMPILER_VERSION_MINOR DEC(__VERSION_MINOR_NUMBER__)
# define COMPILER_VERSION_PATCH DEC(__VERSION_ARCH_FEATURE_NUMBER__)
# define COMPILER_VERSION_TWEAK DEC(__VERSION_BUG_FIX_NUMBER__)
/* These compilers are either not known or too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
#ifdef SIMULATE_ID
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
#endif
#ifdef __QNXNTO__
char const* qnxnto = "INFO" ":" "qnxnto[]";
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
#endif
#define STRINGIFY_HELPER(X) #X
#define STRINGIFY(X) STRINGIFY_HELPER(X)
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__MSYS__)
# define PLATFORM_ID "MSYS"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU__)
# define PLATFORM_ID "Haiku"
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#elif defined(__WATCOMC__)
# if defined(__LINUX__)
# define PLATFORM_ID "Linux"
# elif defined(__DOS__)
# define PLATFORM_ID "DOS"
# elif defined(__OS2__)
# define PLATFORM_ID "OS2"
# elif defined(__WINDOWS__)
# define PLATFORM_ID "Windows3x"
# elif defined(__VXWORKS__)
# define PLATFORM_ID "VxWorks"
# else /* unknown platform */
# define PLATFORM_ID
# endif
#elif defined(__INTEGRITY)
# if defined(INT_178B)
# define PLATFORM_ID "Integrity178"
# else /* regular Integrity */
# define PLATFORM_ID "Integrity"
# endif
# elif defined(_ADI_COMPILER)
# define PLATFORM_ID "ADSP"
#else /* unknown platform */
# define PLATFORM_ID
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_ARM64EC)
# define ARCHITECTURE_ID "ARM64EC"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# elif defined(_M_ARM64)
# define ARCHITECTURE_ID "ARM64"
# elif defined(_M_ARM)
# if _M_ARM == 4
# define ARCHITECTURE_ID "ARMV4I"
# elif _M_ARM == 5
# define ARCHITECTURE_ID "ARMV5I"
# else
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
# endif
# elif defined(_M_MIPS)
# define ARCHITECTURE_ID "MIPS"
# elif defined(_M_SH)
# define ARCHITECTURE_ID "SHx"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__WATCOMC__)
# if defined(_M_I86)
# define ARCHITECTURE_ID "I86"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# if defined(__ICCARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__ICCRX__)
# define ARCHITECTURE_ID "RX"
# elif defined(__ICCRH850__)
# define ARCHITECTURE_ID "RH850"
# elif defined(__ICCRL78__)
# define ARCHITECTURE_ID "RL78"
# elif defined(__ICCRISCV__)
# define ARCHITECTURE_ID "RISCV"
# elif defined(__ICCAVR__)
# define ARCHITECTURE_ID "AVR"
# elif defined(__ICC430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__ICCV850__)
# define ARCHITECTURE_ID "V850"
# elif defined(__ICC8051__)
# define ARCHITECTURE_ID "8051"
# elif defined(__ICCSTM8__)
# define ARCHITECTURE_ID "STM8"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__ghs__)
# if defined(__PPC64__)
# define ARCHITECTURE_ID "PPC64"
# elif defined(__ppc__)
# define ARCHITECTURE_ID "PPC"
# elif defined(__ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__x86_64__)
# define ARCHITECTURE_ID "x64"
# elif defined(__i386__)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__clang__) && defined(__ti__)
# if defined(__ARM_ARCH)
# define ARCHITECTURE_ID "ARM"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__TI_COMPILER_VERSION__)
# if defined(__TI_ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__MSP430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__TMS320C28XX__)
# define ARCHITECTURE_ID "TMS320C28x"
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
# define ARCHITECTURE_ID "TMS320C6x"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
# elif defined(__ADSPSHARC__)
# define ARCHITECTURE_ID "SHARC"
# elif defined(__ADSPBLACKFIN__)
# define ARCHITECTURE_ID "Blackfin"
#elif defined(__TASKING__)
# if defined(__CTC__) || defined(__CPTC__)
# define ARCHITECTURE_ID "TriCore"
# elif defined(__CMCS__)
# define ARCHITECTURE_ID "MCS"
# elif defined(__CARM__) || defined(__CPARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__CARC__)
# define ARCHITECTURE_ID "ARC"
# elif defined(__C51__)
# define ARCHITECTURE_ID "8051"
# elif defined(__CPCP__)
# define ARCHITECTURE_ID "PCP"
# else
# define ARCHITECTURE_ID ""
# endif
#elif defined(__RENESAS__)
# if defined(__CCRX__)
# define ARCHITECTURE_ID "RX"
# elif defined(__CCRL__)
# define ARCHITECTURE_ID "RL78"
# elif defined(__CCRH__)
# define ARCHITECTURE_ID "RH850"
# else
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID
#endif
/* Convert integer to decimal digit literals. */
#define DEC(n) \
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
/* Convert integer to hex digit literals. */
#define HEX(n) \
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
/* Construct a string literal encoding the version number. */
#ifdef COMPILER_VERSION
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
/* Construct a string literal encoding the version number components. */
#elif defined(COMPILER_VERSION_MAJOR)
char const info_version[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
COMPILER_VERSION_MAJOR,
# ifdef COMPILER_VERSION_MINOR
'.', COMPILER_VERSION_MINOR,
# ifdef COMPILER_VERSION_PATCH
'.', COMPILER_VERSION_PATCH,
# ifdef COMPILER_VERSION_TWEAK
'.', COMPILER_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct a string literal encoding the internal version number. */
#ifdef COMPILER_VERSION_INTERNAL
char const info_version_internal[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
'i','n','t','e','r','n','a','l','[',
COMPILER_VERSION_INTERNAL,']','\0'};
#elif defined(COMPILER_VERSION_INTERNAL_STR)
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
#endif
/* Construct a string literal encoding the version number components. */
#ifdef SIMULATE_VERSION_MAJOR
char const info_simulate_version[] = {
'I', 'N', 'F', 'O', ':',
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
SIMULATE_VERSION_MAJOR,
# ifdef SIMULATE_VERSION_MINOR
'.', SIMULATE_VERSION_MINOR,
# ifdef SIMULATE_VERSION_PATCH
'.', SIMULATE_VERSION_PATCH,
# ifdef SIMULATE_VERSION_TWEAK
'.', SIMULATE_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
#define CXX_STD_98 199711L
#define CXX_STD_11 201103L
#define CXX_STD_14 201402L
#define CXX_STD_17 201703L
#define CXX_STD_20 202002L
#define CXX_STD_23 202302L
#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG)
# if _MSVC_LANG > CXX_STD_17
# define CXX_STD _MSVC_LANG
# elif _MSVC_LANG == CXX_STD_17 && defined(__cpp_aggregate_paren_init)
# define CXX_STD CXX_STD_20
# elif _MSVC_LANG > CXX_STD_14 && __cplusplus > CXX_STD_17
# define CXX_STD CXX_STD_20
# elif _MSVC_LANG > CXX_STD_14
# define CXX_STD CXX_STD_17
# elif defined(__INTEL_CXX11_MODE__) && defined(__cpp_aggregate_nsdmi)
# define CXX_STD CXX_STD_14
# elif defined(__INTEL_CXX11_MODE__)
# define CXX_STD CXX_STD_11
# else
# define CXX_STD CXX_STD_98
# endif
#elif defined(_MSC_VER) && defined(_MSVC_LANG)
# if _MSVC_LANG > __cplusplus
# define CXX_STD _MSVC_LANG
# else
# define CXX_STD __cplusplus
# endif
#elif defined(__NVCOMPILER)
# if __cplusplus == CXX_STD_17 && defined(__cpp_aggregate_paren_init)
# define CXX_STD CXX_STD_20
# else
# define CXX_STD __cplusplus
# endif
#elif defined(__INTEL_COMPILER) || defined(__PGI)
# if __cplusplus == CXX_STD_11 && defined(__cpp_namespace_attributes)
# define CXX_STD CXX_STD_17
# elif __cplusplus == CXX_STD_11 && defined(__cpp_aggregate_nsdmi)
# define CXX_STD CXX_STD_14
# else
# define CXX_STD __cplusplus
# endif
#elif (defined(__IBMCPP__) || defined(__ibmxl__)) && defined(__linux__)
# if __cplusplus == CXX_STD_11 && defined(__cpp_aggregate_nsdmi)
# define CXX_STD CXX_STD_14
# else
# define CXX_STD __cplusplus
# endif
#elif __cplusplus == 1 && defined(__GXX_EXPERIMENTAL_CXX0X__)
# define CXX_STD CXX_STD_11
#else
# define CXX_STD __cplusplus
#endif
const char* info_language_standard_default = "INFO" ":" "standard_default["
#if CXX_STD > CXX_STD_23
"26"
#elif CXX_STD > CXX_STD_20
"23"
#elif CXX_STD > CXX_STD_17
"20"
#elif CXX_STD > CXX_STD_14
"17"
#elif CXX_STD > CXX_STD_11
"14"
#elif CXX_STD >= CXX_STD_11
"11"
#else
"98"
#endif
"]";
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
defined(__TI_COMPILER_VERSION__) || defined(__RENESAS__)) && \
!defined(__STRICT_ANSI__)
"ON"
#else
"OFF"
#endif
"]";
/*--------------------------------------------------------------------------*/
int main(int argc, char* argv[])
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
require += info_arch[argc];
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
#if defined(COMPILER_VERSION_INTERNAL) || defined(COMPILER_VERSION_INTERNAL_STR)
require += info_version_internal[argc];
#endif
#ifdef SIMULATE_ID
require += info_simulate[argc];
#endif
#ifdef SIMULATE_VERSION_MAJOR
require += info_simulate_version[argc];
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
require += info_cray[argc];
#endif
require += info_language_standard_default[argc];
require += info_language_extensions_default[argc];
(void)argv;
return require;
}

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,7 @@
{
"InstallScripts" :
[
"/home/nils/Dev/navidrome_client/build/cmake_install.cmake"
],
"Parallel" : false
}

View File

@@ -0,0 +1,19 @@
/home/nils/Dev/navidrome_client/build/CMakeFiles/appnavidrome_client.dir
/home/nils/Dev/navidrome_client/build/CMakeFiles/appnavidrome_client_qmltyperegistration.dir
/home/nils/Dev/navidrome_client/build/CMakeFiles/all_qmltyperegistrations.dir
/home/nils/Dev/navidrome_client/build/CMakeFiles/appnavidrome_client_qmllint.dir
/home/nils/Dev/navidrome_client/build/CMakeFiles/appnavidrome_client_qmllint_json.dir
/home/nils/Dev/navidrome_client/build/CMakeFiles/appnavidrome_client_qmllint_module.dir
/home/nils/Dev/navidrome_client/build/CMakeFiles/all_qmllint.dir
/home/nils/Dev/navidrome_client/build/CMakeFiles/all_qmllint_json.dir
/home/nils/Dev/navidrome_client/build/CMakeFiles/all_qmllint_module.dir
/home/nils/Dev/navidrome_client/build/CMakeFiles/appnavidrome_client_copy_qml.dir
/home/nils/Dev/navidrome_client/build/CMakeFiles/appnavidrome_client_copy_res.dir
/home/nils/Dev/navidrome_client/build/CMakeFiles/generate_qmlls_build_ini_file.dir
/home/nils/Dev/navidrome_client/build/CMakeFiles/module_appnavidrome_client_aotstats_target.dir
/home/nils/Dev/navidrome_client/build/CMakeFiles/all_aotstats.dir
/home/nils/Dev/navidrome_client/build/CMakeFiles/appnavidrome_client_qmlimportscan.dir
/home/nils/Dev/navidrome_client/build/CMakeFiles/edit_cache.dir
/home/nils/Dev/navidrome_client/build/CMakeFiles/rebuild_cache.dir
/home/nils/Dev/navidrome_client/build/CMakeFiles/appnavidrome_client_autogen_timestamp_deps.dir
/home/nils/Dev/navidrome_client/build/CMakeFiles/appnavidrome_client_autogen.dir

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,10 @@
# Additional clean files
cmake_minimum_required(VERSION 3.16)
if("${CONFIG}" STREQUAL "" OR "${CONFIG}" STREQUAL "")
file(REMOVE_RECURSE
"CMakeFiles/appnavidrome_client_autogen.dir/AutogenUsed.txt"
"CMakeFiles/appnavidrome_client_autogen.dir/ParseCache.txt"
"appnavidrome_client_autogen"
)
endif()

View File

@@ -0,0 +1 @@
# This file is generated by cmake for dependency checking of the CMakeCache.txt file

View File

@@ -0,0 +1,74 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Ninja" Generator, CMake Version 4.1
# This file contains all the rules used to get the outputs files
# built from the input files.
# It is included in the main 'build.ninja'.
# =============================================================================
# Project: navidrome_client
# Configurations:
# =============================================================================
# =============================================================================
#############################################
# Rule for compiling CXX files.
rule CXX_COMPILER__appnavidrome_client_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}/nix/store/vr15iyyykg9zai6fpgvhcgyw7gckl78w-gcc-wrapper-14.3.0/bin/g++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building CXX object $out
#############################################
# Rule for linking CXX executable.
rule CXX_EXECUTABLE_LINKER__appnavidrome_client_
depfile = $DEP_FILE
deps = gcc
command = $PRE_LINK && /nix/store/vr15iyyykg9zai6fpgvhcgyw7gckl78w-gcc-wrapper-14.3.0/bin/g++ $FLAGS $LINK_FLAGS $in -o $TARGET_FILE $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
description = Linking CXX executable $TARGET_FILE
restat = $RESTAT
#############################################
# Rule for running custom commands.
rule CUSTOM_COMMAND
command = $COMMAND
description = $DESC
#############################################
# Rule for re-running cmake.
rule RERUN_CMAKE
command = /nix/store/w9jm660dykns6hzrdhxmqfywnc9ail8g-cmake-4.1.2/bin/cmake --regenerate-during-build -S/home/nils/Dev/navidrome_client -B/home/nils/Dev/navidrome_client/build
description = Re-running CMake...
generator = 1
#############################################
# Rule for cleaning additional files.
rule CLEAN_ADDITIONAL
command = /nix/store/w9jm660dykns6hzrdhxmqfywnc9ail8g-cmake-4.1.2/bin/cmake -DCONFIG=$CONFIG -P CMakeFiles/clean_additional.cmake
description = Cleaning additional files...
#############################################
# Rule for cleaning all built files.
rule CLEAN
command = /nix/store/ay9pgm8hndzbb2myyfjvbncb8fksmw0k-ninja-1.13.1/bin/ninja $FILE_ARG -t clean $TARGETS
description = Cleaning all built files...
#############################################
# Rule for printing all primary targets available.
rule HELP
command = /nix/store/ay9pgm8hndzbb2myyfjvbncb8fksmw0k-ninja-1.13.1/bin/ninja -t targets
description = All primary targets available:

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,204 @@
{
"configurations" :
[
{
"directories" :
[
{
"build" : ".",
"jsonFile" : "directory-.-Debug-f5ebdc15457944623624.json",
"minimumCMakeVersion" :
{
"string" : "3.16"
},
"projectIndex" : 0,
"source" : ".",
"targetIndexes" :
[
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16
]
}
],
"name" : "Debug",
"projects" :
[
{
"directoryIndexes" :
[
0
],
"name" : "navidrome_client",
"targetIndexes" :
[
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16
]
}
],
"targets" :
[
{
"directoryIndex" : 0,
"id" : "all_aotstats::@6890427a1f51a3e7e1df",
"jsonFile" : "target-all_aotstats-Debug-ba680fd9b214ea199e46.json",
"name" : "all_aotstats",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "all_qmllint::@6890427a1f51a3e7e1df",
"jsonFile" : "target-all_qmllint-Debug-e695e315ddc230661a41.json",
"name" : "all_qmllint",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "all_qmllint_json::@6890427a1f51a3e7e1df",
"jsonFile" : "target-all_qmllint_json-Debug-fe588a75e8a7d4bd8a29.json",
"name" : "all_qmllint_json",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "all_qmllint_module::@6890427a1f51a3e7e1df",
"jsonFile" : "target-all_qmllint_module-Debug-94c04c59ae62613a5990.json",
"name" : "all_qmllint_module",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "all_qmltyperegistrations::@6890427a1f51a3e7e1df",
"jsonFile" : "target-all_qmltyperegistrations-Debug-e6e04b2cf3542104eecd.json",
"name" : "all_qmltyperegistrations",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "appnavidrome_client::@6890427a1f51a3e7e1df",
"jsonFile" : "target-appnavidrome_client-Debug-0f83c8a4b4fea966eb97.json",
"name" : "appnavidrome_client",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "appnavidrome_client_autogen::@6890427a1f51a3e7e1df",
"jsonFile" : "target-appnavidrome_client_autogen-Debug-0b5d058e9f489a5843e2.json",
"name" : "appnavidrome_client_autogen",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "appnavidrome_client_autogen_timestamp_deps::@6890427a1f51a3e7e1df",
"jsonFile" : "target-appnavidrome_client_autogen_timestamp_deps-Debug-7b69e8218b02602b3a33.json",
"name" : "appnavidrome_client_autogen_timestamp_deps",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "appnavidrome_client_copy_qml::@6890427a1f51a3e7e1df",
"jsonFile" : "target-appnavidrome_client_copy_qml-Debug-075c507db4bc249df010.json",
"name" : "appnavidrome_client_copy_qml",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "appnavidrome_client_copy_res::@6890427a1f51a3e7e1df",
"jsonFile" : "target-appnavidrome_client_copy_res-Debug-eebb734f87545a3cbb58.json",
"name" : "appnavidrome_client_copy_res",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "appnavidrome_client_qmlimportscan::@6890427a1f51a3e7e1df",
"jsonFile" : "target-appnavidrome_client_qmlimportscan-Debug-41b823d6d51f53645a53.json",
"name" : "appnavidrome_client_qmlimportscan",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "appnavidrome_client_qmllint::@6890427a1f51a3e7e1df",
"jsonFile" : "target-appnavidrome_client_qmllint-Debug-1fee3644d2aab33d6cc7.json",
"name" : "appnavidrome_client_qmllint",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "appnavidrome_client_qmllint_json::@6890427a1f51a3e7e1df",
"jsonFile" : "target-appnavidrome_client_qmllint_json-Debug-830625d9515774b03ccf.json",
"name" : "appnavidrome_client_qmllint_json",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "appnavidrome_client_qmllint_module::@6890427a1f51a3e7e1df",
"jsonFile" : "target-appnavidrome_client_qmllint_module-Debug-81459f11bd684aa3b75e.json",
"name" : "appnavidrome_client_qmllint_module",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "appnavidrome_client_qmltyperegistration::@6890427a1f51a3e7e1df",
"jsonFile" : "target-appnavidrome_client_qmltyperegistration-Debug-63955f54ce0d333edc6e.json",
"name" : "appnavidrome_client_qmltyperegistration",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "generate_qmlls_build_ini_file::@6890427a1f51a3e7e1df",
"jsonFile" : "target-generate_qmlls_build_ini_file-Debug-023c747b5aaa32de2b6e.json",
"name" : "generate_qmlls_build_ini_file",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "module_appnavidrome_client_aotstats_target::@6890427a1f51a3e7e1df",
"jsonFile" : "target-module_appnavidrome_client_aotstats_target-Debug-4ccfcd03e2ac712bb366.json",
"name" : "module_appnavidrome_client_aotstats_target",
"projectIndex" : 0
}
]
}
],
"kind" : "codemodel",
"paths" :
{
"build" : "/home/nils/Dev/navidrome_client/build/Desktop-Debug",
"source" : "/home/nils/Dev/navidrome_client"
},
"version" :
{
"major" : 2,
"minor" : 8
}
}

View File

@@ -0,0 +1,14 @@
{
"backtraceGraph" :
{
"commands" : [],
"files" : [],
"nodes" : []
},
"installers" : [],
"paths" :
{
"build" : ".",
"source" : "."
}
}

View File

@@ -0,0 +1,89 @@
{
"cmake" :
{
"generator" :
{
"multiConfig" : false,
"name" : "Ninja"
},
"paths" :
{
"cmake" : "/nix/store/w9jm660dykns6hzrdhxmqfywnc9ail8g-cmake-4.1.2/bin/cmake",
"cpack" : "/nix/store/w9jm660dykns6hzrdhxmqfywnc9ail8g-cmake-4.1.2/bin/cpack",
"ctest" : "/nix/store/w9jm660dykns6hzrdhxmqfywnc9ail8g-cmake-4.1.2/bin/ctest",
"root" : "/nix/store/w9jm660dykns6hzrdhxmqfywnc9ail8g-cmake-4.1.2/share/cmake-4.1"
},
"version" :
{
"isDirty" : false,
"major" : 4,
"minor" : 1,
"patch" : 2,
"string" : "4.1.2",
"suffix" : ""
}
},
"objects" :
[
{
"jsonFile" : "codemodel-v2-4f2db93f5c1c658dd3f9.json",
"kind" : "codemodel",
"version" :
{
"major" : 2,
"minor" : 8
}
},
{
"jsonFile" : "cache-v2-ffed831e33277ffbca69.json",
"kind" : "cache",
"version" :
{
"major" : 2,
"minor" : 0
}
},
{
"jsonFile" : "cmakeFiles-v1-35b156e8269427928a70.json",
"kind" : "cmakeFiles",
"version" :
{
"major" : 1,
"minor" : 1
}
}
],
"reply" :
{
"cache-v2" :
{
"jsonFile" : "cache-v2-ffed831e33277ffbca69.json",
"kind" : "cache",
"version" :
{
"major" : 2,
"minor" : 0
}
},
"cmakeFiles-v1" :
{
"jsonFile" : "cmakeFiles-v1-35b156e8269427928a70.json",
"kind" : "cmakeFiles",
"version" :
{
"major" : 1,
"minor" : 1
}
},
"codemodel-v2" :
{
"jsonFile" : "codemodel-v2-4f2db93f5c1c658dd3f9.json",
"kind" : "codemodel",
"version" :
{
"major" : 2,
"minor" : 8
}
}
}
}

View File

@@ -0,0 +1,114 @@
{
"backtrace" : 3,
"backtraceGraph" :
{
"commands" :
[
"add_custom_target",
"_qt_internal_deferred_aotstats_setup"
],
"files" :
[
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake",
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:1191:EVAL",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 2
},
{
"file" : 2,
"line" : -1,
"parent" : 0
},
{
"command" : 1,
"file" : 1,
"line" : 1,
"parent" : 1
},
{
"command" : 0,
"file" : 0,
"line" : 1306,
"parent" : 2
}
]
},
"dependencies" :
[
{
"id" : "module_appnavidrome_client_aotstats_target::@6890427a1f51a3e7e1df"
}
],
"id" : "all_aotstats::@6890427a1f51a3e7e1df",
"name" : "all_aotstats",
"paths" :
{
"build" : ".",
"source" : "."
},
"sourceGroups" :
[
{
"name" : "",
"sourceIndexes" :
[
0
]
},
{
"name" : "CMake Rules",
"sourceIndexes" :
[
1,
2,
3,
4,
5
]
}
],
"sources" :
[
{
"backtrace" : 3,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/all_aotstats",
"sourceGroupIndex" : 0
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/all_aotstats.rule",
"sourceGroupIndex" : 1
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/.rcc/qmlcache/all_aotstats.aotstats.rule",
"sourceGroupIndex" : 1
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/.rcc/qmlcache/module_appnavidrome_client.aotstats.rule",
"sourceGroupIndex" : 1
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/.rcc/qmlcache/appnavidrome_client_Main_qml.cpp.rule",
"sourceGroupIndex" : 1
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/appnavidrome_client_qmltyperegistrations.cpp.rule",
"sourceGroupIndex" : 1
}
],
"type" : "UTILITY"
}

View File

@@ -0,0 +1,104 @@
{
"backtrace" : 7,
"backtraceGraph" :
{
"commands" :
[
"add_custom_target",
"_qt_internal_add_phony_target",
"_qt_internal_add_all_qmllint_target",
"_qt_internal_target_enable_qmllint",
"qt6_target_qml_sources",
"qt6_add_qml_module",
"qt_add_qml_module",
"add_dependencies",
"_qt_internal_add_phony_target_dependencies"
],
"files" :
[
"/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/lib/cmake/Qt6/QtPublicCMakeHelpers.cmake",
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 2
},
{
"command" : 6,
"file" : 2,
"line" : 19,
"parent" : 0
},
{
"command" : 5,
"file" : 1,
"line" : 1418,
"parent" : 1
},
{
"command" : 4,
"file" : 1,
"line" : 960,
"parent" : 2
},
{
"command" : 3,
"file" : 1,
"line" : 3614,
"parent" : 3
},
{
"command" : 2,
"file" : 1,
"line" : 1762,
"parent" : 4
},
{
"command" : 1,
"file" : 1,
"line" : 1778,
"parent" : 5
},
{
"command" : 0,
"file" : 0,
"line" : 338,
"parent" : 6
},
{
"command" : 8,
"file" : 1,
"line" : 1782,
"parent" : 5
},
{
"command" : 7,
"file" : 0,
"line" : 367,
"parent" : 8
}
]
},
"dependencies" :
[
{
"backtrace" : 9,
"id" : "appnavidrome_client_qmllint::@6890427a1f51a3e7e1df"
}
],
"folder" :
{
"name" : "QtInternalTargets/QmlLinter"
},
"id" : "all_qmllint::@6890427a1f51a3e7e1df",
"name" : "all_qmllint",
"paths" :
{
"build" : ".",
"source" : "."
},
"sources" : [],
"type" : "UTILITY"
}

View File

@@ -0,0 +1,104 @@
{
"backtrace" : 7,
"backtraceGraph" :
{
"commands" :
[
"add_custom_target",
"_qt_internal_add_phony_target",
"_qt_internal_add_all_qmllint_target",
"_qt_internal_target_enable_qmllint",
"qt6_target_qml_sources",
"qt6_add_qml_module",
"qt_add_qml_module",
"add_dependencies",
"_qt_internal_add_phony_target_dependencies"
],
"files" :
[
"/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/lib/cmake/Qt6/QtPublicCMakeHelpers.cmake",
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 2
},
{
"command" : 6,
"file" : 2,
"line" : 19,
"parent" : 0
},
{
"command" : 5,
"file" : 1,
"line" : 1418,
"parent" : 1
},
{
"command" : 4,
"file" : 1,
"line" : 960,
"parent" : 2
},
{
"command" : 3,
"file" : 1,
"line" : 3614,
"parent" : 3
},
{
"command" : 2,
"file" : 1,
"line" : 1764,
"parent" : 4
},
{
"command" : 1,
"file" : 1,
"line" : 1778,
"parent" : 5
},
{
"command" : 0,
"file" : 0,
"line" : 338,
"parent" : 6
},
{
"command" : 8,
"file" : 1,
"line" : 1782,
"parent" : 5
},
{
"command" : 7,
"file" : 0,
"line" : 367,
"parent" : 8
}
]
},
"dependencies" :
[
{
"backtrace" : 9,
"id" : "appnavidrome_client_qmllint_json::@6890427a1f51a3e7e1df"
}
],
"folder" :
{
"name" : "QtInternalTargets/QmlLinter"
},
"id" : "all_qmllint_json::@6890427a1f51a3e7e1df",
"name" : "all_qmllint_json",
"paths" :
{
"build" : ".",
"source" : "."
},
"sources" : [],
"type" : "UTILITY"
}

View File

@@ -0,0 +1,104 @@
{
"backtrace" : 7,
"backtraceGraph" :
{
"commands" :
[
"add_custom_target",
"_qt_internal_add_phony_target",
"_qt_internal_add_all_qmllint_target",
"_qt_internal_target_enable_qmllint",
"qt6_target_qml_sources",
"qt6_add_qml_module",
"qt_add_qml_module",
"add_dependencies",
"_qt_internal_add_phony_target_dependencies"
],
"files" :
[
"/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/lib/cmake/Qt6/QtPublicCMakeHelpers.cmake",
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 2
},
{
"command" : 6,
"file" : 2,
"line" : 19,
"parent" : 0
},
{
"command" : 5,
"file" : 1,
"line" : 1418,
"parent" : 1
},
{
"command" : 4,
"file" : 1,
"line" : 960,
"parent" : 2
},
{
"command" : 3,
"file" : 1,
"line" : 3614,
"parent" : 3
},
{
"command" : 2,
"file" : 1,
"line" : 1766,
"parent" : 4
},
{
"command" : 1,
"file" : 1,
"line" : 1778,
"parent" : 5
},
{
"command" : 0,
"file" : 0,
"line" : 338,
"parent" : 6
},
{
"command" : 8,
"file" : 1,
"line" : 1782,
"parent" : 5
},
{
"command" : 7,
"file" : 0,
"line" : 367,
"parent" : 8
}
]
},
"dependencies" :
[
{
"backtrace" : 9,
"id" : "appnavidrome_client_qmllint_module::@6890427a1f51a3e7e1df"
}
],
"folder" :
{
"name" : "QtInternalTargets/QmlLinter"
},
"id" : "all_qmllint_module::@6890427a1f51a3e7e1df",
"name" : "all_qmllint_module",
"paths" :
{
"build" : ".",
"source" : "."
},
"sources" : [],
"type" : "UTILITY"
}

View File

@@ -0,0 +1,75 @@
{
"backtrace" : 4,
"backtraceGraph" :
{
"commands" :
[
"add_custom_target",
"_qt_internal_qml_type_registration",
"qt6_add_qml_module",
"qt_add_qml_module",
"add_dependencies"
],
"files" :
[
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 1
},
{
"command" : 3,
"file" : 1,
"line" : 19,
"parent" : 0
},
{
"command" : 2,
"file" : 0,
"line" : 1418,
"parent" : 1
},
{
"command" : 1,
"file" : 0,
"line" : 835,
"parent" : 2
},
{
"command" : 0,
"file" : 0,
"line" : 4221,
"parent" : 3
},
{
"command" : 4,
"file" : 0,
"line" : 4224,
"parent" : 3
}
]
},
"dependencies" :
[
{
"backtrace" : 5,
"id" : "appnavidrome_client_qmltyperegistration::@6890427a1f51a3e7e1df"
}
],
"folder" :
{
"name" : "QtInternalTargets"
},
"id" : "all_qmltyperegistrations::@6890427a1f51a3e7e1df",
"name" : "all_qmltyperegistrations",
"paths" :
{
"build" : ".",
"source" : "."
},
"sources" : [],
"type" : "UTILITY"
}

View File

@@ -0,0 +1,891 @@
{
"artifacts" :
[
{
"path" : "appnavidrome_client"
}
],
"backtrace" : 4,
"backtraceGraph" :
{
"commands" :
[
"add_executable",
"_qt_internal_create_executable",
"qt6_add_executable",
"qt_add_executable",
"target_link_libraries",
"set_target_properties",
"include",
"find_package",
"qt6_add_qml_module",
"qt_add_qml_module",
"set_property",
"find_dependency",
"_qt_internal_find_third_party_dependencies",
"_qt_internal_find_qt_dependencies",
"add_dependencies",
"_qt_internal_qml_copy_files_to_build_dir",
"_qt_internal_write_deferred_qmlls_build_ini_file",
"_qt_internal_scan_qml_imports",
"_qt_internal_generate_deploy_qml_imports_script",
"cmake_language",
"_qt_internal_finalize_executable",
"qt6_finalize_target",
"target_include_directories",
"_qt_internal_qml_type_registration",
"target_sources",
"qt6_extract_metatypes",
"__qt_propagate_generated_resource",
"_qt_internal_process_resource",
"qt6_add_resources",
"qt6_target_qml_sources",
"_qt_internal_target_enable_qmlcachegen",
"_qt_internal_expose_deferred_files_to_ide"
],
"files" :
[
"/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/lib/cmake/Qt6Core/Qt6CoreMacros.cmake",
"CMakeLists.txt",
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Quick/Qt6QuickTargets.cmake",
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake",
"/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/lib/cmake/Qt6/Qt6Config.cmake",
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake",
"/nix/store/w9jm660dykns6hzrdhxmqfywnc9ail8g-cmake-4.1.2/share/cmake-4.1/Modules/FindOpenGL.cmake",
"/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/lib/cmake/Qt6/FindWrapOpenGL.cmake",
"/nix/store/w9jm660dykns6hzrdhxmqfywnc9ail8g-cmake-4.1.2/share/cmake-4.1/Modules/CMakeFindDependencyMacro.cmake",
"/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake",
"/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/lib/cmake/Qt6Gui/Qt6GuiDependencies.cmake",
"/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/lib/cmake/Qt6Gui/Qt6GuiConfig.cmake",
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Quick/Qt6QuickDependencies.cmake",
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:1099:EVAL",
"/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:846:EVAL"
],
"nodes" :
[
{
"file" : 1
},
{
"command" : 3,
"file" : 1,
"line" : 15,
"parent" : 0
},
{
"command" : 2,
"file" : 0,
"line" : 1012,
"parent" : 1
},
{
"command" : 1,
"file" : 0,
"line" : 671,
"parent" : 2
},
{
"command" : 0,
"file" : 0,
"line" : 747,
"parent" : 3
},
{
"command" : 4,
"file" : 1,
"line" : 26,
"parent" : 0
},
{
"command" : 7,
"file" : 1,
"line" : 11,
"parent" : 0
},
{
"file" : 4,
"parent" : 6
},
{
"command" : 7,
"file" : 4,
"line" : 237,
"parent" : 7
},
{
"file" : 3,
"parent" : 8
},
{
"command" : 6,
"file" : 3,
"line" : 52,
"parent" : 9
},
{
"file" : 2,
"parent" : 10
},
{
"command" : 5,
"file" : 2,
"line" : 61,
"parent" : 11
},
{
"command" : 9,
"file" : 1,
"line" : 19,
"parent" : 0
},
{
"command" : 8,
"file" : 5,
"line" : 1418,
"parent" : 13
},
{
"command" : 4,
"file" : 5,
"line" : 618,
"parent" : 14
},
{
"command" : 6,
"file" : 3,
"line" : 40,
"parent" : 9
},
{
"file" : 12,
"parent" : 16
},
{
"command" : 13,
"file" : 12,
"line" : 50,
"parent" : 17
},
{
"command" : 11,
"file" : 9,
"line" : 142,
"parent" : 18
},
{
"command" : 7,
"file" : 8,
"line" : 78,
"parent" : 19
},
{
"file" : 11,
"parent" : 20
},
{
"command" : 6,
"file" : 11,
"line" : 40,
"parent" : 21
},
{
"file" : 10,
"parent" : 22
},
{
"command" : 12,
"file" : 10,
"line" : 37,
"parent" : 23
},
{
"command" : 11,
"file" : 9,
"line" : 36,
"parent" : 24
},
{
"command" : 7,
"file" : 8,
"line" : 78,
"parent" : 25
},
{
"file" : 7,
"parent" : 26
},
{
"command" : 7,
"file" : 7,
"line" : 13,
"parent" : 27
},
{
"file" : 6,
"parent" : 28
},
{
"command" : 10,
"file" : 6,
"line" : 692,
"parent" : 29
},
{
"command" : 5,
"file" : 6,
"line" : 690,
"parent" : 29
},
{
"command" : 4,
"file" : 0,
"line" : 672,
"parent" : 2
},
{
"command" : 15,
"file" : 5,
"line" : 970,
"parent" : 14
},
{
"command" : 14,
"file" : 5,
"line" : 3120,
"parent" : 33
},
{
"command" : 15,
"file" : 5,
"line" : 976,
"parent" : 14
},
{
"command" : 14,
"file" : 5,
"line" : 3120,
"parent" : 35
},
{
"file" : 1,
"line" : -1,
"parent" : 0
},
{
"command" : 16,
"file" : 13,
"line" : 1,
"parent" : 37
},
{
"command" : 14,
"file" : 5,
"line" : 1388,
"parent" : 38
},
{
"command" : 21,
"file" : 14,
"line" : 1,
"parent" : 37
},
{
"command" : 20,
"file" : 0,
"line" : 877,
"parent" : 40
},
{
"command" : 19,
"file" : 0,
"line" : 799,
"parent" : 41
},
{
"command" : 18,
"file" : 0,
"line" : 799,
"parent" : 42
},
{
"command" : 17,
"file" : 5,
"line" : 4780,
"parent" : 43
},
{
"command" : 14,
"file" : 5,
"line" : 4555,
"parent" : 44
},
{
"command" : 23,
"file" : 5,
"line" : 835,
"parent" : 14
},
{
"command" : 22,
"file" : 5,
"line" : 4253,
"parent" : 46
},
{
"command" : 22,
"file" : 5,
"line" : 4283,
"parent" : 46
},
{
"command" : 25,
"file" : 5,
"line" : 4078,
"parent" : 46
},
{
"command" : 24,
"file" : 0,
"line" : 1577,
"parent" : 49
},
{
"command" : 24,
"file" : 5,
"line" : 4244,
"parent" : 46
},
{
"command" : 28,
"file" : 5,
"line" : 887,
"parent" : 14
},
{
"command" : 27,
"file" : 0,
"line" : 405,
"parent" : 52
},
{
"command" : 26,
"file" : 0,
"line" : 2623,
"parent" : 53
},
{
"command" : 24,
"file" : 0,
"line" : 2163,
"parent" : 54
},
{
"command" : 29,
"file" : 5,
"line" : 960,
"parent" : 14
},
{
"command" : 24,
"file" : 5,
"line" : 3591,
"parent" : 56
},
{
"command" : 30,
"file" : 5,
"line" : 3728,
"parent" : 56
},
{
"command" : 24,
"file" : 5,
"line" : 1881,
"parent" : 58
},
{
"command" : 24,
"file" : 5,
"line" : 3784,
"parent" : 56
},
{
"command" : 28,
"file" : 5,
"line" : 3876,
"parent" : 56
},
{
"command" : 27,
"file" : 0,
"line" : 405,
"parent" : 61
},
{
"command" : 26,
"file" : 0,
"line" : 2623,
"parent" : 62
},
{
"command" : 24,
"file" : 0,
"line" : 2163,
"parent" : 63
},
{
"command" : 31,
"file" : 0,
"line" : 871,
"parent" : 40
},
{
"command" : 24,
"file" : 0,
"line" : 2288,
"parent" : 65
}
]
},
"compileGroups" :
[
{
"compileCommandFragments" :
[
{
"fragment" : "-DQT_QML_DEBUG -g -std=gnu++17 -fdiagnostics-color=always"
},
{
"backtrace" : 32,
"fragment" : "-fPIC"
}
],
"defines" :
[
{
"backtrace" : 32,
"define" : "QT_CORE_LIB"
},
{
"backtrace" : 5,
"define" : "QT_GUI_LIB"
},
{
"backtrace" : 5,
"define" : "QT_MULTIMEDIA_LIB"
},
{
"backtrace" : 15,
"define" : "QT_NETWORK_LIB"
},
{
"backtrace" : 5,
"define" : "QT_OPENGL_LIB"
},
{
"backtrace" : 15,
"define" : "QT_QMLINTEGRATION_LIB"
},
{
"backtrace" : 15,
"define" : "QT_QML_LIB"
},
{
"backtrace" : 5,
"define" : "QT_QUICK_LIB"
}
],
"includes" :
[
{
"backtrace" : 0,
"path" : "/home/nils/Dev/navidrome_client/build/Desktop-Debug/appnavidrome_client_autogen/include"
},
{
"backtrace" : 47,
"path" : "/home/nils/Dev/navidrome_client"
},
{
"backtrace" : 48,
"isSystem" : true,
"path" : "/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/include/QtQml"
},
{
"backtrace" : 48,
"isSystem" : true,
"path" : "/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/include/QtCore"
},
{
"backtrace" : 48,
"isSystem" : true,
"path" : "/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/mkspecs/linux-g++"
},
{
"backtrace" : 48,
"isSystem" : true,
"path" : "/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/include/QtQmlIntegration"
},
{
"backtrace" : 48,
"isSystem" : true,
"path" : "/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/include/QtNetwork"
},
{
"backtrace" : 5,
"isSystem" : true,
"path" : "/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/include/QtQuick"
},
{
"backtrace" : 5,
"isSystem" : true,
"path" : "/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/include/QtGui"
},
{
"backtrace" : 5,
"isSystem" : true,
"path" : "/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/include/QtOpenGL"
},
{
"backtrace" : 5,
"isSystem" : true,
"path" : "/nix/store/0d97dxdvc0k0b1qgzar9njlmg0ijxhcw-qtmultimedia-6.10.1/include/QtMultimedia"
}
],
"language" : "CXX",
"languageStandard" :
{
"backtraces" :
[
32,
32
],
"standard" : "17"
},
"sourceIndexes" :
[
0,
1,
3,
4,
6,
7,
8
]
}
],
"dependencies" :
[
{
"backtrace" : 34,
"id" : "appnavidrome_client_copy_qml::@6890427a1f51a3e7e1df"
},
{
"backtrace" : 36,
"id" : "appnavidrome_client_copy_res::@6890427a1f51a3e7e1df"
},
{
"backtrace" : 39,
"id" : "generate_qmlls_build_ini_file::@6890427a1f51a3e7e1df"
},
{
"backtrace" : 45,
"id" : "appnavidrome_client_qmlimportscan::@6890427a1f51a3e7e1df"
},
{
"id" : "appnavidrome_client_autogen_timestamp_deps::@6890427a1f51a3e7e1df"
},
{
"backtrace" : 0,
"id" : "appnavidrome_client_autogen::@6890427a1f51a3e7e1df"
}
],
"id" : "appnavidrome_client::@6890427a1f51a3e7e1df",
"link" :
{
"commandFragments" :
[
{
"fragment" : "-DQT_QML_DEBUG -g",
"role" : "flags"
},
{
"backtrace" : 5,
"fragment" : "/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/libQt6Quick.so.6.10.1",
"role" : "libraries"
},
{
"backtrace" : 5,
"fragment" : "/nix/store/0d97dxdvc0k0b1qgzar9njlmg0ijxhcw-qtmultimedia-6.10.1/lib/libQt6Multimedia.so.6.10.1",
"role" : "libraries"
},
{
"backtrace" : 12,
"fragment" : "/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/lib/libQt6OpenGL.so.6.10.1",
"role" : "libraries"
},
{
"backtrace" : 15,
"fragment" : "/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/libQt6Qml.so.6.10.1",
"role" : "libraries"
},
{
"backtrace" : 5,
"fragment" : "/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/lib/libQt6Network.so.6.10.1",
"role" : "libraries"
},
{
"backtrace" : 12,
"fragment" : "/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/lib/libQt6Gui.so.6.10.1",
"role" : "libraries"
},
{
"backtrace" : 30,
"fragment" : "/nix/store/a6ysfcvac8l7p33xgwlca7kd5s3p35g1-libglvnd-1.7.0/lib/libGLX.so",
"role" : "libraries"
},
{
"backtrace" : 31,
"fragment" : "/nix/store/a6ysfcvac8l7p33xgwlca7kd5s3p35g1-libglvnd-1.7.0/lib/libOpenGL.so",
"role" : "libraries"
},
{
"backtrace" : 32,
"fragment" : "/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/lib/libQt6Core.so.6.10.1",
"role" : "libraries"
}
],
"language" : "CXX"
},
"name" : "appnavidrome_client",
"nameOnDisk" : "appnavidrome_client",
"paths" :
{
"build" : ".",
"source" : "."
},
"sourceGroups" :
[
{
"name" : "Source Files\\Generated",
"sourceIndexes" :
[
0,
2,
3,
4,
6,
7,
8,
9,
11,
12,
21,
22,
23,
24,
25,
26,
27
]
},
{
"name" : "Source Files",
"sourceIndexes" :
[
1,
5
]
},
{
"name" : "Resources",
"sourceIndexes" :
[
10
]
},
{
"name" : "CMake Rules",
"sourceIndexes" :
[
13,
14,
15,
16,
17,
18,
19,
20
]
}
],
"sources" :
[
{
"backtrace" : 0,
"compileGroupIndex" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/appnavidrome_client_autogen/mocs_compilation.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 4,
"compileGroupIndex" : 0,
"path" : "main.cpp",
"sourceGroupIndex" : 1
},
{
"backtrace" : 50,
"isGenerated" : true,
"path" : "build/Desktop-Debug/meta_types/qt6appnavidrome_client_metatypes.json.gen",
"sourceGroupIndex" : 0
},
{
"backtrace" : 51,
"compileGroupIndex" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/appnavidrome_client_qmltyperegistrations.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 55,
"compileGroupIndex" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/.qt/rcc/qrc_qmake_navidrome_client.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 57,
"path" : "Main.qml",
"sourceGroupIndex" : 1
},
{
"backtrace" : 59,
"compileGroupIndex" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/.rcc/qmlcache/appnavidrome_client_qmlcache_loader.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 60,
"compileGroupIndex" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/.rcc/qmlcache/appnavidrome_client_Main_qml.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 64,
"compileGroupIndex" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/.qt/rcc/qrc_appnavidrome_client_raw_qml_0.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 66,
"isGenerated" : true,
"path" : "build/Desktop-Debug/.qt/rcc/qmake_navidrome_client.qrc",
"sourceGroupIndex" : 0
},
{
"backtrace" : 66,
"isGenerated" : true,
"path" : "build/Desktop-Debug/navidrome_client/qmldir",
"sourceGroupIndex" : 2
},
{
"backtrace" : 66,
"isGenerated" : true,
"path" : "build/Desktop-Debug/.qt/rcc/appnavidrome_client_raw_qml_0.qrc",
"sourceGroupIndex" : 0
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/appnavidrome_client_autogen/timestamp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/meta_types/qt6appnavidrome_client_metatypes.json.gen.rule",
"sourceGroupIndex" : 3
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/appnavidrome_client_qmltyperegistrations.cpp.rule",
"sourceGroupIndex" : 3
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/.qt/rcc/qrc_qmake_navidrome_client.cpp.rule",
"sourceGroupIndex" : 3
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/.rcc/qmlcache/appnavidrome_client_qmlcache_loader.cpp.rule",
"sourceGroupIndex" : 3
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/.rcc/qmlcache/appnavidrome_client_Main_qml.cpp.rule",
"sourceGroupIndex" : 3
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/.qt/rcc/qrc_appnavidrome_client_raw_qml_0.cpp.rule",
"sourceGroupIndex" : 3
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/appnavidrome_client_autogen/timestamp.rule",
"sourceGroupIndex" : 3
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/meta_types/appnavidrome_client_json_file_list.txt.rule",
"sourceGroupIndex" : 3
},
{
"backtrace" : 32,
"path" : "/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/metatypes/qt6core_metatypes.json",
"sourceGroupIndex" : 0
},
{
"backtrace" : 15,
"path" : "/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/metatypes/qt6qml_metatypes.json",
"sourceGroupIndex" : 0
},
{
"backtrace" : 15,
"path" : "/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/metatypes/qt6network_metatypes.json",
"sourceGroupIndex" : 0
},
{
"backtrace" : 5,
"path" : "/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/metatypes/qt6quick_metatypes.json",
"sourceGroupIndex" : 0
},
{
"backtrace" : 5,
"path" : "/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/metatypes/qt6gui_metatypes.json",
"sourceGroupIndex" : 0
},
{
"backtrace" : 5,
"path" : "/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/metatypes/qt6opengl_metatypes.json",
"sourceGroupIndex" : 0
},
{
"backtrace" : 5,
"path" : "/nix/store/0d97dxdvc0k0b1qgzar9njlmg0ijxhcw-qtmultimedia-6.10.1/metatypes/qt6multimedia_metatypes.json",
"sourceGroupIndex" : 0
}
],
"type" : "EXECUTABLE"
}

View File

@@ -0,0 +1,75 @@
{
"backtrace" : 0,
"backtraceGraph" :
{
"commands" : [],
"files" :
[
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 0
}
]
},
"dependencies" :
[
{
"id" : "appnavidrome_client_autogen_timestamp_deps::@6890427a1f51a3e7e1df"
}
],
"folder" :
{
"name" : "QtInternalTargets"
},
"id" : "appnavidrome_client_autogen::@6890427a1f51a3e7e1df",
"isGeneratorProvided" : true,
"name" : "appnavidrome_client_autogen",
"paths" :
{
"build" : ".",
"source" : "."
},
"sourceGroups" :
[
{
"name" : "",
"sourceIndexes" :
[
0
]
},
{
"name" : "CMake Rules",
"sourceIndexes" :
[
1,
2
]
}
],
"sources" :
[
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/appnavidrome_client_autogen",
"sourceGroupIndex" : 0
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/appnavidrome_client_autogen.rule",
"sourceGroupIndex" : 1
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/appnavidrome_client_autogen/timestamp.rule",
"sourceGroupIndex" : 1
}
],
"type" : "UTILITY"
}

View File

@@ -0,0 +1,93 @@
{
"backtrace" : 0,
"backtraceGraph" :
{
"commands" :
[
"add_dependencies",
"_qt_internal_qml_copy_files_to_build_dir",
"qt6_add_qml_module",
"qt_add_qml_module"
],
"files" :
[
"CMakeLists.txt",
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake"
],
"nodes" :
[
{
"file" : 0
},
{
"command" : 3,
"file" : 0,
"line" : 19,
"parent" : 0
},
{
"command" : 2,
"file" : 1,
"line" : 1418,
"parent" : 1
},
{
"command" : 1,
"file" : 1,
"line" : 970,
"parent" : 2
},
{
"command" : 0,
"file" : 1,
"line" : 3120,
"parent" : 3
},
{
"command" : 1,
"file" : 1,
"line" : 976,
"parent" : 2
},
{
"command" : 0,
"file" : 1,
"line" : 3120,
"parent" : 5
}
]
},
"dependencies" :
[
{
"backtrace" : 4,
"id" : "appnavidrome_client_copy_qml::@6890427a1f51a3e7e1df"
},
{
"backtrace" : 6,
"id" : "appnavidrome_client_copy_res::@6890427a1f51a3e7e1df"
},
{
"backtrace" : 0,
"id" : "generate_qmlls_build_ini_file::@6890427a1f51a3e7e1df"
},
{
"backtrace" : 0,
"id" : "appnavidrome_client_qmlimportscan::@6890427a1f51a3e7e1df"
}
],
"folder" :
{
"name" : "QtInternalTargets"
},
"id" : "appnavidrome_client_autogen_timestamp_deps::@6890427a1f51a3e7e1df",
"isGeneratorProvided" : true,
"name" : "appnavidrome_client_autogen_timestamp_deps",
"paths" :
{
"build" : ".",
"source" : "."
},
"sources" : [],
"type" : "UTILITY"
}

View File

@@ -0,0 +1,99 @@
{
"backtrace" : 4,
"backtraceGraph" :
{
"commands" :
[
"add_custom_target",
"_qt_internal_qml_copy_files_to_build_dir",
"qt6_add_qml_module",
"qt_add_qml_module"
],
"files" :
[
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 1
},
{
"command" : 3,
"file" : 1,
"line" : 19,
"parent" : 0
},
{
"command" : 2,
"file" : 0,
"line" : 1418,
"parent" : 1
},
{
"command" : 1,
"file" : 0,
"line" : 970,
"parent" : 2
},
{
"command" : 0,
"file" : 0,
"line" : 3101,
"parent" : 3
}
]
},
"folder" :
{
"name" : "QtInternalTargets"
},
"id" : "appnavidrome_client_copy_qml::@6890427a1f51a3e7e1df",
"name" : "appnavidrome_client_copy_qml",
"paths" :
{
"build" : ".",
"source" : "."
},
"sourceGroups" :
[
{
"name" : "",
"sourceIndexes" :
[
0
]
},
{
"name" : "CMake Rules",
"sourceIndexes" :
[
1,
2
]
}
],
"sources" :
[
{
"backtrace" : 4,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/appnavidrome_client_copy_qml",
"sourceGroupIndex" : 0
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/appnavidrome_client_copy_qml.rule",
"sourceGroupIndex" : 1
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/.qt/appnavidrome_client_qml.txt.rule",
"sourceGroupIndex" : 1
}
],
"type" : "UTILITY"
}

View File

@@ -0,0 +1,99 @@
{
"backtrace" : 4,
"backtraceGraph" :
{
"commands" :
[
"add_custom_target",
"_qt_internal_qml_copy_files_to_build_dir",
"qt6_add_qml_module",
"qt_add_qml_module"
],
"files" :
[
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 1
},
{
"command" : 3,
"file" : 1,
"line" : 19,
"parent" : 0
},
{
"command" : 2,
"file" : 0,
"line" : 1418,
"parent" : 1
},
{
"command" : 1,
"file" : 0,
"line" : 976,
"parent" : 2
},
{
"command" : 0,
"file" : 0,
"line" : 3101,
"parent" : 3
}
]
},
"folder" :
{
"name" : "QtInternalTargets"
},
"id" : "appnavidrome_client_copy_res::@6890427a1f51a3e7e1df",
"name" : "appnavidrome_client_copy_res",
"paths" :
{
"build" : ".",
"source" : "."
},
"sourceGroups" :
[
{
"name" : "",
"sourceIndexes" :
[
0
]
},
{
"name" : "CMake Rules",
"sourceIndexes" :
[
1,
2
]
}
],
"sources" :
[
{
"backtrace" : 4,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/appnavidrome_client_copy_res",
"sourceGroupIndex" : 0
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/appnavidrome_client_copy_res.rule",
"sourceGroupIndex" : 1
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/.qt/appnavidrome_client_res.txt.rule",
"sourceGroupIndex" : 1
}
],
"type" : "UTILITY"
}

View File

@@ -0,0 +1,120 @@
{
"backtrace" : 7,
"backtraceGraph" :
{
"commands" :
[
"add_custom_target",
"_qt_internal_scan_qml_imports",
"_qt_internal_generate_deploy_qml_imports_script",
"cmake_language",
"_qt_internal_finalize_executable",
"qt6_finalize_target"
],
"files" :
[
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake",
"/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/lib/cmake/Qt6Core/Qt6CoreMacros.cmake",
"/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:846:EVAL",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 3
},
{
"file" : 3,
"line" : -1,
"parent" : 0
},
{
"command" : 5,
"file" : 2,
"line" : 1,
"parent" : 1
},
{
"command" : 4,
"file" : 1,
"line" : 877,
"parent" : 2
},
{
"command" : 3,
"file" : 1,
"line" : 799,
"parent" : 3
},
{
"command" : 2,
"file" : 1,
"line" : 799,
"parent" : 4
},
{
"command" : 1,
"file" : 0,
"line" : 4780,
"parent" : 5
},
{
"command" : 0,
"file" : 0,
"line" : 4553,
"parent" : 6
}
]
},
"folder" :
{
"name" : "QtInternalTargets"
},
"id" : "appnavidrome_client_qmlimportscan::@6890427a1f51a3e7e1df",
"name" : "appnavidrome_client_qmlimportscan",
"paths" :
{
"build" : ".",
"source" : "."
},
"sourceGroups" :
[
{
"name" : "",
"sourceIndexes" :
[
0
]
},
{
"name" : "CMake Rules",
"sourceIndexes" :
[
1,
2
]
}
],
"sources" :
[
{
"backtrace" : 7,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/appnavidrome_client_qmlimportscan",
"sourceGroupIndex" : 0
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/appnavidrome_client_qmlimportscan.rule",
"sourceGroupIndex" : 1
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/.qt/qml_imports/appnavidrome_client_build.cmake.rule",
"sourceGroupIndex" : 1
}
],
"type" : "UTILITY"
}

View File

@@ -0,0 +1,105 @@
{
"backtrace" : 5,
"backtraceGraph" :
{
"commands" :
[
"add_custom_target",
"_qt_internal_target_enable_qmllint",
"qt6_target_qml_sources",
"qt6_add_qml_module",
"qt_add_qml_module"
],
"files" :
[
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 1
},
{
"command" : 4,
"file" : 1,
"line" : 19,
"parent" : 0
},
{
"command" : 3,
"file" : 0,
"line" : 1418,
"parent" : 1
},
{
"command" : 2,
"file" : 0,
"line" : 960,
"parent" : 2
},
{
"command" : 1,
"file" : 0,
"line" : 3614,
"parent" : 3
},
{
"command" : 0,
"file" : 0,
"line" : 1681,
"parent" : 4
}
]
},
"dependencies" :
[
{
"id" : "all_qmltyperegistrations::@6890427a1f51a3e7e1df"
}
],
"folder" :
{
"name" : "QtInternalTargets/QmlLinter"
},
"id" : "appnavidrome_client_qmllint::@6890427a1f51a3e7e1df",
"name" : "appnavidrome_client_qmllint",
"paths" :
{
"build" : ".",
"source" : "."
},
"sourceGroups" :
[
{
"name" : "",
"sourceIndexes" :
[
0
]
},
{
"name" : "CMake Rules",
"sourceIndexes" :
[
1
]
}
],
"sources" :
[
{
"backtrace" : 5,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/appnavidrome_client_qmllint",
"sourceGroupIndex" : 0
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/appnavidrome_client_qmllint.rule",
"sourceGroupIndex" : 1
}
],
"type" : "UTILITY"
}

View File

@@ -0,0 +1,105 @@
{
"backtrace" : 5,
"backtraceGraph" :
{
"commands" :
[
"add_custom_target",
"_qt_internal_target_enable_qmllint",
"qt6_target_qml_sources",
"qt6_add_qml_module",
"qt_add_qml_module"
],
"files" :
[
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 1
},
{
"command" : 4,
"file" : 1,
"line" : 19,
"parent" : 0
},
{
"command" : 3,
"file" : 0,
"line" : 1418,
"parent" : 1
},
{
"command" : 2,
"file" : 0,
"line" : 960,
"parent" : 2
},
{
"command" : 1,
"file" : 0,
"line" : 3614,
"parent" : 3
},
{
"command" : 0,
"file" : 0,
"line" : 1708,
"parent" : 4
}
]
},
"dependencies" :
[
{
"id" : "all_qmltyperegistrations::@6890427a1f51a3e7e1df"
}
],
"folder" :
{
"name" : "QtInternalTargets/QmlLinter"
},
"id" : "appnavidrome_client_qmllint_json::@6890427a1f51a3e7e1df",
"name" : "appnavidrome_client_qmllint_json",
"paths" :
{
"build" : ".",
"source" : "."
},
"sourceGroups" :
[
{
"name" : "",
"sourceIndexes" :
[
0
]
},
{
"name" : "CMake Rules",
"sourceIndexes" :
[
1
]
}
],
"sources" :
[
{
"backtrace" : 5,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/appnavidrome_client_qmllint_json",
"sourceGroupIndex" : 0
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/appnavidrome_client_qmllint_json.rule",
"sourceGroupIndex" : 1
}
],
"type" : "UTILITY"
}

View File

@@ -0,0 +1,105 @@
{
"backtrace" : 5,
"backtraceGraph" :
{
"commands" :
[
"add_custom_target",
"_qt_internal_target_enable_qmllint",
"qt6_target_qml_sources",
"qt6_add_qml_module",
"qt_add_qml_module"
],
"files" :
[
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 1
},
{
"command" : 4,
"file" : 1,
"line" : 19,
"parent" : 0
},
{
"command" : 3,
"file" : 0,
"line" : 1418,
"parent" : 1
},
{
"command" : 2,
"file" : 0,
"line" : 960,
"parent" : 2
},
{
"command" : 1,
"file" : 0,
"line" : 3614,
"parent" : 3
},
{
"command" : 0,
"file" : 0,
"line" : 1746,
"parent" : 4
}
]
},
"dependencies" :
[
{
"id" : "all_qmltyperegistrations::@6890427a1f51a3e7e1df"
}
],
"folder" :
{
"name" : "QtInternalTargets/QmlLinter"
},
"id" : "appnavidrome_client_qmllint_module::@6890427a1f51a3e7e1df",
"name" : "appnavidrome_client_qmllint_module",
"paths" :
{
"build" : ".",
"source" : "."
},
"sourceGroups" :
[
{
"name" : "",
"sourceIndexes" :
[
0
]
},
{
"name" : "CMake Rules",
"sourceIndexes" :
[
1
]
}
],
"sources" :
[
{
"backtrace" : 5,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/appnavidrome_client_qmllint_module",
"sourceGroupIndex" : 0
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/appnavidrome_client_qmllint_module.rule",
"sourceGroupIndex" : 1
}
],
"type" : "UTILITY"
}

View File

@@ -0,0 +1,99 @@
{
"backtrace" : 4,
"backtraceGraph" :
{
"commands" :
[
"add_custom_target",
"_qt_internal_qml_type_registration",
"qt6_add_qml_module",
"qt_add_qml_module"
],
"files" :
[
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 1
},
{
"command" : 3,
"file" : 1,
"line" : 19,
"parent" : 0
},
{
"command" : 2,
"file" : 0,
"line" : 1418,
"parent" : 1
},
{
"command" : 1,
"file" : 0,
"line" : 835,
"parent" : 2
},
{
"command" : 0,
"file" : 0,
"line" : 4214,
"parent" : 3
}
]
},
"folder" :
{
"name" : "QtInternalTargets"
},
"id" : "appnavidrome_client_qmltyperegistration::@6890427a1f51a3e7e1df",
"name" : "appnavidrome_client_qmltyperegistration",
"paths" :
{
"build" : ".",
"source" : "."
},
"sourceGroups" :
[
{
"name" : "",
"sourceIndexes" :
[
0
]
},
{
"name" : "CMake Rules",
"sourceIndexes" :
[
1,
2
]
}
],
"sources" :
[
{
"backtrace" : 4,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/appnavidrome_client_qmltyperegistration",
"sourceGroupIndex" : 0
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/appnavidrome_client_qmltyperegistration.rule",
"sourceGroupIndex" : 1
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/appnavidrome_client_qmltyperegistrations.cpp.rule",
"sourceGroupIndex" : 1
}
],
"type" : "UTILITY"
}

View File

@@ -0,0 +1,87 @@
{
"backtrace" : 3,
"backtraceGraph" :
{
"commands" :
[
"add_custom_target",
"_qt_internal_write_deferred_qmlls_build_ini_file"
],
"files" :
[
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake",
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:1099:EVAL",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 2
},
{
"file" : 2,
"line" : -1,
"parent" : 0
},
{
"command" : 1,
"file" : 1,
"line" : 1,
"parent" : 1
},
{
"command" : 0,
"file" : 0,
"line" : 1383,
"parent" : 2
}
]
},
"id" : "generate_qmlls_build_ini_file::@6890427a1f51a3e7e1df",
"name" : "generate_qmlls_build_ini_file",
"paths" :
{
"build" : ".",
"source" : "."
},
"sourceGroups" :
[
{
"name" : "",
"sourceIndexes" :
[
0
]
},
{
"name" : "CMake Rules",
"sourceIndexes" :
[
1,
2
]
}
],
"sources" :
[
{
"backtrace" : 3,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/generate_qmlls_build_ini_file",
"sourceGroupIndex" : 0
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/generate_qmlls_build_ini_file.rule",
"sourceGroupIndex" : 1
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/.qt/.qmlls.build.ini.rule",
"sourceGroupIndex" : 1
}
],
"type" : "UTILITY"
}

View File

@@ -0,0 +1,119 @@
{
"backtrace" : 3,
"backtraceGraph" :
{
"commands" :
[
"add_custom_target",
"_qt_internal_deferred_aotstats_setup",
"add_dependencies"
],
"files" :
[
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake",
"/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:1191:EVAL",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 2
},
{
"file" : 2,
"line" : -1,
"parent" : 0
},
{
"command" : 1,
"file" : 1,
"line" : 1,
"parent" : 1
},
{
"command" : 0,
"file" : 0,
"line" : 1245,
"parent" : 2
},
{
"command" : 2,
"file" : 0,
"line" : 1250,
"parent" : 2
}
]
},
"dependencies" :
[
{
"backtrace" : 4,
"id" : "appnavidrome_client_qmltyperegistration::@6890427a1f51a3e7e1df"
}
],
"folder" :
{
"name" : "QtInternalTargets"
},
"id" : "module_appnavidrome_client_aotstats_target::@6890427a1f51a3e7e1df",
"name" : "module_appnavidrome_client_aotstats_target",
"paths" :
{
"build" : ".",
"source" : "."
},
"sourceGroups" :
[
{
"name" : "",
"sourceIndexes" :
[
0
]
},
{
"name" : "CMake Rules",
"sourceIndexes" :
[
1,
2,
3,
4
]
}
],
"sources" :
[
{
"backtrace" : 3,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/module_appnavidrome_client_aotstats_target",
"sourceGroupIndex" : 0
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/CMakeFiles/module_appnavidrome_client_aotstats_target.rule",
"sourceGroupIndex" : 1
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/.rcc/qmlcache/module_appnavidrome_client.aotstats.rule",
"sourceGroupIndex" : 1
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/.rcc/qmlcache/appnavidrome_client_Main_qml.cpp.rule",
"sourceGroupIndex" : 1
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "build/Desktop-Debug/appnavidrome_client_qmltyperegistrations.cpp.rule",
"sourceGroupIndex" : 1
}
],
"type" : "UTILITY"
}

Binary file not shown.

View File

@@ -0,0 +1,51 @@
# ninja log v7
5 16 1767380301694952275 .qt/appnavidrome_client_res.txt 9b4a9ac86c06c8d5
5 16 1767380301694952275 /home/nils/Dev/navidrome_client/build/Desktop-Debug/.qt/appnavidrome_client_res.txt 9b4a9ac86c06c8d5
4 16 1767380301696462761 .qt/appnavidrome_client_qml.txt e1fc4e15393071dc
4 16 1767380301696462761 /home/nils/Dev/navidrome_client/build/Desktop-Debug/.qt/appnavidrome_client_qml.txt e1fc4e15393071dc
5 32 1767380301710953268 .qt/.qmlls.build.ini 41e252f54d5b620f
5 32 1767380301710953268 /home/nils/Dev/navidrome_client/build/Desktop-Debug/.qt/.qmlls.build.ini 41e252f54d5b620f
6 57 1767380301736629744 .qt/qml_imports/appnavidrome_client_build.cmake 72f4ed3a5aa87865
6 57 1767380301736629744 /home/nils/Dev/navidrome_client/build/Desktop-Debug/.qt/qml_imports/appnavidrome_client_build.cmake 72f4ed3a5aa87865
57 126 1767380301786957985 appnavidrome_client_autogen/timestamp 991789e840327868
57 126 1767380301786957985 appnavidrome_client_autogen/mocs_compilation.cpp 991789e840327868
57 126 1767380301786957985 /home/nils/Dev/navidrome_client/build/Desktop-Debug/appnavidrome_client_autogen/timestamp 991789e840327868
57 126 1767380301786957985 /home/nils/Dev/navidrome_client/build/Desktop-Debug/appnavidrome_client_autogen/mocs_compilation.cpp 991789e840327868
127 134 1767380301814904460 meta_types/appnavidrome_client_json_file_list.txt 89ffa733a8091964
127 134 1767380301814904460 meta_types/appnavidrome_client_json_file_list.txt.timestamp 89ffa733a8091964
127 134 1767380301814904460 /home/nils/Dev/navidrome_client/build/Desktop-Debug/meta_types/appnavidrome_client_json_file_list.txt 89ffa733a8091964
127 134 1767380301814904460 /home/nils/Dev/navidrome_client/build/Desktop-Debug/meta_types/appnavidrome_client_json_file_list.txt.timestamp 89ffa733a8091964
127 137 1767380301817432540 .qt/rcc/qrc_qmake_navidrome_client.cpp fb503d0bb4f85eb0
127 137 1767380301817432540 /home/nils/Dev/navidrome_client/build/Desktop-Debug/.qt/rcc/qrc_qmake_navidrome_client.cpp fb503d0bb4f85eb0
129 137 1767380301817769034 .qt/rcc/qrc_appnavidrome_client_raw_qml_0.cpp 4de0f9680799e429
129 137 1767380301817769034 /home/nils/Dev/navidrome_client/build/Desktop-Debug/.qt/rcc/qrc_appnavidrome_client_raw_qml_0.cpp 4de0f9680799e429
134 142 1767380301821960157 meta_types/qt6appnavidrome_client_metatypes.json.gen 7e3077c1429b2ce9
134 142 1767380301821960157 meta_types/qt6appnavidrome_client_metatypes.json 7e3077c1429b2ce9
134 142 1767380301821960157 /home/nils/Dev/navidrome_client/build/Desktop-Debug/meta_types/qt6appnavidrome_client_metatypes.json.gen 7e3077c1429b2ce9
134 142 1767380301821960157 /home/nils/Dev/navidrome_client/build/Desktop-Debug/meta_types/qt6appnavidrome_client_metatypes.json 7e3077c1429b2ce9
128 145 1767380301823039481 .rcc/qmlcache/appnavidrome_client_qmlcache_loader.cpp aed53873dc49a814
128 145 1767380301823039481 /home/nils/Dev/navidrome_client/build/Desktop-Debug/.rcc/qmlcache/appnavidrome_client_qmlcache_loader.cpp aed53873dc49a814
142 183 1767380301846092633 appnavidrome_client_qmltyperegistrations.cpp daebd862419e9eef
142 183 1767380301846092633 navidrome_client/appnavidrome_client.qmltypes daebd862419e9eef
142 183 1767380301846092633 /home/nils/Dev/navidrome_client/build/Desktop-Debug/appnavidrome_client_qmltyperegistrations.cpp daebd862419e9eef
142 183 1767380301846092633 /home/nils/Dev/navidrome_client/build/Desktop-Debug/navidrome_client/appnavidrome_client.qmltypes daebd862419e9eef
183 252 1767380301929760459 .rcc/qmlcache/appnavidrome_client_Main_qml.cpp ad22cdec7552182d
183 252 1767380301929760459 .rcc/qmlcache/appnavidrome_client_Main_qml.cpp.aotstats ad22cdec7552182d
183 252 1767380301929760459 /home/nils/Dev/navidrome_client/build/Desktop-Debug/.rcc/qmlcache/appnavidrome_client_Main_qml.cpp ad22cdec7552182d
183 252 1767380301929760459 /home/nils/Dev/navidrome_client/build/Desktop-Debug/.rcc/qmlcache/appnavidrome_client_Main_qml.cpp.aotstats ad22cdec7552182d
252 268 1767380301931966985 CMakeFiles/appnavidrome_client.dir/appnavidrome_client_autogen/mocs_compilation.cpp.o a4f34d500896d8a
253 278 1767380301933838575 CMakeFiles/appnavidrome_client.dir/build/Desktop-Debug/.qt/rcc/qrc_appnavidrome_client_raw_qml_0.cpp.o 26bccd3849194df1
253 287 1767380301932967047 CMakeFiles/appnavidrome_client.dir/build/Desktop-Debug/.qt/rcc/qrc_qmake_navidrome_client.cpp.o e26e7d572759101e
252 1431 1767380301932938835 CMakeFiles/appnavidrome_client.dir/appnavidrome_client_qmltyperegistrations.cpp.o b2207f7df5a8fa17
253 1567 1767380301933667823 CMakeFiles/appnavidrome_client.dir/build/Desktop-Debug/.rcc/qmlcache/appnavidrome_client_Main_qml.cpp.o cb6856cb489bd841
253 1961 1767380301933447882 CMakeFiles/appnavidrome_client.dir/build/Desktop-Debug/.rcc/qmlcache/appnavidrome_client_qmlcache_loader.cpp.o 49cdcfd0b091e183
3 33 1767380398508986102 appnavidrome_client_autogen/timestamp 991789e840327868
3 33 1767380398508986102 appnavidrome_client_autogen/mocs_compilation.cpp 991789e840327868
3 33 1767380398508986102 /home/nils/Dev/navidrome_client/build/Desktop-Debug/appnavidrome_client_autogen/timestamp 991789e840327868
3 33 1767380398508986102 /home/nils/Dev/navidrome_client/build/Desktop-Debug/appnavidrome_client_autogen/mocs_compilation.cpp 991789e840327868
33 43 1767380398539804623 meta_types/appnavidrome_client_json_file_list.txt 89ffa733a8091964
33 43 1767380398539804623 meta_types/appnavidrome_client_json_file_list.txt.timestamp 89ffa733a8091964
33 43 1767380398539804623 /home/nils/Dev/navidrome_client/build/Desktop-Debug/meta_types/appnavidrome_client_json_file_list.txt 89ffa733a8091964
33 43 1767380398539804623 /home/nils/Dev/navidrome_client/build/Desktop-Debug/meta_types/appnavidrome_client_json_file_list.txt.timestamp 89ffa733a8091964
43 1333 1767380398548988605 CMakeFiles/appnavidrome_client.dir/main.cpp.o 867d574210e9987b
1333 1646 1767380399839069326 appnavidrome_client 37786093a9f086d6

View File

@@ -0,0 +1,4 @@
[General]
docDir=/nix/store/ab2mmx4ipp5p5y9i5004w1vm6zam022l-qtbase-6.10.1/doc
[<SLASH>home<SLASH>nils<SLASH>Dev<SLASH>navidrome_client]
importPaths="/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/qt-6/qml:/nix/store/hg47kn2xcjv56bcqa7kr6g55aljpnbi1-qtquick3d-6.10.1/lib/qt-6/qml:/nix/store/0d97dxdvc0k0b1qgzar9njlmg0ijxhcw-qtmultimedia-6.10.1/lib/qt-6/qml"

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
set(__QT_DEPLOY_TARGET_appnavidrome_client_FILE /home/nils/Dev/navidrome_client/build/Desktop-Debug/appnavidrome_client)
set(__QT_DEPLOY_TARGET_appnavidrome_client_TYPE EXECUTABLE)

View File

@@ -0,0 +1,9 @@
set(target "appnavidrome_client")
set(working_dir "/home/nils/Dev/navidrome_client")
set(src_and_dest_list
"/home/nils/Dev/navidrome_client/Main.qml"
"/home/nils/Dev/navidrome_client/build/Desktop-Debug/navidrome_client/Main.qml"
)
set(timestamp_file "/home/nils/Dev/navidrome_client/build/Desktop-Debug/.qt/appnavidrome_client_qml.txt")

View File

@@ -0,0 +1,7 @@
set(target "appnavidrome_client")
set(working_dir "/home/nils/Dev/navidrome_client")
set(src_and_dest_list
)
set(timestamp_file "/home/nils/Dev/navidrome_client/build/Desktop-Debug/.qt/appnavidrome_client_res.txt")

View File

@@ -0,0 +1,20 @@
# Auto-generated deploy QML imports script for target "appnavidrome_client".
# Do not edit, all changes will be lost.
# This file should only be included by qt6_deploy_qml_imports().
set(__qt_opts )
if(arg_NO_QT_IMPORTS)
list(APPEND __qt_opts NO_QT_IMPORTS)
endif()
_qt_internal_deploy_qml_imports_for_target(
${__qt_opts}
IMPORTS_FILE "/home/nils/Dev/navidrome_client/build/Desktop-Debug/.qt/qml_imports/appnavidrome_client_build.cmake"
PLUGINS_FOUND __qt_internal_plugins_found
QML_DIR "${arg_QML_DIR}"
PLUGINS_DIR "${arg_PLUGINS_DIR}"
)
if(arg_PLUGINS_FOUND)
set(${arg_PLUGINS_FOUND} "${__qt_internal_plugins_found}" PARENT_SCOPE)
endif()

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,18 @@
-rootPath
/home/nils/Dev/navidrome_client
-cmake-output
-output-file
/home/nils/Dev/navidrome_client/build/Desktop-Debug/.qt/qml_imports/appnavidrome_client_build.cmake
-importPath
/home/nils/Dev/navidrome_client/build/Desktop-Debug/navidrome_client
-importPath
/home/nils/Dev/navidrome_client/build/Desktop-Debug
-importPath
/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/qt-6/qml
-importPath
/nix/store/hg47kn2xcjv56bcqa7kr6g55aljpnbi1-qtquick3d-6.10.1/lib/qt-6/qml
-importPath
/nix/store/0d97dxdvc0k0b1qgzar9njlmg0ijxhcw-qtmultimedia-6.10.1/lib/qt-6/qml
-qrcFiles
/home/nils/Dev/navidrome_client/build/Desktop-Debug/.qt/rcc/qmake_navidrome_client.qrc
/home/nils/Dev/navidrome_client/build/Desktop-Debug/.qt/rcc/appnavidrome_client_raw_qml_0.qrc

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,18 @@
-rootPath
/home/nils/Dev/navidrome_client
-cmake-output
-output-file
/home/nils/Dev/navidrome_client/build/Desktop-Debug/.qt/qml_imports/appnavidrome_client_conf.cmake
-importPath
/home/nils/Dev/navidrome_client/build/Desktop-Debug/navidrome_client
-importPath
/home/nils/Dev/navidrome_client/build/Desktop-Debug
-importPath
/nix/store/3wk298i7a1vplvzaq2dgflqvp5my4pnd-qtdeclarative-6.10.1/lib/qt-6/qml
-importPath
/nix/store/hg47kn2xcjv56bcqa7kr6g55aljpnbi1-qtquick3d-6.10.1/lib/qt-6/qml
-importPath
/nix/store/0d97dxdvc0k0b1qgzar9njlmg0ijxhcw-qtmultimedia-6.10.1/lib/qt-6/qml
-qrcFiles
/home/nils/Dev/navidrome_client/build/Desktop-Debug/.qt/rcc/qmake_navidrome_client.qrc
/home/nils/Dev/navidrome_client/build/Desktop-Debug/.qt/rcc/appnavidrome_client_raw_qml_0.qrc

View File

@@ -0,0 +1,6 @@
<RCC>
<qresource prefix="/navidrome_client/">
<file alias="Main.qml">/home/nils/Dev/navidrome_client/Main.qml</file>
</qresource>
</RCC>

View File

@@ -0,0 +1,6 @@
<RCC>
<qresource prefix="/navidrome_client">
<file alias="qmldir">/home/nils/Dev/navidrome_client/build/Desktop-Debug/navidrome_client/qmldir</file>
</qresource>
</RCC>

View File

@@ -0,0 +1,140 @@
/****************************************************************************
** Resource object code
**
** Created by: The Resource Compiler for Qt version 6.10.1
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#ifdef _MSC_VER
// disable informational message "function ... selected for automatic inline expansion"
#pragma warning (disable: 4711)
#endif
static const unsigned char qt_resource_data[] = {
// Main.qml
0x0,0x0,0x2,0x23,
0x69,
0x6d,0x70,0x6f,0x72,0x74,0x20,0x51,0x74,0x51,0x75,0x69,0x63,0x6b,0xa,0x69,0x6d,
0x70,0x6f,0x72,0x74,0x20,0x51,0x74,0x51,0x75,0x69,0x63,0x6b,0x2e,0x43,0x6f,0x6e,
0x74,0x72,0x6f,0x6c,0x73,0xa,0xa,0x57,0x69,0x6e,0x64,0x6f,0x77,0x20,0x7b,0xa,
0x20,0x20,0x20,0x20,0x77,0x69,0x64,0x74,0x68,0x3a,0x20,0x36,0x34,0x30,0xa,0x20,
0x20,0x20,0x20,0x68,0x65,0x69,0x67,0x68,0x74,0x3a,0x20,0x34,0x38,0x30,0xa,0x20,
0x20,0x20,0x20,0x76,0x69,0x73,0x69,0x62,0x6c,0x65,0x3a,0x20,0x74,0x72,0x75,0x65,
0xa,0x20,0x20,0x20,0x20,0x74,0x69,0x74,0x6c,0x65,0x3a,0x20,0x71,0x73,0x54,0x72,
0x28,0x22,0x4d,0x65,0x69,0x6e,0x20,0x4e,0x61,0x76,0x69,0x64,0x72,0x6f,0x6d,0x65,
0x20,0x43,0x6c,0x69,0x65,0x6e,0x74,0x22,0x29,0xa,0xa,0x20,0x20,0x20,0x20,0x43,
0x6f,0x6c,0x75,0x6d,0x6e,0x20,0x7b,0xa,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x61,0x6e,0x63,0x68,0x6f,0x72,0x73,0x2e,0x63,0x65,0x6e,0x74,0x65,0x72,0x49,0x6e,
0x3a,0x20,0x70,0x61,0x72,0x65,0x6e,0x74,0xa,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x73,0x70,0x61,0x63,0x69,0x6e,0x67,0x3a,0x20,0x32,0x30,0xa,0xa,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x54,0x65,0x78,0x74,0x20,0x7b,0xa,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x74,0x65,0x78,0x74,0x3a,0x20,0x22,
0x48,0x61,0x6c,0x6c,0x6f,0x20,0x4e,0x61,0x76,0x69,0x64,0x72,0x6f,0x6d,0x65,0x21,
0x22,0xa,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x66,0x6f,
0x6e,0x74,0x2e,0x70,0x69,0x78,0x65,0x6c,0x53,0x69,0x7a,0x65,0x3a,0x20,0x32,0x34,
0xa,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x61,0x6e,0x63,
0x68,0x6f,0x72,0x73,0x2e,0x68,0x6f,0x72,0x69,0x7a,0x6f,0x6e,0x74,0x61,0x6c,0x43,
0x65,0x6e,0x74,0x65,0x72,0x3a,0x20,0x70,0x61,0x72,0x65,0x6e,0x74,0x2e,0x68,0x6f,
0x72,0x69,0x7a,0x6f,0x6e,0x74,0x61,0x6c,0x43,0x65,0x6e,0x74,0x65,0x72,0xa,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0xa,0xa,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x42,0x75,0x74,0x74,0x6f,0x6e,0x20,0x7b,0xa,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x74,0x65,0x78,0x74,0x3a,0x20,0x22,0x4b,0x6c,
0x69,0x63,0x6b,0x20,0x6d,0x69,0x63,0x68,0x22,0xa,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x20,0x20,0x61,0x6e,0x63,0x68,0x6f,0x72,0x73,0x2e,0x68,0x6f,
0x72,0x69,0x7a,0x6f,0x6e,0x74,0x61,0x6c,0x43,0x65,0x6e,0x74,0x65,0x72,0x3a,0x20,
0x70,0x61,0x72,0x65,0x6e,0x74,0x2e,0x68,0x6f,0x72,0x69,0x7a,0x6f,0x6e,0x74,0x61,
0x6c,0x43,0x65,0x6e,0x74,0x65,0x72,0xa,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x20,0x20,0x6f,0x6e,0x43,0x6c,0x69,0x63,0x6b,0x65,0x64,0x3a,0x20,0x63,
0x6f,0x6e,0x73,0x6f,0x6c,0x65,0x2e,0x6c,0x6f,0x67,0x28,0x22,0x42,0x75,0x74,0x74,
0x6f,0x6e,0x20,0x67,0x65,0x64,0x72,0xc3,0xbc,0x63,0x6b,0x74,0x21,0x22,0x29,0xa,
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x7d,0xa,0x20,0x20,0x20,0x20,0x7d,0xa,
0x7d,0xa,
};
static const unsigned char qt_resource_name[] = {
// navidrome_client
0x0,0x10,
0xb,0xd,0x20,0x14,
0x0,0x6e,
0x0,0x61,0x0,0x76,0x0,0x69,0x0,0x64,0x0,0x72,0x0,0x6f,0x0,0x6d,0x0,0x65,0x0,0x5f,0x0,0x63,0x0,0x6c,0x0,0x69,0x0,0x65,0x0,0x6e,0x0,0x74,
// Main.qml
0x0,0x8,
0x8,0x1,0x5e,0x5c,
0x0,0x4d,
0x0,0x61,0x0,0x69,0x0,0x6e,0x0,0x2e,0x0,0x71,0x0,0x6d,0x0,0x6c,
};
static const unsigned char qt_resource_struct[] = {
// :
0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x1,
0x0,0x0,0x0,0x49,0x77,0x38,0x70,0x0,
// :/navidrome_client
0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x2,
0x0,0x0,0x0,0x49,0x77,0x38,0x70,0x0,
// :/navidrome_client/Main.qml
0x0,0x0,0x0,0x26,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x49,0x77,0x38,0x70,0x0,
};
#ifdef QT_NAMESPACE
# define QT_RCC_PREPEND_NAMESPACE(name) ::QT_NAMESPACE::name
# define QT_RCC_MANGLE_NAMESPACE0(x) x
# define QT_RCC_MANGLE_NAMESPACE1(a, b) a##_##b
# define QT_RCC_MANGLE_NAMESPACE2(a, b) QT_RCC_MANGLE_NAMESPACE1(a,b)
# define QT_RCC_MANGLE_NAMESPACE(name) QT_RCC_MANGLE_NAMESPACE2( \
QT_RCC_MANGLE_NAMESPACE0(name), QT_RCC_MANGLE_NAMESPACE0(QT_NAMESPACE))
#else
# define QT_RCC_PREPEND_NAMESPACE(name) name
# define QT_RCC_MANGLE_NAMESPACE(name) name
#endif
#if defined(QT_INLINE_NAMESPACE)
inline namespace QT_NAMESPACE {
#elif defined(QT_NAMESPACE)
namespace QT_NAMESPACE {
#endif
bool qRegisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *);
bool qUnregisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *);
#ifdef QT_NAMESPACE
}
#endif
int QT_RCC_MANGLE_NAMESPACE(qInitResources_appnavidrome_client_raw_qml_0)();
int QT_RCC_MANGLE_NAMESPACE(qInitResources_appnavidrome_client_raw_qml_0)()
{
int version = 3;
QT_RCC_PREPEND_NAMESPACE(qRegisterResourceData)
(version, qt_resource_struct, qt_resource_name, qt_resource_data);
return 1;
}
int QT_RCC_MANGLE_NAMESPACE(qCleanupResources_appnavidrome_client_raw_qml_0)();
int QT_RCC_MANGLE_NAMESPACE(qCleanupResources_appnavidrome_client_raw_qml_0)()
{
int version = 3;
QT_RCC_PREPEND_NAMESPACE(qUnregisterResourceData)
(version, qt_resource_struct, qt_resource_name, qt_resource_data);
return 1;
}
#ifdef __clang__
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wexit-time-destructors"
#endif
namespace {
struct initializer {
initializer() { QT_RCC_MANGLE_NAMESPACE(qInitResources_appnavidrome_client_raw_qml_0)(); }
~initializer() { QT_RCC_MANGLE_NAMESPACE(qCleanupResources_appnavidrome_client_raw_qml_0)(); }
} dummy;
}
#ifdef __clang__
# pragma clang diagnostic pop
#endif

View File

@@ -0,0 +1,113 @@
/****************************************************************************
** Resource object code
**
** Created by: The Resource Compiler for Qt version 6.10.1
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#ifdef _MSC_VER
// disable informational message "function ... selected for automatic inline expansion"
#pragma warning (disable: 4711)
#endif
static const unsigned char qt_resource_data[] = {
// qmldir
0x0,0x0,0x0,0x7c,
0x6d,
0x6f,0x64,0x75,0x6c,0x65,0x20,0x6e,0x61,0x76,0x69,0x64,0x72,0x6f,0x6d,0x65,0x5f,
0x63,0x6c,0x69,0x65,0x6e,0x74,0xa,0x74,0x79,0x70,0x65,0x69,0x6e,0x66,0x6f,0x20,
0x61,0x70,0x70,0x6e,0x61,0x76,0x69,0x64,0x72,0x6f,0x6d,0x65,0x5f,0x63,0x6c,0x69,
0x65,0x6e,0x74,0x2e,0x71,0x6d,0x6c,0x74,0x79,0x70,0x65,0x73,0xa,0x70,0x72,0x65,
0x66,0x65,0x72,0x20,0x3a,0x2f,0x6e,0x61,0x76,0x69,0x64,0x72,0x6f,0x6d,0x65,0x5f,
0x63,0x6c,0x69,0x65,0x6e,0x74,0x2f,0xa,0x4d,0x61,0x69,0x6e,0x20,0x31,0x2e,0x30,
0x20,0x4d,0x61,0x69,0x6e,0x2e,0x71,0x6d,0x6c,0xa,0x64,0x65,0x70,0x65,0x6e,0x64,
0x73,0x20,0x51,0x74,0x51,0x75,0x69,0x63,0x6b,0xa,0xa,
};
static const unsigned char qt_resource_name[] = {
// navidrome_client
0x0,0x10,
0xb,0xd,0x20,0x14,
0x0,0x6e,
0x0,0x61,0x0,0x76,0x0,0x69,0x0,0x64,0x0,0x72,0x0,0x6f,0x0,0x6d,0x0,0x65,0x0,0x5f,0x0,0x63,0x0,0x6c,0x0,0x69,0x0,0x65,0x0,0x6e,0x0,0x74,
// qmldir
0x0,0x6,
0x7,0x84,0x2b,0x2,
0x0,0x71,
0x0,0x6d,0x0,0x6c,0x0,0x64,0x0,0x69,0x0,0x72,
};
static const unsigned char qt_resource_struct[] = {
// :
0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x1,
0x0,0x0,0x0,0x49,0x77,0x38,0x70,0x0,
// :/navidrome_client
0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x2,
0x0,0x0,0x0,0x49,0x77,0x38,0x70,0x0,
// :/navidrome_client/qmldir
0x0,0x0,0x0,0x26,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x49,0x77,0x38,0x70,0x0,
};
#ifdef QT_NAMESPACE
# define QT_RCC_PREPEND_NAMESPACE(name) ::QT_NAMESPACE::name
# define QT_RCC_MANGLE_NAMESPACE0(x) x
# define QT_RCC_MANGLE_NAMESPACE1(a, b) a##_##b
# define QT_RCC_MANGLE_NAMESPACE2(a, b) QT_RCC_MANGLE_NAMESPACE1(a,b)
# define QT_RCC_MANGLE_NAMESPACE(name) QT_RCC_MANGLE_NAMESPACE2( \
QT_RCC_MANGLE_NAMESPACE0(name), QT_RCC_MANGLE_NAMESPACE0(QT_NAMESPACE))
#else
# define QT_RCC_PREPEND_NAMESPACE(name) name
# define QT_RCC_MANGLE_NAMESPACE(name) name
#endif
#if defined(QT_INLINE_NAMESPACE)
inline namespace QT_NAMESPACE {
#elif defined(QT_NAMESPACE)
namespace QT_NAMESPACE {
#endif
bool qRegisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *);
bool qUnregisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *);
#ifdef QT_NAMESPACE
}
#endif
int QT_RCC_MANGLE_NAMESPACE(qInitResources_qmake_navidrome_client)();
int QT_RCC_MANGLE_NAMESPACE(qInitResources_qmake_navidrome_client)()
{
int version = 3;
QT_RCC_PREPEND_NAMESPACE(qRegisterResourceData)
(version, qt_resource_struct, qt_resource_name, qt_resource_data);
return 1;
}
int QT_RCC_MANGLE_NAMESPACE(qCleanupResources_qmake_navidrome_client)();
int QT_RCC_MANGLE_NAMESPACE(qCleanupResources_qmake_navidrome_client)()
{
int version = 3;
QT_RCC_PREPEND_NAMESPACE(qUnregisterResourceData)
(version, qt_resource_struct, qt_resource_name, qt_resource_data);
return 1;
}
#ifdef __clang__
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wexit-time-destructors"
#endif
namespace {
struct initializer {
initializer() { QT_RCC_MANGLE_NAMESPACE(qInitResources_qmake_navidrome_client)(); }
~initializer() { QT_RCC_MANGLE_NAMESPACE(qCleanupResources_qmake_navidrome_client)(); }
} dummy;
}
#ifdef __clang__
# pragma clang diagnostic pop
#endif

View File

@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2019 JFrog
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1,405 @@
#
# Internal Qt Creator variable reference
#
foreach(qtcreator_var
QT_QMAKE_EXECUTABLE CMAKE_PREFIX_PATH CMAKE_C_COMPILER CMAKE_CXX_COMPILER
CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELWITHDEBINFO)
set(__just_reference_${qtcreator_var} ${${qtcreator_var}})
endforeach()
option(QT_CREATOR_SOURCE_GROUPS "Qt Creator source groups extensions" ON)
if (QT_CREATOR_SOURCE_GROUPS)
source_group("Resources" REGULAR_EXPRESSION "\\.(pdf|plist|png|jpeg|jpg|storyboard|xcassets|qrc|svg|gif|ico|webp)$")
source_group("Forms" REGULAR_EXPRESSION "\\.(ui)$")
source_group("State charts" REGULAR_EXPRESSION "\\.(scxml)$")
source_group("Source Files" REGULAR_EXPRESSION
"\\.(C|F|M|c|c\\+\\+|cc|cpp|mpp|cxx|ixx|cppm|ccm|cxxm|c\\+\\+m|cu|f|f90|for|fpp|ftn|m|mm|rc|def|r|odl|idl|hpj|bat|qml|js)$"
)
endif()
#
# Set a better default value for CMAKE_INSTALL_PREFIX
#
function(qtc_modify_default_install_prefix)
# If at configure time the user didn't specify a CMAKE_INSTALL_PREFIX variable
# Modules/CMakeGenericSystem.cmake will set a default value
# to CMAKE_INSTALL_PREFIX and set CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT to ON
# In practice there are cases when CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT is
# set to ON and a custom CMAKE_INSTALL_PREFIX is set
# Do the original CMAKE_INSTALL_PREFIX detection
if(CMAKE_HOST_UNIX)
set(original_cmake_install_prefix "/usr/local")
else()
GetDefaultWindowsPrefixBase(CMAKE_GENERIC_PROGRAM_FILES)
set(original_cmake_install_prefix
"${CMAKE_GENERIC_PROGRAM_FILES}/${PROJECT_NAME}")
unset(CMAKE_GENERIC_PROGRAM_FILES)
endif()
# When the user code didn't modify the CMake set CMAKE_INSTALL_PREFIX
# then set the "/tmp" better value for CMAKE_INSTALL_PREFIX
if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT AND
CMAKE_INSTALL_PREFIX STREQUAL "${original_cmake_install_prefix}")
set_property(CACHE CMAKE_INSTALL_PREFIX PROPERTY VALUE "/tmp")
endif()
endfunction()
if (CMAKE_VERSION GREATER_EQUAL "3.19")
cmake_language(DEFER CALL qtc_modify_default_install_prefix)
endif()
if (EXISTS "${CMAKE_SOURCE_DIR}/QtCreatorPackageManager.cmake")
include("${CMAKE_SOURCE_DIR}/QtCreatorPackageManager.cmake")
endif()
if (QT_CREATOR_SKIP_PACKAGE_MANAGER_SETUP)
return()
endif()
option(QT_CREATOR_SKIP_PACKAGE_MANAGER_SETUP "Skip Qt Creator's package manager auto-setup" OFF)
# Store the C/C++ object output extension
if (CMAKE_VERSION GREATER_EQUAL "3.19")
cmake_language(DEFER CALL set CMAKE_C_OUTPUT_EXTENSION "${CMAKE_C_OUTPUT_EXTENSION}" CACHE STRING "" FORCE)
cmake_language(DEFER CALL set CMAKE_CXX_OUTPUT_EXTENSION "${CMAKE_CXX_OUTPUT_EXTENSION}" CACHE STRING "" FORCE)
endif()
macro(qtc_auto_setup_compiler_standard toolchainFile)
foreach(lang_var C CXX CUDA OBJC OBJCXX)
foreach(prop_var STANDARD STANDARD_REQUIRED EXTENSIONS)
if (CMAKE_${lang_var}_${prop_var})
file(APPEND "${toolchainFile}"
"set(CMAKE_${lang_var}_${prop_var} ${CMAKE_${lang_var}_${prop_var}})\n")
endif()
endforeach()
endforeach()
# Forward important CMake variables to the package manager in the toolchain file
foreach(fwd_var CMAKE_MSVC_RUNTIME_LIBRARY CMAKE_SYSROOT CMAKE_OSX_SYSROOT CMAKE_OSX_ARCHITECTURES)
if (${fwd_var})
file(APPEND "${toolchainFile}"
"set(${fwd_var} ${${fwd_var}})\n")
endif()
endforeach()
endmacro()
#
# conan
#
macro(qtc_auto_setup_conan)
foreach(file conanfile.txt conanfile.py)
if (EXISTS "${CMAKE_SOURCE_DIR}/${file}")
set(conanfile_txt "${CMAKE_SOURCE_DIR}/${file}")
break()
endif()
endforeach()
if (conanfile_txt AND NOT QT_CREATOR_SKIP_CONAN_SETUP)
option(QT_CREATOR_SKIP_CONAN_SETUP "Skip Qt Creator's conan package manager auto-setup" OFF)
set(QT_CREATOR_CONAN_BUILD_POLICY "missing" CACHE STRING "Qt Creator's conan package manager auto-setup build policy. This is used for the BUILD property of cmake_conan_run")
set_property(
DIRECTORY "${CMAKE_SOURCE_DIR}"
APPEND
PROPERTY CMAKE_CONFIGURE_DEPENDS "${conanfile_txt}")
find_program(conan_program conan)
if (NOT conan_program)
message(WARNING "Qt Creator: conan executable not found. "
"Package manager auto-setup will be skipped. "
"To disable this warning set QT_CREATOR_SKIP_CONAN_SETUP to ON.")
return()
endif()
execute_process(COMMAND ${conan_program} --version
RESULT_VARIABLE result_code
OUTPUT_VARIABLE conan_version_output
ERROR_VARIABLE conan_version_output)
if (NOT result_code EQUAL 0)
message(FATAL_ERROR "conan --version failed='${result_code}: ${conan_version_output}")
endif()
string(REGEX REPLACE ".*Conan version ([0-9].[0-9]).*" "\\1" conan_version "${conan_version_output}")
set(conanfile_timestamp_file "${CMAKE_BINARY_DIR}/conan-dependencies/conanfile.timestamp")
file(TIMESTAMP "${conanfile_txt}" conanfile_timestamp)
set(do_conan_installation ON)
if (EXISTS "${conanfile_timestamp_file}")
file(READ "${conanfile_timestamp_file}" old_conanfile_timestamp)
if ("${conanfile_timestamp}" STREQUAL "${old_conanfile_timestamp}")
set(do_conan_installation OFF)
endif()
endif()
set(conanfile_build_policy_file "${CMAKE_BINARY_DIR}/conan-dependencies/conanfile.buildpolicy")
if (EXISTS "${conanfile_build_policy_file}")
file(READ "${conanfile_build_policy_file}" build_policy)
if (NOT "${build_policy}" STREQUAL "${QT_CREATOR_CONAN_BUILD_POLICY}")
set(do_conan_installation ON)
endif()
endif()
if (do_conan_installation)
message(STATUS "Qt Creator: conan package manager auto-setup. "
"Skip this step by setting QT_CREATOR_SKIP_CONAN_SETUP to ON.")
file(COPY "${conanfile_txt}" DESTINATION "${CMAKE_BINARY_DIR}/conan-dependencies/")
# conanfile should have a generator specified, when both file and conan_install
# specifcy the CMakeDeps generator, conan_install will issue an error
file(READ "${conanfile_txt}" conanfile_text_content)
unset(conan_generator)
if (NOT "${conanfile_text_content}" MATCHES ".*CMakeDeps.*")
set(conan_generator "-g CMakeDeps")
endif()
file(WRITE "${CMAKE_BINARY_DIR}/conan-dependencies/toolchain.cmake" "
set(CMAKE_C_COMPILER \"${CMAKE_C_COMPILER}\")
set(CMAKE_CXX_COMPILER \"${CMAKE_CXX_COMPILER}\")
")
qtc_auto_setup_compiler_standard("${CMAKE_BINARY_DIR}/conan-dependencies/toolchain.cmake")
if (CMAKE_TOOLCHAIN_FILE)
file(APPEND "${CMAKE_BINARY_DIR}/conan-dependencies/toolchain.cmake"
"include(\"${CMAKE_TOOLCHAIN_FILE}\")\n")
endif()
file(WRITE "${CMAKE_BINARY_DIR}/conan-dependencies/CMakeLists.txt" "
cmake_minimum_required(VERSION 3.15)
unset(CMAKE_PROJECT_INCLUDE_BEFORE CACHE)
project(conan-setup)
if (${conan_version} VERSION_GREATER_EQUAL 2.0)
set(CONAN_COMMAND \"${conan_program}\")
include(\"${CMAKE_CURRENT_LIST_DIR}/conan_provider.cmake\")
conan_profile_detect_default()
detect_host_profile(\"${CMAKE_BINARY_DIR}/conan-dependencies/conan_host_profile\")
set(build_types \${CMAKE_BUILD_TYPE})
if (CMAKE_CONFIGURATION_TYPES)
set(build_types \${CMAKE_CONFIGURATION_TYPES})
endif()
foreach(type \${build_types})
conan_install(
-pr \"${CMAKE_BINARY_DIR}/conan-dependencies/conan_host_profile\"
--build=${QT_CREATOR_CONAN_BUILD_POLICY}
-s build_type=\${type}
${conan_generator})
endforeach()
get_property(CONAN_INSTALL_SUCCESS GLOBAL PROPERTY CONAN_INSTALL_SUCCESS)
if (CONAN_INSTALL_SUCCESS)
get_property(CONAN_GENERATORS_FOLDER GLOBAL PROPERTY CONAN_GENERATORS_FOLDER)
file(TO_CMAKE_PATH \"\${CONAN_GENERATORS_FOLDER}\" CONAN_GENERATORS_FOLDER)
file(WRITE \"${CMAKE_BINARY_DIR}/conan-dependencies/conan_paths.cmake\" \"
list(PREPEND CMAKE_PREFIX_PATH \\\"\${CONAN_GENERATORS_FOLDER}\\\")
list(PREPEND CMAKE_MODULE_PATH \\\"\${CONAN_GENERATORS_FOLDER}\\\")
list(PREPEND CMAKE_FIND_ROOT_PATH \\\"\${CONAN_GENERATORS_FOLDER}\\\")
list(REMOVE_DUPLICATES CMAKE_PREFIX_PATH)
list(REMOVE_DUPLICATES CMAKE_MODULE_PATH)
list(REMOVE_DUPLICATES CMAKE_FIND_ROOT_PATH)
set(CMAKE_PREFIX_PATH \\\"\\\${CMAKE_PREFIX_PATH}\\\" CACHE STRING \\\"\\\" FORCE)
set(CMAKE_MODULE_PATH \\\"\\\${CMAKE_MODULE_PATH}\\\" CACHE STRING \\\"\\\" FORCE)
set(CMAKE_FIND_ROOT_PATH \\\"\\\${CMAKE_FIND_ROOT_PATH}\\\" CACHE STRING \\\"\\\" FORCE)
\")
endif()
else()
include(\"${CMAKE_CURRENT_LIST_DIR}/conan.cmake\")
conan_cmake_run(
CONANFILE \"${conanfile_txt}\"
INSTALL_FOLDER \"${CMAKE_BINARY_DIR}/conan-dependencies\"
GENERATORS cmake_paths cmake_find_package json
BUILD ${QT_CREATOR_CONAN_BUILD_POLICY}
ENV CONAN_CMAKE_TOOLCHAIN_FILE=\"${CMAKE_BINARY_DIR}/conan-dependencies/toolchain.cmake\"
)
endif()
")
if (NOT DEFINED CMAKE_BUILD_TYPE AND NOT DEFINED CMAKE_CONFIGURATION_TYPES)
set(CMAKE_CONFIGURATION_TYPES "Debug;Release")
endif()
execute_process(COMMAND ${CMAKE_COMMAND}
-S "${CMAKE_BINARY_DIR}/conan-dependencies/"
-B "${CMAKE_BINARY_DIR}/conan-dependencies/build"
-C "${CMAKE_BINARY_DIR}/qtcsettings.cmake"
-D "CMAKE_TOOLCHAIN_FILE=${CMAKE_BINARY_DIR}/conan-dependencies/toolchain.cmake"
-G ${CMAKE_GENERATOR}
-D CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-D "CMAKE_CONFIGURATION_TYPES=${CMAKE_CONFIGURATION_TYPES}"
RESULT_VARIABLE result
)
if (result EQUAL 0)
file(WRITE "${conanfile_timestamp_file}" "${conanfile_timestamp}")
file(WRITE "${conanfile_build_policy_file}" ${QT_CREATOR_CONAN_BUILD_POLICY})
else()
message(WARNING "Qt Creator's conan package manager auto-setup failed. Consider setting "
"QT_CREATOR_SKIP_CONAN_SETUP to ON and reconfigure to skip this step.")
return()
endif()
endif()
include("${CMAKE_BINARY_DIR}/conan-dependencies/conan_paths.cmake")
endif()
unset(conanfile_txt)
endmacro()
qtc_auto_setup_conan()
#
# vcpkg
#
macro(qtc_auto_setup_vcpkg)
if (EXISTS "${CMAKE_SOURCE_DIR}/vcpkg.json" AND NOT QT_CREATOR_SKIP_VCPKG_SETUP)
option(QT_CREATOR_SKIP_VCPKG_SETUP "Skip Qt Creator's vcpkg package manager auto-setup" OFF)
set_property(
DIRECTORY "${CMAKE_SOURCE_DIR}"
APPEND
PROPERTY CMAKE_CONFIGURE_DEPENDS "${CMAKE_SOURCE_DIR}/vcpkg.json")
find_program(vcpkg_program vcpkg
PATHS ${CMAKE_SOURCE_DIR}/vcpkg ${CMAKE_SOURCE_DIR}/3rdparty/vcpkg $ENV{VCPKG_ROOT}
NO_DEFAULT_PATH
)
if (NOT vcpkg_program)
message(WARNING "Qt Creator: vcpkg executable not found. "
"Package manager auto-setup will be skipped. "
"To disable this warning set QT_CREATOR_SKIP_VCPKG_SETUP to ON.")
return()
endif()
execute_process(COMMAND ${vcpkg_program} version
RESULT_VARIABLE result_code
OUTPUT_VARIABLE vcpkg_version_output
ERROR_VARIABLE vcpkg_version_output)
if (NOT result_code EQUAL 0)
message(FATAL_ERROR "vcpkg version failed='${result_code}: ${vcpkg_version_output}")
endif()
# Resolve any symlinks
get_filename_component(vpkg_program_real_path ${vcpkg_program} REALPATH)
get_filename_component(vpkg_root ${vpkg_program_real_path} DIRECTORY)
if (NOT EXISTS "${CMAKE_BINARY_DIR}/vcpkg-dependencies/toolchain.cmake")
message(STATUS "Qt Creator: vcpkg package manager auto-setup. "
"Skip this step by setting QT_CREATOR_SKIP_VCPKG_SETUP to ON.")
file(WRITE "${CMAKE_BINARY_DIR}/vcpkg-dependencies/toolchain.cmake" "
set(CMAKE_C_COMPILER \"${CMAKE_C_COMPILER}\")
set(CMAKE_CXX_COMPILER \"${CMAKE_CXX_COMPILER}\")
")
qtc_auto_setup_compiler_standard("${CMAKE_BINARY_DIR}/vcpkg-dependencies/toolchain.cmake")
if (CMAKE_TOOLCHAIN_FILE AND NOT
CMAKE_TOOLCHAIN_FILE STREQUAL "${CMAKE_BINARY_DIR}/vcpkg-dependencies/toolchain.cmake")
file(APPEND "${CMAKE_BINARY_DIR}/vcpkg-dependencies/toolchain.cmake"
"include(\"${CMAKE_TOOLCHAIN_FILE}\")\n")
endif()
if (VCPKG_TARGET_TRIPLET)
set(vcpkg_triplet ${VCPKG_TARGET_TRIPLET})
else()
if (ANDROID_ABI)
if (ANDROID_ABI STREQUAL "armeabi-v7a")
set(vcpkg_triplet arm-neon-android)
elseif (ANDROID_ABI STREQUAL "arm64-v8a")
set(vcpkg_triplet arm64-android)
elseif (ANDROID_ABI STREQUAL "x86")
set(vcpkg_triplet x86-android)
elseif (ANDROID_ABI STREQUAL "x86_64")
set(vcpkg_triplet x64-android)
else()
message(FATAL_ERROR "Unsupported Android ABI: ${ANDROID_ABI}")
endif()
# Needed by vcpkg/scripts/toolchains/android.cmake
file(APPEND "${CMAKE_BINARY_DIR}/vcpkg-dependencies/toolchain.cmake" "
set(ENV{ANDROID_NDK_HOME} \"${ANDROID_NDK}\")
")
elseif (WIN32)
if ("$ENV{PROCESSOR_ARCHITECTURE}" STREQUAL "ARM64")
set(vcpkg_triplet arm64-mingw-static)
else()
set(vcpkg_triplet x64-mingw-static)
endif()
if (CMAKE_CXX_COMPILER MATCHES ".*/(.*)/cl.exe")
string(TOLOWER ${CMAKE_MATCH_1} host_arch_lowercase)
set(vcpkg_triplet ${host_arch_lowercase}-windows)
endif()
elseif(APPLE)
# We're too early to use CMAKE_HOST_SYSTEM_PROCESSOR
execute_process(
COMMAND uname -m
OUTPUT_VARIABLE __apple_host_system_processor
OUTPUT_STRIP_TRAILING_WHITESPACE)
if (__apple_host_system_processor MATCHES "arm64")
set(vcpkg_triplet arm64-osx)
else()
set(vcpkg_triplet x64-osx)
endif()
else()
# We're too early to use CMAKE_HOST_SYSTEM_PROCESSOR
execute_process(
COMMAND uname -m
OUTPUT_VARIABLE __linux_host_system_processor
OUTPUT_STRIP_TRAILING_WHITESPACE)
if (__linux_host_system_processor MATCHES "aarch64")
set(vcpkg_triplet arm64-linux)
else()
set(vcpkg_triplet x64-linux)
endif()
endif()
endif()
file(APPEND "${CMAKE_BINARY_DIR}/vcpkg-dependencies/toolchain.cmake" "
set(VCPKG_TARGET_TRIPLET ${vcpkg_triplet})
include(\"${vpkg_root}/scripts/buildsystems/vcpkg.cmake\")
")
endif()
set(CMAKE_TOOLCHAIN_FILE "${CMAKE_BINARY_DIR}/vcpkg-dependencies/toolchain.cmake" CACHE PATH "" FORCE)
# Save CMAKE_PREFIX_PATH and CMAKE_MODULE_PATH as cache variables
if (CMAKE_VERSION GREATER_EQUAL "3.19")
cmake_language(DEFER CALL list REMOVE_DUPLICATES CMAKE_PREFIX_PATH)
cmake_language(DEFER CALL list REMOVE_DUPLICATES CMAKE_MODULE_PATH)
cmake_language(DEFER CALL set CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH}" CACHE STRING "" FORCE)
cmake_language(DEFER CALL set CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" CACHE STRING "" FORCE)
endif()
endif()
endmacro()
qtc_auto_setup_vcpkg()
#
# MaintenanceTool
#
if (QT_CREATOR_SKIP_MAINTENANCE_TOOL_PROVIDER)
return()
endif()
option(QT_CREATOR_SKIP_MAINTENANCE_TOOL_PROVIDER
"Skip Qt Creator's MaintenanceTool find_package provider" OFF)
option(QT_CREATOR_MAINTENANCE_TOOL_PROVIDER_USE_CLI
"Use CLI mode for Qt Creator's MaintenanceTool find_package provider" OFF)
function(qtc_maintenance_provider_missing_variable_message variable)
message(STATUS "Qt Creator: ${variable} was not set. "
"Qt MaintenanceTool cannot be used to install missing Qt modules that you specify in find_package(). "
"To disable this message set QT_CREATOR_SKIP_MAINTENANCE_TOOL_PROVIDER to ON.")
endfunction()
if (NOT QT_MAINTENANCE_TOOL)
qtc_maintenance_provider_missing_variable_message(QT_MAINTENANCE_TOOL)
return()
endif()
if (NOT QT_QMAKE_EXECUTABLE)
qtc_maintenance_provider_missing_variable_message(QT_QMAKE_EXECUTABLE)
return()
endif()
if (CMAKE_VERSION GREATER_EQUAL "3.24")
list(APPEND CMAKE_PROJECT_TOP_LEVEL_INCLUDES ${CMAKE_CURRENT_LIST_DIR}/maintenance_tool_provider.cmake)
else()
message(WARNING "Qt Creator: CMake version 3.24 is needed for MaintenanceTool find_package() provider. "
"To disable this warning set QT_CREATOR_SKIP_MAINTENANCE_TOOL_PROVIDER to ON.")
endif()

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,657 @@
# https://github.com/conan-io/cmake-conan/blob/develop2/conan_provider.cmake
# commit: f6464d1e13ef7a47c569f5061f9607ea63339d39
#
# The MIT License (MIT)
#
# Copyright (c) 2019 JFrog
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
set(CONAN_MINIMUM_VERSION 2.0.5)
function(detect_os OS OS_API_LEVEL OS_SDK OS_SUBSYSTEM OS_VERSION)
# it could be cross compilation
message(STATUS "CMake-Conan: cmake_system_name=${CMAKE_SYSTEM_NAME}")
if(CMAKE_SYSTEM_NAME AND NOT CMAKE_SYSTEM_NAME STREQUAL "Generic")
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set(${OS} Macos PARENT_SCOPE)
elseif(CMAKE_SYSTEM_NAME STREQUAL "QNX")
set(${OS} Neutrino PARENT_SCOPE)
elseif(CMAKE_SYSTEM_NAME STREQUAL "CYGWIN")
set(${OS} Windows PARENT_SCOPE)
set(${OS_SUBSYSTEM} cygwin PARENT_SCOPE)
elseif(CMAKE_SYSTEM_NAME MATCHES "^MSYS")
set(${OS} Windows PARENT_SCOPE)
set(${OS_SUBSYSTEM} msys2 PARENT_SCOPE)
else()
set(${OS} ${CMAKE_SYSTEM_NAME} PARENT_SCOPE)
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "Android")
if(DEFINED ANDROID_PLATFORM)
string(REGEX MATCH "[0-9]+" _OS_API_LEVEL ${ANDROID_PLATFORM})
elseif(DEFINED CMAKE_SYSTEM_VERSION)
set(_OS_API_LEVEL ${CMAKE_SYSTEM_VERSION})
endif()
message(STATUS "CMake-Conan: android api level=${_OS_API_LEVEL}")
set(${OS_API_LEVEL} ${_OS_API_LEVEL} PARENT_SCOPE)
endif()
if(CMAKE_SYSTEM_NAME MATCHES "Darwin|iOS|tvOS|watchOS")
# CMAKE_OSX_SYSROOT contains the full path to the SDK for MakeFile/Ninja
# generators, but just has the original input string for Xcode.
if(NOT IS_DIRECTORY ${CMAKE_OSX_SYSROOT})
set(_OS_SDK ${CMAKE_OSX_SYSROOT})
else()
if(CMAKE_OSX_SYSROOT MATCHES Simulator)
set(apple_platform_suffix simulator)
else()
set(apple_platform_suffix os)
endif()
if(CMAKE_OSX_SYSROOT MATCHES AppleTV)
set(_OS_SDK "appletv${apple_platform_suffix}")
elseif(CMAKE_OSX_SYSROOT MATCHES iPhone)
set(_OS_SDK "iphone${apple_platform_suffix}")
elseif(CMAKE_OSX_SYSROOT MATCHES Watch)
set(_OS_SDK "watch${apple_platform_suffix}")
endif()
endif()
if(DEFINED _OS_SDK)
message(STATUS "CMake-Conan: cmake_osx_sysroot=${CMAKE_OSX_SYSROOT}")
set(${OS_SDK} ${_OS_SDK} PARENT_SCOPE)
endif()
if(DEFINED CMAKE_OSX_DEPLOYMENT_TARGET)
message(STATUS "CMake-Conan: cmake_osx_deployment_target=${CMAKE_OSX_DEPLOYMENT_TARGET}")
set(${OS_VERSION} ${CMAKE_OSX_DEPLOYMENT_TARGET} PARENT_SCOPE)
endif()
endif()
endif()
endfunction()
function(detect_arch ARCH)
# CMAKE_OSX_ARCHITECTURES can contain multiple architectures, but Conan only supports one.
# Therefore this code only finds one. If the recipes support multiple architectures, the
# build will work. Otherwise, there will be a linker error for the missing architecture(s).
if(DEFINED CMAKE_OSX_ARCHITECTURES)
string(REPLACE " " ";" apple_arch_list "${CMAKE_OSX_ARCHITECTURES}")
list(LENGTH apple_arch_list apple_arch_count)
if(apple_arch_count GREATER 1)
message(WARNING "CMake-Conan: Multiple architectures detected, this will only work if Conan recipe(s) produce fat binaries.")
endif()
endif()
if(CMAKE_SYSTEM_NAME MATCHES "Darwin|iOS|tvOS|watchOS" AND NOT CMAKE_OSX_ARCHITECTURES STREQUAL "")
set(host_arch ${CMAKE_OSX_ARCHITECTURES})
elseif(MSVC)
set(host_arch ${CMAKE_CXX_COMPILER_ARCHITECTURE_ID})
else()
set(host_arch ${CMAKE_SYSTEM_PROCESSOR})
endif()
if(host_arch MATCHES "aarch64|arm64|ARM64")
set(_ARCH armv8)
elseif(host_arch MATCHES "armv7|armv7-a|armv7l|ARMV7")
set(_ARCH armv7)
elseif(host_arch MATCHES armv7s)
set(_ARCH armv7s)
elseif(host_arch MATCHES "i686|i386|X86")
set(_ARCH x86)
elseif(host_arch MATCHES "AMD64|amd64|x86_64|x64")
set(_ARCH x86_64)
endif()
message(STATUS "CMake-Conan: cmake_system_processor=${_ARCH}")
set(${ARCH} ${_ARCH} PARENT_SCOPE)
endfunction()
function(detect_cxx_standard CXX_STANDARD)
set(${CXX_STANDARD} ${CMAKE_CXX_STANDARD} PARENT_SCOPE)
if(CMAKE_CXX_EXTENSIONS)
set(${CXX_STANDARD} "gnu${CMAKE_CXX_STANDARD}" PARENT_SCOPE)
endif()
endfunction()
macro(detect_gnu_libstdcxx)
# _CONAN_IS_GNU_LIBSTDCXX true if GNU libstdc++
check_cxx_source_compiles("
#include <cstddef>
#if !defined(__GLIBCXX__) && !defined(__GLIBCPP__)
static_assert(false);
#endif
int main(){}" _CONAN_IS_GNU_LIBSTDCXX)
# _CONAN_GNU_LIBSTDCXX_IS_CXX11_ABI true if C++11 ABI
check_cxx_source_compiles("
#include <string>
static_assert(sizeof(std::string) != sizeof(void*), \"using libstdc++\");
int main () {}" _CONAN_GNU_LIBSTDCXX_IS_CXX11_ABI)
set(_CONAN_GNU_LIBSTDCXX_SUFFIX "")
if(_CONAN_GNU_LIBSTDCXX_IS_CXX11_ABI)
set(_CONAN_GNU_LIBSTDCXX_SUFFIX "11")
endif()
unset (_CONAN_GNU_LIBSTDCXX_IS_CXX11_ABI)
endmacro()
macro(detect_libcxx)
# _CONAN_IS_LIBCXX true if LLVM libc++
check_cxx_source_compiles("
#include <cstddef>
#if !defined(_LIBCPP_VERSION)
static_assert(false);
#endif
int main(){}" _CONAN_IS_LIBCXX)
endmacro()
function(detect_lib_cxx LIB_CXX)
if(CMAKE_SYSTEM_NAME STREQUAL "Android")
message(STATUS "CMake-Conan: android_stl=${CMAKE_ANDROID_STL_TYPE}")
set(${LIB_CXX} ${CMAKE_ANDROID_STL_TYPE} PARENT_SCOPE)
return()
endif()
include(CheckCXXSourceCompiles)
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
detect_gnu_libstdcxx()
set(${LIB_CXX} "libstdc++${_CONAN_GNU_LIBSTDCXX_SUFFIX}" PARENT_SCOPE)
elseif(CMAKE_CXX_COMPILER_ID MATCHES "AppleClang")
set(${LIB_CXX} "libc++" PARENT_SCOPE)
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
# Check for libc++
detect_libcxx()
if(_CONAN_IS_LIBCXX)
set(${LIB_CXX} "libc++" PARENT_SCOPE)
return()
endif()
# Check for libstdc++
detect_gnu_libstdcxx()
if(_CONAN_IS_GNU_LIBSTDCXX)
set(${LIB_CXX} "libstdc++${_CONAN_GNU_LIBSTDCXX_SUFFIX}" PARENT_SCOPE)
return()
endif()
# TODO: it would be an error if we reach this point
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
# Do nothing - compiler.runtime and compiler.runtime_type
# should be handled separately: https://github.com/conan-io/cmake-conan/pull/516
return()
else()
# TODO: unable to determine, ask user to provide a full profile file instead
endif()
endfunction()
function(detect_compiler COMPILER COMPILER_VERSION COMPILER_RUNTIME COMPILER_RUNTIME_TYPE)
if(DEFINED CMAKE_CXX_COMPILER_ID)
set(_COMPILER ${CMAKE_CXX_COMPILER_ID})
set(_COMPILER_VERSION ${CMAKE_CXX_COMPILER_VERSION})
else()
if(NOT DEFINED CMAKE_C_COMPILER_ID)
message(FATAL_ERROR "C or C++ compiler not defined")
endif()
set(_COMPILER ${CMAKE_C_COMPILER_ID})
set(_COMPILER_VERSION ${CMAKE_C_COMPILER_VERSION})
endif()
message(STATUS "CMake-Conan: CMake compiler=${_COMPILER}")
message(STATUS "CMake-Conan: CMake compiler version=${_COMPILER_VERSION}")
if(_COMPILER MATCHES MSVC)
set(_COMPILER "msvc")
string(SUBSTRING ${MSVC_VERSION} 0 3 _COMPILER_VERSION)
# Configure compiler.runtime and compiler.runtime_type settings for MSVC
if(CMAKE_MSVC_RUNTIME_LIBRARY)
set(_msvc_runtime_library ${CMAKE_MSVC_RUNTIME_LIBRARY})
else()
set(_msvc_runtime_library MultiThreaded$<$<CONFIG:Debug>:Debug>DLL) # default value documented by CMake
endif()
set(_KNOWN_MSVC_RUNTIME_VALUES "")
list(APPEND _KNOWN_MSVC_RUNTIME_VALUES MultiThreaded MultiThreadedDLL)
list(APPEND _KNOWN_MSVC_RUNTIME_VALUES MultiThreadedDebug MultiThreadedDebugDLL)
list(APPEND _KNOWN_MSVC_RUNTIME_VALUES MultiThreaded$<$<CONFIG:Debug>:Debug> MultiThreaded$<$<CONFIG:Debug>:Debug>DLL)
# only accept the 6 possible values, otherwise we don't don't know to map this
if(NOT _msvc_runtime_library IN_LIST _KNOWN_MSVC_RUNTIME_VALUES)
message(FATAL_ERROR "CMake-Conan: unable to map MSVC runtime: ${_msvc_runtime_library} to Conan settings")
endif()
# Runtime is "dynamic" in all cases if it ends in DLL
if(_msvc_runtime_library MATCHES ".*DLL$")
set(_COMPILER_RUNTIME "dynamic")
else()
set(_COMPILER_RUNTIME "static")
endif()
message(STATUS "CMake-Conan: CMake compiler.runtime=${_COMPILER_RUNTIME}")
# Only define compiler.runtime_type when explicitly requested
# If a generator expression is used, let Conan handle it conditional on build_type
if(NOT _msvc_runtime_library MATCHES "<CONFIG:Debug>:Debug>")
if(_msvc_runtime_library MATCHES "Debug")
set(_COMPILER_RUNTIME_TYPE "Debug")
else()
set(_COMPILER_RUNTIME_TYPE "Release")
endif()
message(STATUS "CMake-Conan: CMake compiler.runtime_type=${_COMPILER_RUNTIME_TYPE}")
endif()
unset(_KNOWN_MSVC_RUNTIME_VALUES)
elseif(_COMPILER MATCHES AppleClang)
set(_COMPILER "apple-clang")
string(REPLACE "." ";" VERSION_LIST ${CMAKE_CXX_COMPILER_VERSION})
list(GET VERSION_LIST 0 _COMPILER_VERSION)
elseif(_COMPILER MATCHES Clang)
set(_COMPILER "clang")
string(REPLACE "." ";" VERSION_LIST ${CMAKE_CXX_COMPILER_VERSION})
list(GET VERSION_LIST 0 _COMPILER_VERSION)
elseif(_COMPILER MATCHES GNU)
set(_COMPILER "gcc")
string(REPLACE "." ";" VERSION_LIST ${CMAKE_CXX_COMPILER_VERSION})
list(GET VERSION_LIST 0 _COMPILER_VERSION)
endif()
message(STATUS "CMake-Conan: [settings] compiler=${_COMPILER}")
message(STATUS "CMake-Conan: [settings] compiler.version=${_COMPILER_VERSION}")
if (_COMPILER_RUNTIME)
message(STATUS "CMake-Conan: [settings] compiler.runtime=${_COMPILER_RUNTIME}")
endif()
if (_COMPILER_RUNTIME_TYPE)
message(STATUS "CMake-Conan: [settings] compiler.runtime_type=${_COMPILER_RUNTIME_TYPE}")
endif()
set(${COMPILER} ${_COMPILER} PARENT_SCOPE)
set(${COMPILER_VERSION} ${_COMPILER_VERSION} PARENT_SCOPE)
set(${COMPILER_RUNTIME} ${_COMPILER_RUNTIME} PARENT_SCOPE)
set(${COMPILER_RUNTIME_TYPE} ${_COMPILER_RUNTIME_TYPE} PARENT_SCOPE)
endfunction()
function(detect_build_type BUILD_TYPE)
get_property(_MULTICONFIG_GENERATOR GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
if(NOT _MULTICONFIG_GENERATOR)
# Only set when we know we are in a single-configuration generator
# Note: we may want to fail early if `CMAKE_BUILD_TYPE` is not defined
set(${BUILD_TYPE} ${CMAKE_BUILD_TYPE} PARENT_SCOPE)
endif()
endfunction()
macro(set_conan_compiler_if_appleclang lang command output_variable)
if(CMAKE_${lang}_COMPILER_ID STREQUAL "AppleClang")
execute_process(COMMAND xcrun --find ${command}
OUTPUT_VARIABLE _xcrun_out OUTPUT_STRIP_TRAILING_WHITESPACE)
cmake_path(GET _xcrun_out PARENT_PATH _xcrun_toolchain_path)
cmake_path(GET CMAKE_${lang}_COMPILER PARENT_PATH _compiler_parent_path)
if ("${_xcrun_toolchain_path}" STREQUAL "${_compiler_parent_path}")
set(${output_variable} "")
endif()
unset(_xcrun_out)
unset(_xcrun_toolchain_path)
unset(_compiler_parent_path)
endif()
endmacro()
macro(append_compiler_executables_configuration)
set(_conan_c_compiler "")
set(_conan_cpp_compiler "")
if(CMAKE_C_COMPILER)
set(_conan_c_compiler "\"c\":\"${CMAKE_C_COMPILER}\",")
set_conan_compiler_if_appleclang(C cc _conan_c_compiler)
else()
message(WARNING "CMake-Conan: The C compiler is not defined. "
"Please define CMAKE_C_COMPILER or enable the C language.")
endif()
if(CMAKE_CXX_COMPILER)
set(_conan_cpp_compiler "\"cpp\":\"${CMAKE_CXX_COMPILER}\"")
set_conan_compiler_if_appleclang(CXX c++ _conan_cpp_compiler)
else()
message(WARNING "CMake-Conan: The C++ compiler is not defined. "
"Please define CMAKE_CXX_COMPILER or enable the C++ language.")
endif()
# QtCreator: see https://github.com/conan-io/cmake-conan/pull/689 for details
if(NOT "x${_conan_c_compiler}${_conan_cpp_compiler}" STREQUAL "x"
AND NOT CMAKE_C_COMPILER_ID STREQUAL "MSVC")
string(APPEND PROFILE "tools.build:compiler_executables={${_conan_c_compiler}${_conan_cpp_compiler}}\n")
endif()
unset(_conan_c_compiler)
unset(_conan_cpp_compiler)
endmacro()
function(detect_host_profile output_file)
detect_os(MYOS MYOS_API_LEVEL MYOS_SDK MYOS_SUBSYSTEM MYOS_VERSION)
detect_arch(MYARCH)
detect_compiler(MYCOMPILER MYCOMPILER_VERSION MYCOMPILER_RUNTIME MYCOMPILER_RUNTIME_TYPE)
detect_cxx_standard(MYCXX_STANDARD)
detect_lib_cxx(MYLIB_CXX)
detect_build_type(MYBUILD_TYPE)
set(PROFILE "")
string(APPEND PROFILE "[settings]\n")
if(MYARCH)
string(APPEND PROFILE arch=${MYARCH} "\n")
endif()
if(MYOS)
string(APPEND PROFILE os=${MYOS} "\n")
endif()
if(MYOS_API_LEVEL)
string(APPEND PROFILE os.api_level=${MYOS_API_LEVEL} "\n")
endif()
if(MYOS_VERSION)
string(APPEND PROFILE os.version=${MYOS_VERSION} "\n")
endif()
if(MYOS_SDK)
string(APPEND PROFILE os.sdk=${MYOS_SDK} "\n")
endif()
if(MYOS_SUBSYSTEM)
string(APPEND PROFILE os.subsystem=${MYOS_SUBSYSTEM} "\n")
endif()
if(MYCOMPILER)
string(APPEND PROFILE compiler=${MYCOMPILER} "\n")
endif()
if(MYCOMPILER_VERSION)
string(APPEND PROFILE compiler.version=${MYCOMPILER_VERSION} "\n")
endif()
if(MYCOMPILER_RUNTIME)
string(APPEND PROFILE compiler.runtime=${MYCOMPILER_RUNTIME} "\n")
endif()
if(MYCOMPILER_RUNTIME_TYPE)
string(APPEND PROFILE compiler.runtime_type=${MYCOMPILER_RUNTIME_TYPE} "\n")
endif()
if(MYCXX_STANDARD)
string(APPEND PROFILE compiler.cppstd=${MYCXX_STANDARD} "\n")
endif()
if(MYLIB_CXX)
string(APPEND PROFILE compiler.libcxx=${MYLIB_CXX} "\n")
endif()
if(MYBUILD_TYPE)
string(APPEND PROFILE "build_type=${MYBUILD_TYPE}\n")
endif()
if(NOT DEFINED output_file)
set(_FN "${CMAKE_BINARY_DIR}/profile")
else()
set(_FN ${output_file})
endif()
string(APPEND PROFILE "[conf]\n")
string(APPEND PROFILE "tools.cmake.cmaketoolchain:generator=${CMAKE_GENERATOR}\n")
# propagate compilers via profile
append_compiler_executables_configuration()
if(MYOS STREQUAL "Android")
string(APPEND PROFILE "tools.android:ndk_path=${CMAKE_ANDROID_NDK}\n")
endif()
message(STATUS "CMake-Conan: Creating profile ${_FN}")
file(WRITE ${_FN} ${PROFILE})
message(STATUS "CMake-Conan: Profile: \n${PROFILE}")
endfunction()
function(conan_profile_detect_default)
message(STATUS "CMake-Conan: Checking if a default profile exists")
execute_process(COMMAND ${CONAN_COMMAND} profile path default
RESULT_VARIABLE return_code
OUTPUT_VARIABLE conan_stdout
ERROR_VARIABLE conan_stderr
ECHO_ERROR_VARIABLE # show the text output regardless
ECHO_OUTPUT_VARIABLE
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
if(NOT ${return_code} EQUAL "0")
message(STATUS "CMake-Conan: The default profile doesn't exist, detecting it.")
execute_process(COMMAND ${CONAN_COMMAND} profile detect
RESULT_VARIABLE return_code
OUTPUT_VARIABLE conan_stdout
ERROR_VARIABLE conan_stderr
ECHO_ERROR_VARIABLE # show the text output regardless
ECHO_OUTPUT_VARIABLE
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
endif()
endfunction()
function(conan_install)
cmake_parse_arguments(ARGS CONAN_ARGS ${ARGN})
set(CONAN_OUTPUT_FOLDER ${CMAKE_BINARY_DIR}/conan)
# Invoke "conan install" with the provided arguments
set(CONAN_ARGS ${CONAN_ARGS} -of=${CONAN_OUTPUT_FOLDER})
message(STATUS "CMake-Conan: conan install ${CMAKE_SOURCE_DIR} ${CONAN_ARGS} ${ARGN}")
# In case there was not a valid cmake executable in the PATH, we inject the
# same we used to invoke the provider to the PATH
if(DEFINED PATH_TO_CMAKE_BIN)
set(_OLD_PATH $ENV{PATH})
set(ENV{PATH} "$ENV{PATH}:${PATH_TO_CMAKE_BIN}")
endif()
execute_process(COMMAND ${CONAN_COMMAND} install ${CMAKE_SOURCE_DIR} ${CONAN_ARGS} ${ARGN} --format=json
RESULT_VARIABLE return_code
OUTPUT_VARIABLE conan_stdout
ERROR_VARIABLE conan_stderr
ECHO_ERROR_VARIABLE # show the text output regardless
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
if(DEFINED PATH_TO_CMAKE_BIN)
set(ENV{PATH} "${_OLD_PATH}")
endif()
if(NOT "${return_code}" STREQUAL "0")
message(FATAL_ERROR "Conan install failed='${return_code}'")
else()
# the files are generated in a folder that depends on the layout used, if
# one is specified, but we don't know a priori where this is.
# TODO: this can be made more robust if Conan can provide this in the json output
string(JSON CONAN_GENERATORS_FOLDER GET ${conan_stdout} graph nodes 0 generators_folder)
cmake_path(CONVERT ${CONAN_GENERATORS_FOLDER} TO_CMAKE_PATH_LIST CONAN_GENERATORS_FOLDER)
# message("conan stdout: ${conan_stdout}")
message(STATUS "CMake-Conan: CONAN_GENERATORS_FOLDER=${CONAN_GENERATORS_FOLDER}")
set_property(GLOBAL PROPERTY CONAN_GENERATORS_FOLDER "${CONAN_GENERATORS_FOLDER}")
# reconfigure on conanfile changes
string(JSON CONANFILE GET ${conan_stdout} graph nodes 0 label)
message(STATUS "CMake-Conan: CONANFILE=${CMAKE_SOURCE_DIR}/${CONANFILE}")
set_property(DIRECTORY ${CMAKE_SOURCE_DIR} APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${CMAKE_SOURCE_DIR}/${CONANFILE}")
# success
set_property(GLOBAL PROPERTY CONAN_INSTALL_SUCCESS TRUE)
endif()
endfunction()
function(conan_get_version conan_command conan_current_version)
execute_process(
COMMAND ${conan_command} --version
OUTPUT_VARIABLE conan_output
RESULT_VARIABLE conan_result
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if(conan_result)
message(FATAL_ERROR "CMake-Conan: Error when trying to run Conan")
endif()
string(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" conan_version ${conan_output})
set(${conan_current_version} ${conan_version} PARENT_SCOPE)
endfunction()
function(conan_version_check)
set(options )
set(oneValueArgs MINIMUM CURRENT)
set(multiValueArgs )
cmake_parse_arguments(CONAN_VERSION_CHECK
"${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
if(NOT CONAN_VERSION_CHECK_MINIMUM)
message(FATAL_ERROR "CMake-Conan: Required parameter MINIMUM not set!")
endif()
if(NOT CONAN_VERSION_CHECK_CURRENT)
message(FATAL_ERROR "CMake-Conan: Required parameter CURRENT not set!")
endif()
if(CONAN_VERSION_CHECK_CURRENT VERSION_LESS CONAN_VERSION_CHECK_MINIMUM)
message(FATAL_ERROR "CMake-Conan: Conan version must be ${CONAN_VERSION_CHECK_MINIMUM} or later")
endif()
endfunction()
macro(construct_profile_argument argument_variable profile_list)
set(${argument_variable} "")
if("${profile_list}" STREQUAL "CONAN_HOST_PROFILE")
set(_arg_flag "--profile:host=")
elseif("${profile_list}" STREQUAL "CONAN_BUILD_PROFILE")
set(_arg_flag "--profile:build=")
endif()
set(_profile_list "${${profile_list}}")
list(TRANSFORM _profile_list REPLACE "auto-cmake" "${CMAKE_BINARY_DIR}/conan_host_profile")
list(TRANSFORM _profile_list PREPEND ${_arg_flag})
set(${argument_variable} ${_profile_list})
unset(_arg_flag)
unset(_profile_list)
endmacro()
macro(conan_provide_dependency method package_name)
set_property(GLOBAL PROPERTY CONAN_PROVIDE_DEPENDENCY_INVOKED TRUE)
get_property(_conan_install_success GLOBAL PROPERTY CONAN_INSTALL_SUCCESS)
if(NOT _conan_install_success)
find_program(CONAN_COMMAND "conan" REQUIRED)
conan_get_version(${CONAN_COMMAND} CONAN_CURRENT_VERSION)
conan_version_check(MINIMUM ${CONAN_MINIMUM_VERSION} CURRENT ${CONAN_CURRENT_VERSION})
message(STATUS "CMake-Conan: first find_package() found. Installing dependencies with Conan")
if("default" IN_LIST CONAN_HOST_PROFILE OR "default" IN_LIST CONAN_BUILD_PROFILE)
conan_profile_detect_default()
endif()
if("auto-cmake" IN_LIST CONAN_HOST_PROFILE)
detect_host_profile(${CMAKE_BINARY_DIR}/conan_host_profile)
endif()
construct_profile_argument(_host_profile_flags CONAN_HOST_PROFILE)
construct_profile_argument(_build_profile_flags CONAN_BUILD_PROFILE)
if(EXISTS "${CMAKE_SOURCE_DIR}/conanfile.py")
file(READ "${CMAKE_SOURCE_DIR}/conanfile.py" outfile)
if(NOT "${outfile}" MATCHES ".*CMakeDeps.*")
message(WARNING "Cmake-conan: CMakeDeps generator was not defined in the conanfile")
endif()
set(generator "")
elseif (EXISTS "${CMAKE_SOURCE_DIR}/conanfile.txt")
file(READ "${CMAKE_SOURCE_DIR}/conanfile.txt" outfile)
if(NOT "${outfile}" MATCHES ".*CMakeDeps.*")
message(WARNING "Cmake-conan: CMakeDeps generator was not defined in the conanfile. "
"Please define the generator as it will be mandatory in the future")
endif()
set(generator "-g;CMakeDeps")
endif()
get_property(_multiconfig_generator GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
if(NOT _multiconfig_generator)
message(STATUS "CMake-Conan: Installing single configuration ${CMAKE_BUILD_TYPE}")
conan_install(${_host_profile_flags} ${_build_profile_flags} ${CONAN_INSTALL_ARGS} ${generator})
else()
message(STATUS "CMake-Conan: Installing both Debug and Release")
conan_install(${_host_profile_flags} ${_build_profile_flags} -s build_type=Release ${CONAN_INSTALL_ARGS} ${generator})
conan_install(${_host_profile_flags} ${_build_profile_flags} -s build_type=Debug ${CONAN_INSTALL_ARGS} ${generator})
endif()
unset(_host_profile_flags)
unset(_build_profile_flags)
unset(_multiconfig_generator)
unset(_conan_install_success)
else()
message(STATUS "CMake-Conan: find_package(${ARGV1}) found, 'conan install' already ran")
unset(_conan_install_success)
endif()
get_property(_conan_generators_folder GLOBAL PROPERTY CONAN_GENERATORS_FOLDER)
# Ensure that we consider Conan-provided packages ahead of any other,
# irrespective of other settings that modify the search order or search paths
# This follows the guidelines from the find_package documentation
# (https://cmake.org/cmake/help/latest/command/find_package.html):
# find_package (<PackageName> PATHS paths... NO_DEFAULT_PATH)
# find_package (<PackageName>)
# Filter out `REQUIRED` from the argument list, as the first call may fail
set(_find_args_${package_name} "${ARGN}")
list(REMOVE_ITEM _find_args_${package_name} "REQUIRED")
if(NOT "MODULE" IN_LIST _find_args_${package_name})
find_package(${package_name} ${_find_args_${package_name}} BYPASS_PROVIDER PATHS "${_conan_generators_folder}" NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH)
unset(_find_args_${package_name})
endif()
# Invoke find_package a second time - if the first call succeeded,
# this will simply reuse the result. If not, fall back to CMake default search
# behaviour, also allowing modules to be searched.
if(NOT ${package_name}_FOUND)
list(FIND CMAKE_MODULE_PATH "${_conan_generators_folder}" _index)
if(_index EQUAL -1)
list(PREPEND CMAKE_MODULE_PATH "${_conan_generators_folder}")
endif()
unset(_index)
find_package(${package_name} ${ARGN} BYPASS_PROVIDER)
list(REMOVE_ITEM CMAKE_MODULE_PATH "${_conan_generators_folder}")
endif()
endmacro()
#[=[ not needed by Qt Creator, and if not commented it would break the auto-setup feature
cmake_language(
SET_DEPENDENCY_PROVIDER conan_provide_dependency
SUPPORTED_METHODS FIND_PACKAGE
)
macro(conan_provide_dependency_check)
set(_CONAN_PROVIDE_DEPENDENCY_INVOKED FALSE)
get_property(_CONAN_PROVIDE_DEPENDENCY_INVOKED GLOBAL PROPERTY CONAN_PROVIDE_DEPENDENCY_INVOKED)
if(NOT _CONAN_PROVIDE_DEPENDENCY_INVOKED)
message(WARNING "Conan is correctly configured as dependency provider, "
"but Conan has not been invoked. Please add at least one "
"call to `find_package()`.")
if(DEFINED CONAN_COMMAND)
# supress warning in case `CONAN_COMMAND` was specified but unused.
set(_CONAN_COMMAND ${CONAN_COMMAND})
unset(_CONAN_COMMAND)
endif()
endif()
unset(_CONAN_PROVIDE_DEPENDENCY_INVOKED)
endmacro()
# Add a deferred call at the end of processing the top-level directory
# to check if the dependency provider was invoked at all.
cmake_language(DEFER DIRECTORY "${CMAKE_SOURCE_DIR}" CALL conan_provide_dependency_check)
]=]
# Configurable variables for Conan profiles
set(CONAN_HOST_PROFILE "default;auto-cmake" CACHE STRING "Conan host profile")
set(CONAN_BUILD_PROFILE "default" CACHE STRING "Conan build profile")
set(CONAN_INSTALL_ARGS "--build=missing" CACHE STRING "Command line arguments for conan install")
find_program(_cmake_program NAMES cmake NO_PACKAGE_ROOT_PATH NO_CMAKE_PATH NO_CMAKE_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH NO_CMAKE_FIND_ROOT_PATH)
if(NOT _cmake_program)
get_filename_component(PATH_TO_CMAKE_BIN "${CMAKE_COMMAND}" DIRECTORY)
set(PATH_TO_CMAKE_BIN "${PATH_TO_CMAKE_BIN}" CACHE INTERNAL "Path where the CMake executable is")
endif()

View File

@@ -0,0 +1,347 @@
function(qt_maintenance_tool_get_component_platform platform_dir component_platform)
# Mapping between platform file directory and component platform
set(map_llvm-mingw_64 win64_llvm_mingw)
set(map_mingw_64 win64_mingw)
set(map_msvc2019_64 win64_msvc2019_64)
set(map_msvc2022_64 win64_msvc2022_64)
set(map_msvc2022_arm64 win64_msvc2022_arm64)
set(map_gcc_64 linux_gcc_64)
set(map_gcc_arm64 linux_gcc_arm64)
set(map_ios ios)
set(map_macos clang_64)
set(map_android_arm64_v8a android)
set(map_android_armv7 android)
set(map_android_x86 android)
set(map_android_x86_64 android)
set(map_wasm_multithread wasm_multithread)
set(map_wasm_singlethread wasm_singlethread)
if (platform_dir STREQUAL "msvc2022_arm64" AND QT_HOST_PATH)
set(${component_platform} "win64_msvc2022_arm64_cross_compiled" PARENT_SCOPE)
return()
endif()
set(${component_platform} ${map_${platform_dir}} PARENT_SCOPE)
endfunction()
function(qt_maintenance_tool_get_addons addon_list)
set(${addon_list}
qt3d
qt5compat
qtcharts
qtconnectivity
qtdatavis3d
qtgraphs
qtgrpc
qthttpserver
qtimageformats
qtlocation
qtlottie
qtmultimedia
qtnetworkauth
qtpositioning
qtquick3d
qtquick3dphysics
qtquickeffectmaker
qtquicktimeline
qtremoteobjects
qtscxml
qtsensors
qtserialbus
qtserialport
qtshadertools
qtspeech
qtvirtualkeyboard
qtwebchannel
qtwebsockets
qtwebview
# found in commercial version
qtapplicationmanager
qtinterfraceframework
qtlanguageserver
qtmqtt
qtstatemachine
qtopcua
tqtc-qtvncserver
PARENT_SCOPE
)
endfunction()
function(qt_maintenance_tool_get_extensions extensions)
set(${extensions}
qtinsighttracker
qtpdf
qtwebengine
PARENT_SCOPE
)
endfunction()
function(qt_maintenance_tool_get_standalone_addons standalone_addons_list)
set(${standalone_addons_list}
qtquick3d
qt5compat
qtshadertools
qtquicktimeline
PARENT_SCOPE
)
endfunction()
function(qt_maintenance_tool_remove_installed_components components_list)
set(actual_components_list ${${components_list}})
execute_process(
COMMAND "${QT_MAINTENANCE_TOOL}" list
RESULT_VARIABLE result
OUTPUT_VARIABLE output
ERROR_VARIABLE output
TIMEOUT 600
)
if (NOT result EQUAL 0)
message(WARNING "Qt MaintenanceTool returned an error.\n${output}")
set(${components_list} "" PARENT_SCOPE)
return()
endif()
foreach(component_name IN LISTS actual_components_list)
string(FIND "${output}" "<package name=\"${component_name}\"" found_component)
if (NOT found_component EQUAL -1)
list(REMOVE_ITEM ${components_list} ${component_name})
endif()
endforeach()
set(${components_list} ${${components_list}} PARENT_SCOPE)
endfunction()
function(qt_maintenance_tool_install qt_major_version qt_package_list)
if (QT_QMAKE_EXECUTABLE MATCHES ".*/(.*)/(.*)/bin/qmake")
set(qt_version_number ${CMAKE_MATCH_1})
string(REPLACE "." "" qt_version_number_dotless ${qt_version_number})
set(qt_build_flavor ${CMAKE_MATCH_2})
set(additional_addons "")
qt_maintenance_tool_get_extensions(__qt_extensions)
if (qt_version_number VERSION_LESS 6.8.0)
set(additional_addons ${__qt_extensions})
endif()
if (WIN32)
list(APPEND additional_addons qtactiveqt)
endif()
if (UNIX AND NOT APPLE)
list(APPEND additional_addons qtwayland)
endif()
qt_maintenance_tool_get_component_platform(${qt_build_flavor} component_platform)
if (NOT component_platform)
message(STATUS
"Qt Creator: Could not find the component platform for '${qt_build_flavor}' "
"required by the MaintenanceTool. This can happen with a non Qt SDK installation "
"(e.g. system Linux or macOS homebrew).")
return()
endif()
set(installer_component_list "")
foreach (qt_package_name IN LISTS qt_package_list)
string(TOLOWER "${qt_package_name}" qt_package_name_lowercase)
qt_maintenance_tool_get_addons(__qt_addons)
if (qt_version_number VERSION_LESS 6.8.0)
qt_maintenance_tool_get_standalone_addons(__standalone_addons)
foreach(standalone_addon IN LISTS __standalone_addons)
list(REMOVE_ITEM __qt_addons ${standalone_addon})
endforeach()
endif()
# Is the package an addon?
set(install_addon FALSE)
foreach(addon IN LISTS __qt_addons additional_addons)
string(REGEX MATCH "^${addon}$" is_addon "qt${qt_package_name_lowercase}")
if (is_addon)
list(
APPEND installer_component_list
"qt.qt${qt_major_version}.${qt_version_number_dotless}.addons.${addon}"
)
set(install_addon TRUE)
break()
endif()
endforeach()
if (NOT install_addon)
set(install_extension FALSE)
foreach(extension IN LISTS __qt_extensions)
string(REGEX MATCH "^${extension}$" is_extension "qt${qt_package_name_lowercase}")
if (is_extension)
list(
APPEND installer_component_list
"extensions.${extension}.${qt_version_number_dotless}.${component_platform}"
)
set(install_extension TRUE)
break()
endif()
endforeach()
if (NOT install_extension)
set(install_standalone_addon FALSE)
foreach(standalone_addon IN LISTS __standalone_addons)
string(REGEX MATCH "^${standalone_addon}$" is_standalone_addon "qt${qt_package_name_lowercase}")
if (is_standalone_addon)
list(
APPEND installer_component_list
"qt.qt${qt_major_version}.${qt_version_number_dotless}.${standalone_addon}"
)
set(install_standalone_addon TRUE)
break()
endif()
endforeach()
if(NOT install_standalone_addon)
# Install the Desktop package
list(
APPEND installer_component_list
"qt.qt${qt_major_version}.${qt_version_number_dotless}.${component_platform}"
)
endif()
endif()
endif()
endforeach()
qt_maintenance_tool_remove_installed_components(installer_component_list)
list(LENGTH installer_component_list installer_component_list_size)
if (installer_component_list_size EQUAL 0)
return()
endif()
list(TRANSFORM qt_package_list PREPEND "Qt${qt_major_version}")
list(JOIN qt_package_list " " qt_packages_as_string)
list(JOIN installer_component_list " " installer_components_as_string)
message(STATUS "Qt Creator: CMake could not find: ${qt_packages_as_string}. "
"Now installing: ${installer_components_as_string} "
"with the MaintenanceTool ...")
if (QT_CREATOR_MAINTENANCE_TOOL_PROVIDER_USE_CLI)
message(STATUS "Qt Creator: Using MaintenanceTool in CLI Mode. "
"Set QT_CREATOR_MAINTENANCE_TOOL_PROVIDER_USE_CLI to OFF for GUI mode.")
execute_process(
COMMAND
"${QT_MAINTENANCE_TOOL}"
--accept-licenses
--default-answer
--confirm-command
install ${installer_component_list}
RESULT_VARIABLE result
OUTPUT_VARIABLE output
ERROR_VARIABLE output
ECHO_OUTPUT_VARIABLE ECHO_ERROR_VARIABLE
TIMEOUT 600
)
if (NOT result EQUAL 0)
message(WARNING "Qt MaintenanceTool returned an error.\n${output}")
endif()
else()
message(STATUS "Qt Creator: Using MaintenanceTool in GUI Mode. "
"Set QT_CREATOR_MAINTENANCE_TOOL_PROVIDER_USE_CLI to ON for CLI mode.")
set(ENV{QTC_MAINTENANCE_TOOL_COMPONENTS} "${installer_component_list}")
set(ENV{QTC_MAINTENANCE_TOOL_QT_PACKAGES} "${qt_package_list}")
if(CMAKE_HOST_WIN32)
# It's necessary to call actual test inside 'cmd.exe', because 'execute_process' uses
# SW_HIDE to avoid showing a console window, it affects other GUI as well.
# See https://gitlab.kitware.com/cmake/cmake/-/issues/17690 for details.
#
# Run the command using the proxy 'call' command to avoid issues related to invalid
# processing of quotes and spaces in cmd.exe arguments.
set(extra_runner cmd /d /c call)
endif()
execute_process(
COMMAND ${extra_runner}
"${QT_MAINTENANCE_TOOL}"
--script "${CMAKE_CURRENT_FUNCTION_LIST_DIR}/maintenance_tool_provider.qs"
--verbose
RESULT_VARIABLE result
OUTPUT_VARIABLE output
ERROR_VARIABLE output
ECHO_OUTPUT_VARIABLE ECHO_ERROR_VARIABLE
TIMEOUT 600
)
if (NOT result EQUAL 0)
message(WARNING "Qt MaintenanceTool returned an error.\n${output}")
endif()
endif()
endif()
endfunction()
macro(qt_maintenance_tool_dependency method package_name)
# Work around upstream cmake issue: https://gitlab.kitware.com/cmake/cmake/-/issues/27169
if(ANDROID
AND CMAKE_VERSION VERSION_GREATER_EQUAL 3.29
AND NOT ANDROID_USE_LEGACY_TOOLCHAIN_FILE
AND NOT CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS
AND NOT QT_NO_SET_MAINTENANCE_TOOL_PROVIDER_POLICY_CMP0155
)
message(DEBUG
"Setting policy CMP0155 to OLD inside qt_maintenance_tool_dependency to avoid "
"issues with not being able to find the Threads package when targeting Android with "
"cmake_minimum_required(3.29) and CMAKE_CXX_STANDARD >= 20."
)
# We don't create an explicit policy stack entry before changing the policy, because setting
# the policy value bubbles it up to the parent find_package() scope, which is fine, that's
# exactly the scope we want to modify.
cmake_policy(SET CMP0155 OLD)
endif()
if (${package_name} MATCHES "^Qt([5-9])(.*)$")
set(__qt_dependency_qt_major_version ${CMAKE_MATCH_1})
set(__qt_dependency_qt_package_name ${CMAKE_MATCH_2})
# https://cmake.org/cmake/help/latest/command/find_package.html
set(__qt_dependency_options
CONFIG NO_MODULE MODULE REQUIRED EXACT QUIET GLOBAL NO_POLICY_SCOPE NO_DEFAULT_PATH NO_PACKAGE_ROOT_PATH
NO_CMAKE_PATH NO_CMAKE_ENVIRONMENT_PATH NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_PACKAGE_REGISTRY
NO_CMAKE_SYSTEM_PATH NO_CMAKE_INSTALL_PREFIX NO_CMAKE_SYSTEM_PACKAGE_REGISTRY CMAKE_FIND_ROOT_PATH_BOTH
ONLY_CMAKE_FIND_ROOT_PATH NO_CMAKE_FIND_ROOT_PATH
)
set(__qt_dependency_oneValueArgs REGISTRY_VIEW)
set(__qt_dependency_multiValueArgs COMPONENTS OPTIONAL_COMPONENTS NAMES CONFIGS HINTS PATHS PATH_SUFFIXES)
cmake_parse_arguments(__qt_dependency_arg "${__qt_dependency_options}" "${__qt_dependency_oneValueArgs}" "${__qt_dependency_multiValueArgs}" ${ARGN})
if (__qt_dependency_arg_REQUIRED AND __qt_dependency_arg_COMPONENTS)
# Install missing COMPONENTS.
set(__qt_dependency_pkgs_to_install "")
foreach(pkg IN LISTS __qt_dependency_arg_COMPONENTS)
find_package(Qt${__qt_dependency_qt_major_version}${pkg}
PATHS ${CMAKE_PREFIX_PATH} ${CMAKE_MODULE_PATH} NO_DEFAULT_PATH BYPASS_PROVIDER QUIET)
if (NOT Qt${__qt_dependency_qt_major_version}${pkg}_FOUND)
list(APPEND __qt_dependency_pkgs_to_install ${pkg})
endif()
endforeach()
if (__qt_dependency_pkgs_to_install)
qt_maintenance_tool_install("${__qt_dependency_qt_major_version}" "${__qt_dependency_pkgs_to_install}")
endif()
elseif(__qt_dependency_arg_REQUIRED AND NOT __qt_dependency_qt_package_name)
# Install the Desktop package if Qt::Core is missing
find_package(Qt${__qt_dependency_qt_major_version}Core
PATHS ${CMAKE_PREFIX_PATH} ${CMAKE_MODULE_PATH} NO_DEFAULT_PATH BYPASS_PROVIDER QUIET)
if (NOT Qt${__qt_dependency_qt_major_version}$Core_FOUND)
qt_maintenance_tool_install("${__qt_dependency_qt_major_version}" Core)
endif()
endif()
find_package(${package_name} ${ARGN}
PATHS ${CMAKE_PREFIX_PATH} ${CMAKE_MODULE_PATH} NO_DEFAULT_PATH BYPASS_PROVIDER QUIET)
if (NOT ${package_name}_FOUND AND __qt_dependency_arg_REQUIRED)
qt_maintenance_tool_install("${__qt_dependency_qt_major_version}" "${__qt_dependency_qt_package_name}")
find_package(${package_name} ${ARGN} BYPASS_PROVIDER)
endif()
else()
find_package(${package_name} ${ARGN} BYPASS_PROVIDER)
endif()
endmacro()
cmake_language(
SET_DEPENDENCY_PROVIDER qt_maintenance_tool_dependency
SUPPORTED_METHODS FIND_PACKAGE
)

View File

@@ -0,0 +1,60 @@
accountFieldsVisible = function()
{
var qtPackagesString = installer.environmentVariable("QTC_MAINTENANCE_TOOL_QT_PACKAGES").toString();
qtPackagesString = qtPackagesString.split(";").join(" ");
var result = QMessageBox.question("qtcreator.install.packages", "Qt Creator",
"CMake could not find: " + qtPackagesString + "<br><br>" +
"Do you want to install the missing packages?",
QMessageBox.Yes | QMessageBox.No, QMessageBox.Yes);
if (result == QMessageBox.No) {
gui.rejectWithoutPrompt();
} else {
var ifwVersion = installer.value("FrameworkVersion");
if (installer.versionMatches(ifwVersion, "=4.9.0"))
gui.clickButton("submitButtonLogin");
else
gui.clickButton(buttons.NextButton);
}
}
usageStatisticVisible = function()
{
gui.clickButton(buttons.NextButton);
}
Controller.prototype.CredentialsPageCallback = function()
{
var page = gui.currentPageWidget();
page.accountFieldsVisible.connect(accountFieldsVisible)
var ifwVersion = installer.value("FrameworkVersion");
if (installer.versionMatches(ifwVersion, "=4.9.0"))
page.usageStatisticVisible.connect(usageStatisticVisible);
}
Controller.prototype.IntroductionPageCallback = function()
{
gui.clickButton(buttons.NextButton);
}
Controller.prototype.ComponentSelectionPageCallback = function()
{
var componentsString = installer.environmentVariable("QTC_MAINTENANCE_TOOL_COMPONENTS");
var componentsList = componentsString.split(";");
for (var idx = 0; idx < componentsList.length; idx++) {
installer.selectComponent(componentsList[idx]);
}
gui.clickButton(buttons.NextButton);
}
Controller.prototype.FinishedPageCallback = function()
{
gui.clickButton(buttons.FinishButton);
}
function Controller()
{
installer.installationFinished.connect(function() {
gui.clickButton(buttons.NextButton);
})
}

Some files were not shown because too many files have changed in this diff Show More