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

Open With -> Mark Down Edit_View doesn't work #6

Open
nkh-lab opened this issue Aug 11, 2021 · 3 comments
Open

Open With -> Mark Down Edit_View doesn't work #6

nkh-lab opened this issue Aug 11, 2021 · 3 comments
Assignees

Comments

@nkh-lab
Copy link

nkh-lab commented Aug 11, 2021

Spent a several hours to compile this stuff, due to lack information in README about:

  • fetching externals like git submodules;
  • required cmake version greater than 3.12;
  • used QTCreator should be with plugin dev stuff (not a part of Qt pack).

And after compiling and running QTCreator with given plugin, preview window is not showed (by clicking on *.md file "Open With -> Mark Down Edit_View") and when you try to open preview in "Split Side by Side" mode QTCreator totally crashes with segmentation fault:

nikolay@nikolay-Lenovo-ideapad-700-15ISK:~/Programs/qtcreator-4.15.2/bin$ ./qtcreator -pluginpath /home/nikolay/Projects/My/MarkdownEditView/build/lib/qtcreator/plugins
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
ConnectionServer error: "QLocalSocket: Remote closed" "/tmp/QtCreator-xUvyyS/ClangBackEnd-7699"
Segmentation fault (core dumped)

@erdinc09 erdinc09 self-assigned this Aug 22, 2021
@erdinc09
Copy link
Owner

Hi nkh-lab,

Sorry for the late response.

fetching externals like git submodules;

In the example commands I have already documented it with git clone --recursive -j8 https://github.com/erdinc09/MarkdownEditView.git

required cmake version greater than 3.12;

I fixed it, sorry. To 3.18.3 version.

used QTCreator should be with plugin dev stuff (not a part of Qt pack).

It is already documented in QtCreator plugin build commands, but I also updated the readme with all commands. Please see the how-to-build section. Does it seem OK now?

And after compiling and running QTCreator with given plugin, preview window is not showed (by clicking on *.md file "Open With -> Mark Down Edit_View") and when you try to open preview in "Split Side by Side" mode QTCreator totally crashes with segmentation fault:

I have published a release for 4.15.2 version. I tested it in MacOS, it works. Have you installed the dependencies which is explained in how-to-install section?

@erdinc09
Copy link
Owner

Also, there is a GitHub action which builds the plugin for three major platforms. Please see the build_cmake.yml.

The releases are generated from this GitHub action.

@erdinc09
Copy link
Owner

Can you please try the new version 1.5.0? There was a linking problem in linux. I just fixed that.

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

2 participants