pro2cmake: Fix singleton declaration
The singleton modifier must be written without square brackets. Task-number: QTBUG-87684 Change-Id: I924bbf97789edd7f2b4f2b9bbca2cb99841d2906 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>bb10
parent
748b3b9c89
commit
b9bdea3b07
|
|
@ -696,7 +696,7 @@ class QmlDir:
|
|||
raise RuntimeError("Unexpected QmlDir file line entry")
|
||||
if entries[0] == "module":
|
||||
self.module = entries[1]
|
||||
elif entries[0] == "[singleton]":
|
||||
elif entries[0] == "singleton":
|
||||
self.handle_file_singleton(entries[1], entries[2], entries[3])
|
||||
elif entries[0] == "internal":
|
||||
self.handle_file_internal(entries[1], entries[2])
|
||||
|
|
|
|||
Loading…
Reference in New Issue