Skip to content

Conversation

@Aksem
Copy link
Collaborator

@Aksem Aksem commented Aug 18, 2021

Closes #24

@Aksem Aksem requested a review from KitsuneRal August 18, 2021 08:47
@Aksem Aksem changed the base branch from master to roomlist August 18, 2021 08:47
Copy link
Member

@KitsuneRal KitsuneRal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall it looks good, aside from a couple of questions below.

def __init__(self, *args, **kwargs) -> None:
super().__init__(*args, **kwargs)

QtQml.qmlRegisterUncreatableType(Quotient.EventStatus, 'Quotient', 1, 0, 'EventStatus', 'EventStatus is not a creatable type')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose this doesn't work now that EventStatus is a namespace (since yesterday in master - sorry for taking time to resolve this)?

# Resource object code (Python 3)
# Created by: object code
# Created by: The Resource Compiler for Qt version 6.1.1
# WARNING! All changes made in this file will be lost!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this file be under version control or does the build system recreate it every time the bindings are generated?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we decide. Actually, it's not generated in build system, but it's easy to do so. Should I? It's autogenerated python wrapper for resources, so it makes sense, yes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed, let's make generation of this file a part of the build sequence; but please double-check with PySide people what they think about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Week 8: Validate Python/QML interface

3 participants