Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chat: don't use incomplete types with signals/slots/Q_INVOKABLE #2408

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

cebtenzzre
Copy link
Member

main fails to build since #2401 (oops).

The error is somewhere deep in C++ code generated by MOC, related to Database::handleEmbeddingsGenerated. It seems like you aren't allowed to use incomplete types with signals, slots, and Q_INVOKABLE methods, so this PR replaces the corresponding forward declarations with #includes.

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
@manyoso manyoso merged commit 41c9013 into main Jun 6, 2024
5 of 9 checks passed
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.

2 participants