TapzCrew/xmake-project-manager

How can I install this plugin on macOS?

waruqi opened this issue · 16 comments

My Qt Creator: 6.0.1

image

image

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

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.

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

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

image

But I cannot found it in kits

image

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

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

yes

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

cpp files are not loaded, only xmake.lua

image

image

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

Should I select which kit? xmake tool kit not found

image

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

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

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

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

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

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