当前位置:网站首页>Scholar magic changes QT creator plug-in framework (with examples)

Scholar magic changes QT creator plug-in framework (with examples)

2022-06-21 11:12:00 yantuguiguziPGJ

This is a   Earth salt   Of the 180 Original articles

cb5e49823f285cbe7ee29aca5fccecf6.png

1

Hello everyone , I am earth salt .

The company has changed seats recently , My station has changed to the brightest area .

But , I'm not feeling well .

I said that my titanium alloy was blinded gou eye .

I have to learn Dao Lang at work , Wear a hat , shading .

I , Too south .

2

Today, I learned about the controller development , I can't understand a sentence .

# https://github.com/XieMingyou/RobotController/tree/master/RobotController
while (memset(fileBuf, 0, sizeof(fileBuf)), (size = recv(sClient, fileBuf, sizeof(fileBuf), 0)) > 0)

That doesn't mean :while(a,b>0) .

I mean, it's not uncommon , puzzled .

3

To study the QT Framework system , I found some materials for learning about Niuba's plug-in system .

https://github.com/Waleon/QES
https://github.com/visualfc/liteide 
https://github.com/qgis/QGIS

Learn from the example of the secondary development of a big man who is possessed by magic .

To introduce and use ExtensionSystem, I wrote a simple program , be known as QES(Qt ExtensionSystem Abbreviation ). 

There is the overall loading process of plug-ins , And two test plug-ins  - coreplugin and helloworld.

Through this example program , You can easily put ExtensionSystem Migrate to your own project , And can quickly write their own plug-ins .

https://mp.weixin.qq.com/s/52m_HgrWR7Z_s9-cGrZNsw

if really , The third plug-in will be made soon HelloMyPlugin.

b750574fa34aa2fb045a147869ebdbb9.png

But only in debug Run in mode .

stay realease In mode , I tried my best , I didn't bite it .

4

‍‍‍‍‍‍ Learn to modify examples and compile results , I put it on Baidu cloud disk .

Here to share .

 link :https://pan.baidu.com/s/1I8hWFzrTf2KLDhS7YHj5NQ 
 Extraction code :xalc

--End--

原网站

版权声明
本文为[yantuguiguziPGJ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/172/202206211057155951.html