码迷,mamicode.com
首页 > 其他好文 > 详细

awesome-qt

时间:2017-07-16 11:25:53      阅读:469      评论:0      收藏:0      [点我收藏+]

标签:cin   tno   ogr   rom   bre   ane   node   mini   index   

Awesome Qt 技术分享

技术分享

A curated list of awesome tools, libraries, and resources for the Qt framework.

Qt is a powerful cross-platform application development framework, for use primarily (but not exclusively) in C++. It‘s great for GUI applications, but can be used for many other things as well.

Contributions are welcome!

Conventions

  • Any list item with an OctoCat 技术分享 has a GitHub repo or organization; click on it to see the source code!
  • List items with this 技术分享 icon have source code hosted elsewhere.

Contents

Official Resources

  • Official Website - The official website for the Qt framework.
  • Qt Documentation - Official Qt documentation. Massive and comprehensive.
  • Qt Newsletters - The best of Qt, straight to your spam filter.
  • Qt Bug Tracker - If you think you‘ve found a bug with Qt or one of its related projects, report it here (or see if someone else already has).
  • Qt Code Review - See how the Qt maintainers ensure their code is well-written.
  • Source Code - Browse the various source trees that comprise the Qt project. Has mirrors at several GitHub organizations:
    • Qt 技术分享
    • Qt Project 技术分享
    • Qt Labs 技术分享

Communities

If you build it, they will come. This section describes aggregations of Qt users who share knowledge and code with one another. The most popular and active communities are listed in this section, but you can find a more comprehensive list here (that includes several in other languages) if you‘d prefer.

Official

  • Mailing Lists - Mailing lists for users and developers of Qt alike. Arguably the best place to communicate directly with Qt‘s maintainers. Sees frequent activity.
  • Qt Forum - If e-mail‘s not your thing, then you might also consider getting help or sharing knowledge on the forums.
  • Qt Wiki - The premier source for user-contributed Qt knowledge.
  • IRC - For real-time chat with other Qt developers and users. The most popular channels are on Freenode, and include #qt,#qt-quick#qt-creator, and #qt-chat.
    • For a full list of Qt-related IRC channels, see here.
    • Note that the linked webchat client is not a part of the Qt project, and is provided by the author of this list for convenience only. These channels can be accessed through any IRC client.

Unofficial

Tools

A good developer writes his or her own tools. A great one uses tools others wrote. This section will help you be great; more formally, this section details applications that make it easier to create software with Qt. You may also be interested in theLibraries section.

Official Tools

The Qt framework has surprisingly many tools that don‘t get the spotlight. This section describes them (as well as the star players that do). For the purpose of this section, "tool" refers to Qt-centric utilities whose code does not get embedded within your application (but their output might).

  • Qt Creator 技术分享 - By no means does Qt lock you into its provided IDE, but its firm integration with the framework makes it a good sell. Among other things, it provides a UI designer, modeling tools, a documentation browser, and great QML support if you‘re into that sort of thing. There‘s also a plugin system, but third-party plugins are unfortunately scarce.
    • Qt Designer 技术分享 - If you‘d rather just design the interfaces and let someone else hook them up to logic, the GUI designer is available as a separate application.
    • Qt Assistant 技术分享 - So is the documentation viewer, for that matter.
  • Qt Visual Studio Add-in 技术分享 - If you‘d rather stick to Visual Studio, this add-in will let you do that.
  • Qt Linguist 技术分享 - Qt provides excellent internationalization/localization support, and this tool is very much responsible for it. Write translatable strings in your code with special macros, and this tool will aggregate them all for you so you or your translator(s) can broaden your software‘s audience.
  • Qt Installer Framework 技术分享 - Nobody seems to talk about this, but Qt also provides a way to write an installer for your application. Does not support creation of macOS disk images, app bundles, or Linux packages, so be mindful of that when considering your project‘s distribution.
    • macdeployqt 技术分享 - Generates macOS application bundles for Qt projects.
  • qmake 技术分享 - The bundled build system designed for Qt, though it can be used for non-Qt projects.
  • qbs 技术分享 - If QML is more your style, consider this alternative build system.
  • Emulator - Don‘t forget about Qt‘s mobile support!
  • qtdiag 技术分享 - Command-line tool that prints out a lot of information pertaining to both your Qt installation and your system in general. No link because there‘s no dedicated web page; just run qtdiag on the command line. Excellent for troubleshooting.
  • qmleasing 技术分享 - Lets you make easing curves suitable for QML, though if you understand the underlying math there‘s no reason you couldn‘t use the resulting numbers elsewhere.

Third-Party Tools

  • CMake 技术分享 - General C++ build tool that happens to have great Qt support.
  • GammaRay 技术分享 - Powerful debugger and general inspection tool for Qt-built software. Lets you inspect and manipulate theQObject hierarchy, view object properties, edit widgets at runtime, and far, far more. A two-sentence blurb can‘t do it justice, seriously check it out.
  • moc-ng 技术分享 - Alternative implementation of moc that‘s binary-compatible with Qt‘s version.
  • Qt-Inspector 技术分享 - Inspection tool with similar goals to GammaRay, though much simpler.
  • SIP 技术分享 - Generates Python bindings for C or C++ libraries. Has special support for Qt signals and slots, and was used to create PyQt.
  • linuxdeployqt 技术分享 - Lets you bundle your Qt based application as an AppDir or AppImage, making it possible to ship it to users of many desktop Linux distributions. Similar to the official windeployqt and macdeployqt tools but for Linux.

Bindings in Other Languages

This section describes software that enables creation of Qt software in a primary language other than C++. Libraries that allow run-time scripting in a Qt application are listed under Integrations.

  • Python (via PyQt) 技术分享 - Arguably the most comprehensive and well-known binding of Qt to another language.
  • Python (via PySide) 技术分享 - Another binding for Python, which has been officially adopted by the Qt project.
  • Ring (via RingQt) 技术分享 - I‘ve never heard of this language either, honestly.
  • Mono/.NET languages (via QtSharp) 技术分享 - Experimental wrapper for Qt that allows it to be used by .NET-based languages such as C#. Young, but active.

See these these three articles if you want more.

Libraries

This section describes two kinds of third-party libraries; those that provide their own brand-new functionality (e.g. widgets, dealing with particular file formats), and those that provide integrations with existing software (e.g. scripting languages, clients for REST APIs, implementations of established protocols).

Integrations

For the purpose of this section, an "Integration"-focused library does one of the following:

  1. Serves as a client for an established Web service.
  2. Wraps another library in a Qt-friendly manner as more than just an implementation detail (i.e. it tries to mimic the wrapped API).
  • mupdf-qt 技术分享 - Qt wrapper for the MuPDF PDF viewer.
  • neiasound 技术分享 - OpenAL wrapper designed for games, with stb_vorbis and libsndfile support.
  • PythonQt 技术分享 - Script your Qt applications with Python. Not to be confused with PyQt or PySide.
  • QScintilla 技术分享 - Absurdly versatile and customizable text editor widget that provides syntax highlighting, code completion, code folding, recordable macros, and much more. Built around Scintilla. Created by the same company that developedPyQt.
  • QtAwesome 技术分享 - Add Font Awesome icons to your Qt application. Other icon sets are supported, too.
  • QtLua 技术分享 - Use Lua as a scripting language for Qt-based software.
  • qtruby 技术分享 - Use Ruby as a scripting language within your application.
  • QuaZIP 技术分享 - Read from and write to ZIP archives. Uses Minizip under the hood.
  • VLC-Qt 技术分享 - Wrapper for libvlc that lets you add a VLC-like media player to your application.

New Functionality

  • Communi 技术分享 - Cross-platform IRC framework. We‘ve got enough IRC clients out there already, but I suppose this could also be used to implement a chat function in your application (e.g. for community support).
  • cutelyst 技术分享 - Web framework that takes some ideas from Perl‘s Catalyst framework.
  • DOtherSide 技术分享 - Binding for QML in C, primarily designed as an API for other languages to support QML.
  • glraw 技术分享 - Convert images from any Qt-supported format to OpenGL-format textures. Useful for speeding up texture loading in graphics applications.
  • grantlee 技术分享 - Django-inspired text templating.
  • injeqt 技术分享 - Dependency injection for Qt.
  • KDE Frameworks 技术分享 技术分享 - Metric ass-ton of libraries for KDE, but many of them can be used with regular Qt applications as well. Cross-platform, for the most part.
  • Marble 技术分享 - Virtual globe and map that can be used standalone or embedded within other applications.
  • qgexedit2 技术分享 - Embed a hex editor in your application.
  • qml-material 技术分享 - Material Design implemented in QML.
  • QNodeView 技术分享 - Widget that lets you create and edit nodes in a graph similar to the kind provided by Unreal Engine, Substance Designer, or PureData.
  • QSimpleUpdater 技术分享 - Let your application update itself.
  • qt-maybe 技术分享 - Fans of type theory will enjoy these sum and optional types.
  • qt-mustache 技术分享 - Render Mustache templates.
  • QtAV 技术分享 - Actively developed multimedia framework.
  • Qtilities 技术分享 - Powerful set of libraries that provide GUI, logging, testing, configuration, and project functionality (among other things) for your application.
  • QtitanChart - Chart generation framework. Commercial.
  • QtitanRibbon - For fans of the ribbons that Microsoft uses in their software. Commercial.
  • qtnotify 技术分享 - Notification framework.
  • QtTerminalWidget 技术分享 - Make your application capable of anything.
  • QtVerbalExpressions 技术分享 - Create regular expressions using natural English expressions. Part of the VerbalExpressionsproject, which does the same thing for a wide variety of languages.
  • qtwebserver 技术分享 - If you need to write a web application server in Qt for some reason, this‘ll help you along.
  • QtXlsx 技术分享 - Read and write spreadsheets in Microsoft Excel format.
  • Qwt 技术分享 - Qt widgets designed for scientific and technical applications.
  • V-Play - Cross-platform 2D game engine and app framework that relies heavily on QML. Has a lot of tools and resources, and may even deserve its own list.
  • verdigris 技术分享 - Experimental library to write Qt applications without using the moc.

Software Repositories

If the Libraries section doesn‘t satisfy you, perhaps one of these will.

  • #inqlude - The most well-known aggregation of Qt-centric libraries out there. A package manager is also available here.
  • QtPods - Another Qt-centric package manager. If you want to see the offerings without using QtPods, the full list is availablehere, and can be added to by submitting a pull request.
  • Linux-Apps.com - Despite the name, Linux-Apps.com aggregates a wide variety of Qt-based tools and libraries for both end-users and developers.
  • Stephan Binner‘s Ubuntu PPAs - Ubuntu users who are hesitant to install anything outside of their package managers can obtain any recent version of Qt from these repositories. Instructions for adding them are found within.

Blogs

Each entry is followed by a standout list of articles, talks, or other resources.

  • Planet Qt - Official aggregation of first-party and third-party Qt-related blogs.
  • ICS - Qt-centric software consulting firm with a really neat blog. Specializes in graphics applications.
    • Qt Tips and Tricks [12] - Odds and ends that might be nice to keep in your back pocket.
    • Mastering Qt File Selectors - Sometimes you need different variations of the same asset, but you won‘t know which ones to load until runtime. This class will decide for you.
    • Some Lesser Known Qt Tools and Commands [12345] - You don‘t find hidden gems by staying on the beaten path.
    • Using Self-Signed Certificates in Qt Code - Trust nobody.
    • Integrating C++ with QML - Talk to your scripting language. That‘s what it‘s there for.
    • Qt and OpenGL: Loading a 3D Model with Open Asset Import Library (Assimp) [12] - Assimp supports a lot of different model types; these articles will help you support all of them.
    • What‘s new in Qt 5: QStandardPaths - This feature‘s been around for a few years, but it‘s still useful enough to warrant an entry on this list.
    • What‘s New in Qt 5.2: QCommandLineParser - Another oldie, but still a goodie.
  • Woboq - Another software consulting firm that also contributes code to Qt. They seem to specialize in Qt‘s core architecture.
    • Moc myths debunked - The magic that Qt appears to rely in is really just a bunch of code generators. This post will bring you up to speed on the reality of the moc, the most notable one.
    • How Qt Signals and Slots Work [123] - Qt‘s signals/slots system lets any object talk to any other object. Understanding these three articles will help you take full advantage of the feature.
    • QMetaType knows your types - C++ isn‘t known for having good run-time type information, so Qt brings its own.
    • C++11 in Qt5 - Stop writing C++ like it‘s 2003; learn how you can take advantage of recent C++ features in your Qt applications.
    • C++14 for Qt programmers - s/2003/2011/
    • QStringLiteral explained - String literals are widely used in many applications; wouldn‘t it be nice if you could make them faster to access?
    • Nicer debug output in Qt using QT_MESSAGE_PATTERN - It‘s nice to be able to read your application‘s logs.
  • KDAB - Another consulting firm that specializes in Qt.

Books

Software that Uses Qt

A framework is only as great as the software that uses it. Fortunately, much great software uses Qt.

  • Autodesk Maya - 3D animation and design software that has been used to create visual effects for some of the most popular movies and TV shows of all time.
  • CMake 技术分享 - The closest thing to a standard C++ build system out there. The bundled GUI uses Qt.
  • CRYENGINE 技术分享 - But can it run Crysis? Some auxillary tools use Qt.
  • Doxygen 技术分享 - The most popular documentation generator for C++, though it supports other languages as well. The bundled GUI uses Qt.
  • Google Earth - The virtual globe.
  • KDE 技术分享 - One of the most popular desktop environments for Linux.
  • Malwarebytes - Your Windows desktop‘s personal bodyguard.
  • Parallels Desktop - Consumer-focused virtualization.
  • Qt Creator 技术分享 - Something something eating your own dog food. Listed in the official tools, but not listing it here doesn‘t feel right.
  • RUBE - Level design tool for any game that uses the Box2D physics engine.
  • Skype - Yes, that Skype. Only the Linux version uses Qt.
  • TeamSpeak - When gamers want to voice chat in a game that doesn‘t support it, they‘ll use this.
  • Telegram Desktop 技术分享 - Secure your conversations so well, you‘ll raise the blood pressure of potential eavesdroppers. The desktop client uses Qt and is open source.
  • Tiled 技术分享 - Perhaps the world‘s most popular tilemap editor. Suitable for level design in games.
  • VirtualBox 技术分享 - Virtualization software for x86/64 processors. The bundled GUI uses Qt.
  • VLC 技术分享 - One of the most flexible open source video players in existence.
  • Wireshark 技术分享 - The most popular packet-sniffer out there. You are going to use this for good and not evil, right?
  • Wolfram Mathematica - Programming language, symbolic calculator, and an engineer‘s best friend.
  • Yabause 技术分享 - Sega Saturn emulator.

There‘s also an official showroom here, which lets developers submit their own Qt-powered applications for display.

Other Relevant Awesome Lists

If you‘re familiar with Awesome, you‘ll know that there‘s an extremely wide variety of resources, the usefulness of which will depend on your project. However, if you‘re developing Qt applications, you‘ll almost certainly want to look at these as well.

  • Awesome C/C++ - There‘s no reason you can‘t use C++ libraries that weren‘t designed for Qt. Sometimes they might even suit your needs better than what Qt offers.
  • Awesome C - Same goes for C libraries; might wanna brush up on those RAII techniques while you‘re at it.
  • Awesome CMake - If you‘re not using qmake for your project, you‘re likely using CMake instead.
  • Awesome OpenGL - Qt is commonly used for graphics applications, even providing its own wrappers around OpenGL.

License

技术分享

To the extent possible under law, Jesse Talavera-Greenberg has waived all copyright and related or neighboring rights to this work. See the LICENSE file for details.

 

https://github.com/JesseTG/awesome-qt

 

awesome-qt

标签:cin   tno   ogr   rom   bre   ane   node   mini   index   

原文地址:http://www.cnblogs.com/findumars/p/7189840.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!