qmlprofiler.qbs 4.47 KB
Newer Older
1
import qbs 1.0
Joerg Bornemann's avatar
Joerg Bornemann committed
2 3 4 5

QtcPlugin {
    name: "QmlProfiler"

6
    Depends { name: "Qt"; submodules: ["widgets", "network", "quick", "quickwidgets"] }
7 8

    Depends { name: "FlameGraph" }
9 10 11
    Depends { name: "QmlJS" }
    Depends { name: "QmlDebug" }
    Depends { name: "Utils" }
12
    Depends { name: "Timeline" }
13

Joerg Bornemann's avatar
Joerg Bornemann committed
14
    Depends { name: "Core" }
hjk's avatar
hjk committed
15
    Depends { name: "Debugger" }
Joerg Bornemann's avatar
Joerg Bornemann committed
16 17 18 19
    Depends { name: "ProjectExplorer" }
    Depends { name: "QtSupport" }
    Depends { name: "TextEditor" }

20 21 22
    Group {
        name: "General"
        files: [
23 24 25 26 27 28
            "debugmessagesmodel.cpp", "debugmessagesmodel.h",
            "flamegraphmodel.cpp", "flamegraphmodel.h",
            "flamegraphview.cpp", "flamegraphview.h",
            "inputeventsmodel.cpp", "inputeventsmodel.h",
            "memoryusagemodel.cpp", "memoryusagemodel.h",
            "pixmapcachemodel.cpp", "pixmapcachemodel.h",
29
            "qmlevent.cpp", "qmlevent.h",
30 31 32
            "qmleventlocation.cpp", "qmleventlocation.h",
            "qmleventtype.cpp", "qmleventtype.h",
            "qmlnote.cpp", "qmlnote.h",
33
            "qmlprofiler_global.h",
34
            "qmlprofileranimationsmodel.h", "qmlprofileranimationsmodel.cpp",
35
            "qmlprofilerattachdialog.cpp", "qmlprofilerattachdialog.h",
36
            "qmlprofilerbindingloopsrenderpass.cpp","qmlprofilerbindingloopsrenderpass.h",
37
            "qmlprofilerclientmanager.cpp", "qmlprofilerclientmanager.h",
38 39
            "qmlprofilerconfigwidget.cpp", "qmlprofilerconfigwidget.h",
            "qmlprofilerconfigwidget.ui", "qmlprofilerconstants.h",
40
            "qmlprofilerdetailsrewriter.cpp", "qmlprofilerdetailsrewriter.h",
41
            "qmlprofilereventsview.h",
42
            "qmlprofilereventtypes.h",
43
            "qmlprofilermodelmanager.cpp", "qmlprofilermodelmanager.h",
44
            "qmlprofilernotesmodel.cpp", "qmlprofilernotesmodel.h",
45
            "qmlprofileroptionspage.cpp", "qmlprofileroptionspage.h",
46
            "qmlprofilerplugin.cpp", "qmlprofilerplugin.h",
47
            "qmlprofilerrunconfigurationaspect.cpp", "qmlprofilerrunconfigurationaspect.h",
48 49
            "qmlprofilerrangemodel.cpp", "qmlprofilerrangemodel.h",
            "qmlprofilerruncontrol.cpp", "qmlprofilerruncontrol.h",
50
            "qmlprofilersettings.cpp", "qmlprofilersettings.h",
51 52
            "qmlprofilerstatemanager.cpp", "qmlprofilerstatemanager.h",
            "qmlprofilerstatewidget.cpp", "qmlprofilerstatewidget.h",
53
            "qmlprofilerstatisticsmodel.cpp", "qmlprofilerstatisticsmodel.h",
54
            "qmlprofilerstatisticsview.cpp", "qmlprofilerstatisticsview.h",
55
            "qmlprofilertextmark.cpp", "qmlprofilertextmark.h",
56
            "qmlprofilertimelinemodel.cpp", "qmlprofilertimelinemodel.h",
57
            "qmlprofilertool.cpp", "qmlprofilertool.h",
58
            "qmlprofilertraceclient.cpp", "qmlprofilertraceclient.h",
59 60 61
            "qmlprofilertracefile.cpp", "qmlprofilertracefile.h",
            "qmlprofilertraceview.cpp", "qmlprofilertraceview.h",
            "qmlprofilerviewmanager.cpp", "qmlprofilerviewmanager.h",
62
            "qmltypedevent.cpp", "qmltypedevent.h",
63
            "scenegraphtimelinemodel.cpp", "scenegraphtimelinemodel.h",
64 65 66 67 68 69
        ]
    }

    Group {
        name: "QML"
        prefix: "qml/"
70
        files: ["qmlprofiler.qrc"]
71
    }
72 73 74

    Group {
        name: "Unit tests"
75
        condition: qtc.testsEnabled
76 77 78
        prefix: "tests/"
        files: [
            "debugmessagesmodel_test.cpp", "debugmessagesmodel_test.h",
79
            "flamegraphmodel_test.cpp", "flamegraphmodel_test.h",
80
            "flamegraphview_test.cpp", "flamegraphview_test.h",
81
            "inputeventsmodel_test.cpp", "inputeventsmodel_test.h",
82
            "localqmlprofilerrunner_test.cpp", "localqmlprofilerrunner_test.h",
83
            "memoryusagemodel_test.cpp", "memoryusagemodel_test.h",
84
            "pixmapcachemodel_test.cpp", "pixmapcachemodel_test.h",
85
            "qmlevent_test.cpp", "qmlevent_test.h",
86
            "qmleventlocation_test.cpp", "qmleventlocation_test.h",
87
            "qmleventtype_test.cpp", "qmleventtype_test.h",
88
            "qmlnote_test.cpp", "qmlnote_test.h",
89
            "qmlprofileranimationsmodel_test.cpp", "qmlprofileranimationsmodel_test.h",
90
            "qmlprofilerattachdialog_test.cpp", "qmlprofilerattachdialog_test.h",
91 92
            "qmlprofilerbindingloopsrenderpass_test.cpp",
            "qmlprofilerbindingloopsrenderpass_test.h",
93
            "qmlprofilerclientmanager_test.cpp", "qmlprofilerclientmanager_test.h",
94
            "qmlprofilerconfigwidget_test.cpp", "qmlprofilerconfigwidget_test.h",
95 96
        ]
    }
Joerg Bornemann's avatar
Joerg Bornemann committed
97
}