Can QT programming be combined with other third-party libraries and native APIs? (with ZEROMQ QT package, you can also easily use the Python library)

Source: Internet
Author: User

Watanabe White Jade
Links: http://www.zhihu.com/question/29030777/answer/59378712
Source: Know
Copyright belongs to the author, please contact the author for authorization.

Yes, very well, you can directly include someone else's source code, or call the library.
I'll give you a couple of other libraries on GitHub:
QASIOSOCKET:QT ASIO (package) replaces QT inefficient Qtcpserver:dushibaiyu/qasiosocket GitHub
QLIB7Z:QT 7z SDK Package, decompression compression 7z:dushibaiyu/qlib7z GitHub
QAES:QT AES Encryption and decryption package: Dushibaiyu/qaes GitHub
QRUNINFO:QT Obtaining System Information encapsulation: Dushibaiyu/qruninfo GitHub
And then I used:
NZMQT:ZEROMQ qt Package: JONNYDEE/NZMQT GitHub
Qt_eventdispatcher_libev:libev-based Event Dispatcher for Qt:sjinks/qt_eventdispatcher_libev GitHub
Quazip:zlib QT Package, compression decompression zip:http/quazip.sourceforge.net/

There are many more,
The Chinese also have a Qtav: encapsulated FFmpeg, instead of the QT multimedia build: Wang-bin/qtav GitHub
If you are referring to the library how to load, there is said above.
There are also considerations for event loops. ------------------------------------------------------------------------------------------------------------can refer to the QPA section , which is basically the main part of QT and OS API integration.

Third-party libraries without their own event loops, integration is generally easier. There are event loops that need to be dealt with in particular. If you do not need to be in the main thread, you can run a third-party event loop, and if you must be in the main thread, you will need to work with the Qt event loop to refer to Qeventdispatcherglibhttps://github.com/qtproject/qtbase/blob/dev/src/corelib/kernel/qeventdispatcher_glib_p.h

Bright
Links: http://www.zhihu.com/question/29030777/answer/42948399
Source: Know
Copyright belongs to the author, please contact the author for authorization. ------------------------------------------------------------------------------------------------------------me about loading the third-party class library ( But I think the system API part is the same), actually very easy ah. Just configure the path in the. Pro file, can I understand the problem?
I used Python in Qt. Turn out pro take a look, here, that's it. The boost library is similar.
INCLUDEPATH += D:\\python27\\includeLIBS += -LD:\\python27\\libs -lpython27

------------------------------------------------------------------------------------------------------------
Lausanne
Links: http://www.zhihu.com/question/29030777/answer/42956588
Source: Know
Copyright belongs to the author, please contact the author for authorization. Use Pyside, do not use PYQT unless you want to put your product GPL or you are ready to pay for the commercial version.

Pyside does not support QT5, and has not been updated for a while, but there is no big problem with it.

Can QT programming be combined with other third-party libraries and native APIs? (with ZEROMQ QT package, you can also easily use the Python library)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.