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

How can i install to qt's directory qml #94

Closed
gersure opened this issue Dec 27, 2020 · 2 comments
Closed

How can i install to qt's directory qml #94

gersure opened this issue Dec 27, 2020 · 2 comments

Comments

@gersure
Copy link

gersure commented Dec 27, 2020

i want to use in qtcreator, but now can't make it

@OlivierLDff
Copy link
Owner

OlivierLDff commented Dec 27, 2020

I think it is the same as #78
I don't have time to support that for now, but feel free to pull request.
Qaterial should be compiled as a plug-in for that.

What do you mean by use in qtcreator?

@ssakone
Copy link
Contributor

ssakone commented Dec 29, 2020

You have to create qt project as cmake in QtCreator first after add this line on your cmakefile after find_package line
include(FetchContent) FetchContent_Declare( Qaterial GIT_REPOSITORY https://github.com/OlivierLDff/Qaterial.git GIT_TAG master GIT_SHALLOW 1 ) FetchContent_MakeAvailable(Qaterial)
target_link_libraries(... Qaterial)
dont forgot to add Qaterial in target_link_libraries,

after follow for the next step instruction here https://olivierldff.github.io/Qaterial/Quickstart.html,
if you want to add Qaterial completion and syntax recongnition in QtCreator
copy in Qaterial repos qml/Qaterial ---> folder in your qt installation directory like (Qt__path)/version/compiler(msvc2019)/qml

@gersure gersure closed this as completed Jan 7, 2021
@gersure gersure reopened this Jan 7, 2021
@gersure gersure closed this as completed Jan 7, 2021
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

No branches or pull requests

3 participants