-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Q_GADGET to avoid needing to wrap things in QObject instances
Now QVector<WorldMapEntry> and QVector<WorldPattern> can be exposed to JS directly. This only works with Qt 6 (tested with 5.15, 6.5 and 6.6), but I don't think it's worth supporting these properties for Qt 5 builds. Also removed World.displayName, since I think this was just a convenience member which isn't very useful to add to the scripting API. In the end it was just returning the file name part of the path returned by World.fileName. Improved the documentation in a few places.
- Loading branch information
Showing
8 changed files
with
114 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.