mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
parent
9bceec4394
commit
6b3c79f674
@ -43,6 +43,14 @@ append config {
|
||||
<start name="loader">
|
||||
<resource name="RAM" quantum="8M"/>
|
||||
<provides><service name="Loader"/></provides>
|
||||
<config>
|
||||
<policy label_prefix="test-qpluginwidget">
|
||||
<parent-rom name="ld.lib.so"/>
|
||||
<parent-rom name="init"/>
|
||||
<parent-rom name="tar_rom"/>
|
||||
<parent-rom name="testnit"/>
|
||||
</policy>
|
||||
</config>
|
||||
</start>
|
||||
<start name="test-qpluginwidget">
|
||||
<resource name="RAM" quantum="30M"/>
|
||||
|
@ -1,7 +1,11 @@
|
||||
<config>
|
||||
<parent-provides>
|
||||
<service name="CPU"/>
|
||||
<service name="LOG"/>
|
||||
<service name="PD"/>
|
||||
<service name="RAM"/>
|
||||
<service name="RM"/>
|
||||
<service name="ROM"/>
|
||||
<service name="Timer"/>
|
||||
<service name="Nitpicker"/>
|
||||
</parent-provides>
|
||||
|
@ -18,7 +18,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
static Compound_widget<QWidget, QHBoxLayout> w;
|
||||
|
||||
static QString plugin_args("ram_quota=3M");
|
||||
static QString plugin_args("ram_quota=4M");
|
||||
static QPluginWidget plugin_widget(&w, QUrl("rom:///test-plugin.tar"), plugin_args, 100, 100);
|
||||
|
||||
w.layout()->addWidget(&plugin_widget);
|
||||
|
Loading…
x
Reference in New Issue
Block a user