-
Notifications
You must be signed in to change notification settings - Fork 8
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
Qt Creator crashes on startup after this plugin is installed (4.9.0-rc1, macOS 10.14) #8
Comments
Hi @Jerry-Ma, Latest version I checked qnvim with is 4.8.2 (worked both in Ubuntu 18.10 and macOS 10.14). I'll check QtCreator 4.9 this weekend. Meanwhile it'll be great if you could see it's working in 4.8.2 on your machine. I can think of this things:
This error shouldn't be related with qnvim, Code and TextEdit are internal plugins of QTC. Are you sure you checked out 4.9.0-rc1 tag in QTC code base? These kind of errors raise when there's a version mismatch.
You shouldn't need to copy |
Thanks for the reply. I double checked the versions and they do match. In particular, when I run the built-from-source QTC, whose build tree is used to build qnvim , I till get the missing dependencies error dialog. Just to make sure, I also installed Qt 10.12.2, which is the SDK that is used to build the official QTC. I compiled everything using this Qt version but still get the same issue. |
Are you able to run your compiled QTC without qnvim? (random question until I get the time to test it on my machine, in hopes that you can run it as soon as possible.) |
Yes. My compiled QTC runs normally. |
@Jerry-Ma it should be fixed now. |
@sassanh Thank you very much for investigate it. Unfortunately it still shows up the same dependency could not load error. I guess someday I'll try do it with older version of the QTC, just to see if it is bound to 4.9.x only or it is due to my build environment. |
@Jerry-Ma I'm wondering why it doesn't work for you, it works here. If you have the time we can work on it. First step would be to give me an screen shot of the error dialog (or copy the error text in case it's seen in terminal.) |
Please see the attached screenshots. Thank you! |
Thanks, it depends on version So my suggestion is:
I hope it works for you this time. |
@sassanh Thank you very much for the insight. After cleanup everything and re-compile, now I am able to get nvim inside QTC, great. However, there is still one problem: If I run the macOS app Qt Creator.app, as soon as I do anything related to QNVIM, the program crashes. See attached crash report. If I go into the Qt Creator.app directory and manually call the executable there |
I'm glad you were able to make it work for you. I'm sorry for all the inconveniences, most of it is due to the fact that qnvim is a separate plugin, if for example I'll try to update installation instructions in
Running macOS on my laptop is a bit tricky (It doesn't work with my HDMI port so I have to connect a VGA monitor and the VGA monitor is packed in my store. But I'll try to do it in coming days. Meanwhile I guess it may be an environment variable issue. To check this you can run 2 instances of Qt Creator, one by running For easier comparison you can consider clicking on |
You are totally correct about the env. If I lunch QTC from a terminal using either The open terminal button for some reason does not work for me, so I cannot dump the list of env vars easily, instead I just attach some screenshots. One obvious work around is to fix my macOS so that it loads the If you have better way please let me know. This is launched from terminal: Then launched from system Gui (the Dock): |
Considering you said that it's working for you when you open it in terminal, it seems like the issue is not related to qnvim, we can create another issue for improving documentation or bootstrapping to ease the setup process for developers, but I think the main issue here is resolved, please feel free to reopen. |
Hi,
First, thank you very much for your work. This is brilliant!
However, I tried to compile the plugin with the latest QTC 4.9.0-rc1, and it succeeded, but QTC won't start.
Things that I did:
Observation 1:
Run the built QTC (run my installed QTC version (also 4.9.0-rc1) results in the identical behavior):
A dialog pops up saying the dependencies (Core and TextEdit) is not found, qnvim plugin is not loaded.
Observation 2:
Copy the libCore.dylib and libTextEdit.dylib to the same folder as the plugin (~/Libarary ...),
run QTC:
The program fails to start.
Any ideas? I am on macOS 10.14, Qt version 5.12.1
The text was updated successfully, but these errors were encountered: