https://bugs.kde.org/show_bug.cgi?id=366620

            Bug ID: 366620
           Summary: the minimal example given at the start page of
                    kirigami docs is broken
           Product: kirigami
           Version: unspecified
          Platform: Other
               URL: https://api.kde.org/kirigami/html/index.html
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: notm...@gmail.com
          Reporter: accounts+bugs....@florianjacob.de

I tried to copy the example code to a file and execute it as it was the first
kirigami code I found that I could try out, but it did not run.

Reproducible: Always

Steps to Reproduce:
1. copy the example in a file, e.g. example.qml
2. execute it with qml example.qml

Actual Results:  
QQmlApplicationEngine failed to load component
file:///home/florian/test.qml:41 Action is not a type

and, after fixing the actions:

file:///home/florian/test.qml:73: ReferenceError: sheet is not defined
file:///home/florian/test.qml:42: ReferenceError: sheet is not defined

Expected Results:  
executing the sample with no error

>From line 40 onwards, the example uses Action instead of Kirigami.Action, which
seems to cause an import error.

After I replaced all „Action“ with „Kirigam.Action“ the file executes, but
throws an error about the used sheet variable.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to