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 to install on qt6? #148

Open
RomanRybachek opened this issue Sep 26, 2023 · 4 comments
Open

How to install on qt6? #148

RomanRybachek opened this issue Sep 26, 2023 · 4 comments

Comments

@RomanRybachek
Copy link

Hello, how to install the plugin to qt creator? I tried to build a dll and install it via Help->About Plugins->Install Plugin, but it does not work. I use qt6 in my project. The dll was built via qmake/qmake6 and MinGW 11.2.0. Qhexedit widget did not appear among other widgets.

@redtide
Copy link

redtide commented Sep 27, 2023

I'm afraid you should build the plugin with VS20**, see:
https://doc.qt.io/qtcreator/adding-plugins.html#matching-build-keys

I tried on Linux using qmake6 and works as following (if someone else on Linux wanted to know):

mkdir build && cd build
qmake6 ../src/qhexeditplugin.pro
make
sudo cp qhexeditplugin* /usr/lib/qt6/plugins/designer/

@RomanRybachek
Copy link
Author

I'm afraid you should build the plugin with VS20**, see: https://doc.qt.io/qtcreator/adding-plugins.html#matching-build-keys

I tried on Linux using qmake6 and works as following (if someone else on Linux wanted to know):

mkdir build && cd build
qmake6 ../src/qhexeditplugin.pro
make
sudo cp qhexeditplugin* /usr/lib/qt6/plugins/designer/

Thank you for help, but this solution does not work for me.

@redtide
Copy link

redtide commented Sep 28, 2023

have you read in the link above? Of course the Linux one doesn't, I wrote it for other people reading this issue in future.
In the link you see that probably you need to build the project with Visual Studio.

@RomanRybachek
Copy link
Author

have you read in the link above? Of course the Linux one doesn't, I wrote it for other people reading this issue in future. In the link you see that probably you need to build the project with Visual Studio.

Yes, i read it. I have built plugin with vs2022 and vs2019.

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