qhexedit2 icon indicating copy to clipboard operation
qhexedit2 copied to clipboard

How to install on qt6?

Open RomanRybachek opened this issue 2 years ago • 4 comments

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.

RomanRybachek avatar Sep 26 '23 09:09 RomanRybachek

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/

redtide avatar Sep 27 '23 13:09 redtide

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.

RomanRybachek avatar Sep 28 '23 11:09 RomanRybachek

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.

redtide avatar Sep 28 '23 14:09 redtide

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.

RomanRybachek avatar Sep 29 '23 12:09 RomanRybachek