Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
None
Description
Add a module to compile .rep files to .h files by using repc compiler.
the module will be automatically pulled when the Qt.remoteobjects dependency is added.
an example of the module is listed here. The example support only the source side of QtRO module and need to get pulled manually.
import qbs import qbs.FileInfo Module { FileTagger { patterns: ["*.rep"] fileTags: ["repc-rep"] } Rule { inputs: ["repc-rep"] Artifact { filePath: "repc_" + FileInfo.baseName(input.fileName) + "_source.h" fileTags: ["hpp"] } prepare: { var cmd = new Command(); cmd.description = "repc " + input.fileName; cmd.program = "repc.exe" cmd.arguments = ["-i", "rep", "-o", "source", input.filePath, output.filePath]; return cmd; } } }
Attachments
Issue Links
- is duplicated by
-
QBS-1394 QBS support for repc
- Closed
- relates to
-
QTBUG-68678 Graduate Qt Remote Objects from TP to fully supported module of Qt
- Closed