Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

How can I install this plugin on macOS? #4

Open
waruqi opened this issue Jan 7, 2022 · 16 comments
Open

How can I install this plugin on macOS? #4

waruqi opened this issue Jan 7, 2022 · 16 comments

Comments

@waruqi
Copy link

waruqi commented Jan 7, 2022

My Qt Creator: 6.0.1

image

image

@Arthapz
Copy link
Collaborator

Arthapz commented Jan 7, 2022

for now you need to copy the .dylib from QtCreator.app/Content/plugins/plugin.dylib to your QtCreator.app/Content/plugins/

Capture d’écran 2022-01-07 à 03 26 00

Capture d’écran 2022-01-07 à 03 31 58

@waruqi
Copy link
Author

waruqi commented Jan 7, 2022

Thanks, I have installed this plugin now. But I don't known that how to create/open a xmake project and call xmake to build it.

image

image

the open button is gray.

@Arthapz
Copy link
Collaborator

Arthapz commented Jan 7, 2022

First you need to check if XMake has been detected

Capture d’écran 2022-01-07 à 18 03 19

Capture d’écran 2022-01-07 à 18 04 13

and after you do file > open > your main xmake.lua and it will open the project

@waruqi
Copy link
Author

waruqi commented Jan 8, 2022

It cannot auto detect xmake. I added it manually now.

image

But I cannot found it in kits

image

@Arthapz
Copy link
Collaborator

Arthapz commented Jan 8, 2022

If you select the Qt 6.2.2 kit don't have the XMake tool at the bottom ?

@waruqi
Copy link
Author

waruqi commented Jan 8, 2022

If you select the Qt 6.2.2 kit don't have the XMake tool at the bottom ?

yes

@Arthapz
Copy link
Collaborator

Arthapz commented Jan 8, 2022

If you select the Qt 6.2.2 kit don't have the XMake tool at the bottom ?

yes

Ok, so now you can try load a XMake.lua

@waruqi
Copy link
Author

waruqi commented Jan 9, 2022

cpp files are not loaded, only xmake.lua

image

image

@Arthapz
Copy link
Collaborator

Arthapz commented Jan 9, 2022

Automatic configuration is not currently implemented, so you need to right click on testvv > configure

@waruqi
Copy link
Author

waruqi commented Jan 9, 2022

Should I select which kit? xmake tool kit not found

image

@waruqi
Copy link
Author

waruqi commented Jan 9, 2022

oh, I need add a custom kit manually. I can select xmake configuration, but I cannot build project. the build button is gray.

image

image

@Arthapz
Copy link
Collaborator

Arthapz commented Jan 9, 2022

The Qt 6.2.2 Kit default kit should be fine, can you screenshot me this kit ?

@waruqi
Copy link
Author

waruqi commented Jan 10, 2022

I found the default kit has xmake tool configuration. I need not add it manually. But the build button is still gray after I configured project.

image
image
image

@Arthapz
Copy link
Collaborator

Arthapz commented Jan 11, 2022

i've made a video to show how to do https://www.youtube.com/watch?v=ZL5fVfjYmKk

@waruqi
Copy link
Author

waruqi commented Jan 12, 2022

Thanks, I watched your video and probably know how to do it. However, I still encountered a problem. When I click configure menu item to configure the project, Qt Creator crashes and exits.

image

Here is its crash log.

crash.txt

@Arthapz
Copy link
Collaborator

Arthapz commented Jan 20, 2022

I think the issue Is related to chinese locale, i will setup a VM to do some tests

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

No branches or pull requests

2 participants