Commit 866bcceb authored by Thomas BOUTROUE's avatar Thomas BOUTROUE

Delegate QRC generation to QBS

parent 99f9a343
......@@ -16,6 +16,9 @@ Project {
}
cpp.cxxLanguageVersion: "c++11";
cpp.cxxStandardLibrary: "libstdc++"; // NOTE : because there are issues with libc++
Qt.core.resourcePrefix: "/";
Qt.core.resourceSourceBase: sourceDirectory;
Qt.core.resourceFileBaseName: "data_testbench";
readonly property stringList qmlImportPaths : [sourceDirectory + "/import"]; // equivalent to QML_IMPORT_PATH += $$PWD/import
......@@ -87,20 +90,93 @@ Project {
}
Group {
name: "Images";
fileTags: "qt.core.resource_data";
files: [
"icons/3d.svg",
"icons/actuator.svg",
"icons/circuit.svg",
"icons/logic.svg",
"icons/memory.svg",
"icons/normal.svg",
"icons/reverse.svg",
"icons/routine.svg",
"icons/sensor.svg",
"vcan_testbench_logo.svg",
]
}
Group {
name: "Qt Resources bundles";
name: "GLSL shaders";
fileTags: "qt.core.resource_data";
files: [
"data_testbench.qrc",
"glsl/Renderer.fsh",
"glsl/Renderer.vsh",
]
}
Group {
name: "QML components";
fileTags: "qt.core.resource_data";
files: [
"components/AbstractDelegateActuator.qml",
"components/AbstractDelegateControlIO.qml",
"components/AbstractDelegateRoutine.qml",
"components/AbstractDelegateSensor.qml",
"components/AbstractDialogDetailsIO.qml",
"components/Circle.qml",
"components/ClickableTextLabel.qml",
"components/DelegateAnalogActuator.qml",
"components/DelegateAnalogSensor.qml",
"components/DelegateArgumentDetailsHelp.qml",
"components/DelegateArgumentHelp.qml",
"components/DelegateCanBus.qml",
"components/DelegateControlAin.qml",
"components/DelegateControlAout.qml",
"components/DelegateControlDin.qml",
"components/DelegateControlDout.qml",
"components/DelegateDigitalActuator.qml",
"components/DelegateDigitalSensor.qml",
"components/DelegateEnumHelp.qml",
"components/DelegateLinkObjectHelp.qml",
"components/DelegateLinkSource.qml",
"components/DelegateLinkTarget.qml",
"components/DelegateMethodHelp.qml",
"components/DelegateObjectHelp.qml",
"components/DelegatePhyValTable.qml",
"components/DelegatePropertyHelp.qml",
"components/DelegateRoutineOnCanFrame.qml",
"components/DelegateRoutineOnCanOpenNmtStateChange.qml",
"components/DelegateRoutineOnCanOpenObdValChange.qml",
"components/DelegateRoutineOnCanOpenSdoReadReply.qml",
"components/DelegateRoutineOnCanOpenSdoWriteRequest.qml",
"components/DelegateRoutineOnEvent.qml",
"components/DelegateRoutineOnSerialFrame.qml",
"components/DelegateRoutineOnTimer.qml",
"components/DelegateSerialBus.qml",
"components/DelegateSignalHelp.qml",
"components/DelegateTokenId.qml",
"components/DialogConfigCanBus.qml",
"components/DialogConfigSerialBus.qml",
"components/DialogDetailsAin.qml",
"components/DialogDetailsAout.qml",
"components/DialogDetailsDin.qml",
"components/DialogDetailsDout.qml",
"components/DialogExportSnapshot.qml",
"components/DialogImportSnapshot.qml",
"components/DialogOpenNetworkDefinition.qml",
"components/DialogPrintDatasheet.qml",
"components/SymbolPlug.qml",
"components/WindowCodeEditor.qml",
"import/QtCAN/CanTestBench.2/CircleButton.qml",
"import/QtCAN/CanTestBench.2/CircularGauge.qml",
"import/QtCAN/CanTestBench.2/LedLight.qml",
"import/QtCAN/CanTestBench.2/LinearGauge.qml",
"import/QtCAN/CanTestBench.2/NumberValueDisplay.qml",
"import/QtCAN/CanTestBench.2/OnOffSwitcher.qml",
"import/QtCAN/CanTestBench.2/Oscilloscope.qml",
"import/QtCAN/CanTestBench.2/PlotParams.qml",
"import/QtCAN/CanTestBench.2/RotativeKnob.qml",
"import/QtCAN/CanTestBench.2/TicksJauge.qml",
"import/QtCAN/CanTestBench.2/qmldir",
"ui_testBench.qml",
]
}
Group {
......
<RCC>
<qresource prefix="/">
<file>ui_testBench.qml</file>
<file>glsl/Renderer.vsh</file>
<file>glsl/Renderer.fsh</file>
<file>components/ClickableTextLabel.qml</file>
<file>icons/3d.svg</file>
<file>icons/actuator.svg</file>
<file>icons/circuit.svg</file>
<file>icons/sensor.svg</file>
<file>icons/logic.svg</file>
<file>components/AbstractDelegateControlIO.qml</file>
<file>components/DelegateControlAin.qml</file>
<file>components/DelegateControlAout.qml</file>
<file>components/DelegateControlDin.qml</file>
<file>components/DelegateControlDout.qml</file>
<file>components/AbstractDelegateSensor.qml</file>
<file>components/AbstractDelegateActuator.qml</file>
<file>components/AbstractDialogDetailsIO.qml</file>
<file>components/DelegateAnalogSensor.qml</file>
<file>components/DelegateDigitalSensor.qml</file>
<file>components/DelegateAnalogActuator.qml</file>
<file>components/DelegateDigitalActuator.qml</file>
<file>components/AbstractDelegateRoutine.qml</file>
<file>components/DelegateRoutineOnTimer.qml</file>
<file>components/DelegateRoutineOnEvent.qml</file>
<file>components/DelegateRoutineOnCanFrame.qml</file>
<file>components/DialogDetailsAin.qml</file>
<file>components/DialogDetailsDin.qml</file>
<file>components/DialogDetailsDout.qml</file>
<file>components/DialogDetailsAout.qml</file>
<file>icons/routine.svg</file>
<file>icons/memory.svg</file>
<file>components/DelegateLinkTarget.qml</file>
<file>components/DelegateLinkSource.qml</file>
<file>components/Circle.qml</file>
<file>vcan_testbench_logo.svg</file>
<file>icons/reverse.svg</file>
<file>icons/normal.svg</file>
<file>components/DelegatePhyValTable.qml</file>
<file>components/DelegateRoutineOnCanOpenObdValChange.qml</file>
<file>import/QtCAN/CanTestBench.2/TicksJauge.qml</file>
<file>import/QtCAN/CanTestBench.2/RotativeKnob.qml</file>
<file>import/QtCAN/CanTestBench.2/qmldir</file>
<file>import/QtCAN/CanTestBench.2/OnOffSwitcher.qml</file>
<file>import/QtCAN/CanTestBench.2/NumberValueDisplay.qml</file>
<file>import/QtCAN/CanTestBench.2/LinearGauge.qml</file>
<file>import/QtCAN/CanTestBench.2/LedLight.qml</file>
<file>import/QtCAN/CanTestBench.2/CircularGauge.qml</file>
<file>import/QtCAN/CanTestBench.2/CircleButton.qml</file>
<file>components/DelegateRoutineOnCanOpenNmtStateChange.qml</file>
<file>components/DelegateRoutineOnCanOpenSdoReadReply.qml</file>
<file>components/DelegateRoutineOnCanOpenSdoWriteRequest.qml</file>
<file>import/QtCAN/CanTestBench.2/Oscilloscope.qml</file>
<file>import/QtCAN/CanTestBench.2/PlotParams.qml</file>
<file>components/DialogConfigCanBus.qml</file>
<file>components/DialogConfigSerialBus.qml</file>
<file>components/DelegateCanBus.qml</file>
<file>components/DelegateSerialBus.qml</file>
<file>components/SymbolPlug.qml</file>
<file>components/DialogOpenNetworkDefinition.qml</file>
<file>components/DialogImportSnapshot.qml</file>
<file>components/DialogPrintDatasheet.qml</file>
<file>components/DialogExportSnapshot.qml</file>
<file>components/DelegateRoutineOnSerialFrame.qml</file>
<file>components/DelegateLinkObjectHelp.qml</file>
<file>components/DelegatePropertyHelp.qml</file>
<file>components/DelegateTokenId.qml</file>
<file>components/DelegateMethodHelp.qml</file>
<file>components/DelegateSignalHelp.qml</file>
<file>components/DelegateArgumentHelp.qml</file>
<file>components/DelegateObjectHelp.qml</file>
<file>components/DelegateArgumentDetailsHelp.qml</file>
<file>components/DelegateEnumHelp.qml</file>
<file>components/WindowCodeEditor.qml</file>
</qresource>
</RCC>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment