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

ERROR: QQuickStyle::setStyle() must be called before loading QML that imports Qt Quick Controls 2 #10

Closed
youegraillot opened this issue Nov 18, 2024 · 4 comments · Fixed by #25

Comments

@youegraillot
Copy link

Looks like a style issue :

image

nov. 18 17:55:36 y-desktop hyprpolkitagent[2241]: Listener adapter polkit_qt_listener_initiate_authentication
nov. 18 17:55:36 y-desktop hyprpolkitagent[2241]: GSimpleAsyncResult: 0x4d24000
nov. 18 17:55:36 y-desktop hyprpolkitagent[2241]: polkit_qt_listener_initiate_authentication callback for  0x473cea0
nov. 18 17:55:36 y-desktop hyprpolkitagent[2241]: ERROR: QQuickStyle::setStyle() must be called before loading QML that imports Qt Quick Controls 2.
nov. 18 17:55:37 y-desktop hyprpolkitagent[2241]: qrc:/qt/qml/hpa/qml/main.qml:97:17: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<a>
nov. 18 17:55:37 y-desktop hyprpolkitagent[2241]: qrc:/qt/qml/hpa/qml/main.qml:72:17: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<a>
nov. 18 17:55:37 y-desktop hyprpolkitagent[2241]: REQUEST
nov. 18 17:56:02 y-desktop hyprpolkitagent[2241]: COMPLETED
nov. 18 17:56:02 y-desktop hyprpolkitagent[2241]: Listener adapter polkit_qt_listener_initiate_authentication_finish
nov. 18 17:56:02 y-desktop hyprpolkitagent[2241]: polkit_qt_listener_initiate_authentication_finish callback for  0x473cea0

I'm on 0.1.1 in hyprland

@vaxerski
Copy link
Member

@outfoxxed any ideas? works on my end. Do you have qqc2-desktop-style installed?

@youegraillot
Copy link
Author

Also I'm on nixos
I added qqc2-desktop-style, now I'm getting this :
image

Theme looks correctly loaded, but layout is still cropped (I cannot resize the window)

nov. 19 14:56:34 y-desktop hyprpolkitagent[175255]: Adding new listener  PolkitQt1::Agent::Listener(0x1a3f44b0) for  0x1a3f4ea0
nov. 19 14:56:36 y-desktop hyprpolkitagent[175255]: Listener adapter polkit_qt_listener_initiate_authentication
nov. 19 14:56:36 y-desktop hyprpolkitagent[175255]: GSimpleAsyncResult: 0x1a44c080
nov. 19 14:56:36 y-desktop hyprpolkitagent[175255]: polkit_qt_listener_initiate_authentication callback for  0x1a3f4ea0
nov. 19 14:56:36 y-desktop hyprpolkitagent[175255]: qrc:/qt/qml/hpa/qml/main.qml:97:17: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(>
nov. 19 14:56:36 y-desktop hyprpolkitagent[175255]: qrc:/qt/qml/hpa/qml/main.qml:72:17: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(>
nov. 19 14:56:36 y-desktop hyprpolkitagent[175255]: REQUEST
nov. 19 14:56:37 y-desktop hyprpolkitagent[175255]: COMPLETED
nov. 19 14:56:37 y-desktop hyprpolkitagent[175255]: Listener adapter polkit_qt_listener_initiate_authentication_finish
nov. 19 14:56:37 y-desktop hyprpolkitagent[175255]: polkit_qt_listener_initiate_authentication_finish callback for  0x1a3f4ea0

@vaxerski
Copy link
Member

can you try pulling git and not 0.1.1?

@X07U
Copy link

X07U commented Dec 8, 2024

hyprpolkit

same issue, also on Nixos. Pulling git doesn't change anything. My theme actually works even without qqc2.

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 a pull request may close this issue.

3 participants