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

Add Spotify demo #20

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Add Spotify demo #20

wants to merge 6 commits into from

Conversation

Vertexwahn
Copy link
Owner

@Vertexwahn Vertexwahn commented Jan 11, 2024

This PR adds a Spotify demo that is described in the Qt QML Book

Current Status

Currently, it is not working since there is no qt_add_qml_module rule in rules_qt6. Maybe with some workaround, this demo could get working. I know to less about the details of qt_add_qml_module to implement it currently.

The rules only compile on macOS currently where an up to date version of Qt is fetched. When running the demo on macOS via bazel run --config=macos //Spotify:SpotifyOAuth there is a runtime error:

INFO: Running command line: bazel-bin/Spotify/SpotifyOAuth
QQmlApplicationEngine failed to load component
qrc:/Spotify/main.qml:52:5: SpotifyAPI is not a type

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.

1 participant