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

Changing Qt Quick Controls Style #8

Open
Anvell opened this issue Jun 25, 2017 · 7 comments
Open

Changing Qt Quick Controls Style #8

Anvell opened this issue Jun 25, 2017 · 7 comments
Assignees
Labels

Comments

@Anvell
Copy link

Anvell commented Jun 25, 2017

Hello,

is there any way to change Qt Quick Controls style, besides using enviroment variable?

I can't find any way to pass arguments to Qt and binding for QQuickStyle::setStyle() is not available either.

@filcuc
Copy link
Owner

filcuc commented Jun 25, 2017

i will expose the argc, argv to Q{Core, Gui, }Application and QQuickStyle in DOtherSide

@filcuc filcuc self-assigned this Jun 25, 2017
@filcuc filcuc added the bug label Jun 25, 2017
@filcuc
Copy link
Owner

filcuc commented Jun 25, 2017

Opened filcuc/dotherside#63

@Anvell
Copy link
Author

Anvell commented Jun 25, 2017

Cool, thanks!

@arkanoid87
Copy link

I think this should be closed

@filcuc
Copy link
Owner

filcuc commented Jan 3, 2022 via email

@arkanoid87
Copy link

my fault, I saw this closed filcuc/dotherside#63 and I though it was a dangling issue. Sure thing, it requires proper nim binding

I'm not a C++ developer nor expert in binding, is it just about adding:

src/nimqml/private/dotherside.nim

# QQuickStyle
proc dos_qquickstyle_set_style(style: cstring) {.cdecl, dynlib: dynLibName, importc.}
proc dos_qquickstyle_set_fallback_style(style: cstring) {.cdecl, dynlib: dynLibName, importc.}

and write proper

src/nimqml/private/qquickstyle.nim

and include it in

src/nimqml/nimqml.nim

correct?

@filcuc
Copy link
Owner

filcuc commented Jan 3, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants