summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/data/testsocket.qml
blob: d44dae985c4f55f351c28815329963c896ace6c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import QtQuick 2.0
import Test 1.0

DeclarativeSocketLauncher {
  id: socket_launcher

  factories: [
    StandardProcessBackendFactory {
      id: gdbFactory
      matchDelegate: KeyMatchDelegate { key: "gdb" }
      rewriteDelegate: GdbRewriteDelegate {}
    },
    StandardProcessBackendFactory {
      id: standardFactory
    }
  ]

  Component.onCompleted: {
    socket_launcher.listen("/tmp/socket_launcher");
    console.log("Listening on socket");
  }
}