Skip to main content

Posts

Qt Creator Productivity Tips and Shortcuts

Qt Creator is the free IDE most Qt developers use. Most of its speed comes from a few keyboard shortcuts. Learn about ten of them, and you will spend less time hunting through menus and more time writing code. Qt Creator is powerful, but it can feel crowded when you first open it. The good news is that you do not need to memorize everything. A small set of shortcuts covers most daily work: opening files, moving around code, building, running, and debugging. This guide lists the default shortcuts. On Windows and Linux, the key is usually Ctrl . On macOS, it is usually Cmd . Shortcut names can differ between Qt Creator versions, so if one does not work, check Preferences > Environment > Keyboard and search for the action name. 1. Use the Locator for almost everything Press Ctrl+K ( Cmd+K on macOS). A small search box appears at the bottom left of the window. Type a file name, class name, or function name, and Qt Creator jumps there. The Locator is the fastest way to mo...
Recent posts

Qt Licensing Explained: LGPL vs Commercial for Product Teams

If you're building a product with Qt, one of the first questions is: "Do we have to share our code, and do we have to pay?" Qt gives you two options. This guide explains both in plain words. The Short Answer Open source (LGPL): Free to use. You can keep your own code private if you follow a few rules. Commercial: Paid, with a yearly subscription. You don't have to follow open-source rules, and you get official support. Neither option is better for every team. The right choice depends on what you're building and how much you want to share. Option 1: Open Source (LGPL) LGPL stands for GNU Lesser General Public License, version 3. It is a free license that lets you sell and keep your own app's code private, as long as you respect Qt's rules. What you need to do: Tell your users  that your product uses Qt, and include the license text. Make Qt's source code available.  A link to the official Qt source is usually enough. Let users replace the Qt parts  w...

Three Steps to a Successful Embedded Product

Developing an embedded product requires three main steps: selection of the proper hardware platform, operating system selection/setup, and User Interface (UI) development.  All three of these steps are very closely tied together and have a significant impact on time-to-market, project costs, and the overall quality of the product.  It is critical to select the proper hardware platform that also has excellent operating system support as well as the proper UI tools. This post dives into each of these steps and how it will impact the overall project. 1. Choose Your Hardware Platform Selecting the proper hardware platform is the first step in the embedded product process and can have a substantial effect on the overall costs of the project in terms of unit cost as well as development time. Some important questions to ask in the selection process are: Is there a stable supply chain/guaranteed longevity/availability? If the hardware that is selected is no longer available in 6 m...

Qt Creator 4.0 Beta released

We are happy to announce the release of Qt Creator 4.0 Beta. As announced earlier this year , starting with this release Qt Creator will be available under commercial license terms and GLPv3 (with exceptions ). At the same time we are making the following features available under open source, which were previously only available under commercial license terms. So, if you didn’t know them, make sure to check them out! Clang Static Analyzer Integration Find problems in C, C++ and Objective-C programs. ( Documentation ) Autotest Integration (Experimental) Easily run autotests from your project and get the results presented in a friendly way. ( Documentation ) Extended QML Profiler Profile pixmap cache usage, scene graph performance, JavaScript memory usage and input events of QML applications. ( Documentation )   We also started implementing a flat theme for which Diana presented the concepts already a year ago. This is still work in progress, but you can see for y...

Qt 5.6 released

I’m happy to announce that Qt 5.6.0 has been released today! This release has taken a bit longer to finish than we originally expected, mostly because we put a lot of new infrastructure in place, allowing us to make Qt 5.6 a Long Term Supported (LTS) release. With that, Qt 5.6 (LTS) will be receiving patch releases with security updates and bug fixes for the next three years, in parallel to upcoming Qt versions. Today, with Qt 5.6, we’ve now also made our new offering for start-ups and small businesses available! Long-term support The last release that was supported for a long period of time has been Qt 4.8. Since we are ending the support for Qt 4.8, there is a need to have a new version of Qt that will be supported for a longer period of time. With Qt 5.6, we feel comfortable offering this long-term commitment. We have had a tremendous amount of changes and improvements since the initial release of Qt 5, making Qt 5.6 a very good and solid basis to base your projects on. As part...

Qt Creator 3.6.1 released

We are happy to announce the release of Qt Creator 3.6.1. A few crashes were fixed, as well as some issues with the Clang code model, and a few regressions that sneaked into debugging. Please check our change log for a more detailed list of bugs that were fixed in this release. We also added Qt 5.6 as an option to the QML related wizards, and added Microsoft Visual C++ Build Tools on Windows. Our binary packages are now based on Qt 5.6.0, which was released today as well and comes packaged with Qt Creator 3.6.1. You find the opensource version on the  Qt download page , and commercially licensed packages on the  Qt Account Portal . If you are evaluating Qt you can go straight to  http://ift.tt/XbP7NM . Please post issues in our  bug tracker . You can also find us on IRC on #qt-creator on irc.freenode.net, and on the  Qt Creator mailing list . The post Qt Creator 3.6.1 released appeared first on Qt Blog . Source :- Qt Blog http://ift.tt/1...

Qt 5.7 Alpha Released

I am pleased to inform that we have released Qt 5.7 Alpha today. As always, it is only available as a source package, mainly focused for those interested in studying the features and APIs. For those interested in using Qt 5.7 to develop applications, it is better to wait for the Beta release. We have been developing Qt 5.7 in parallel with Qt 5.6 LTS, and thus Qt 5.7 is already at the Alpha milestone. For more information about the Qt Roadmap as well as more details what Qt 5.7 brings, please check the recent Qt Roadmap blog post . In addition to updates for the existing modules, Qt 5.7 introduces several new modules, please see New features of Qt 5.7 wiki page  as well as Documentation snapshot for Qt 5.7 for more details. If you want to give Qt 5.7 Alpha a spin, get the packages from download.qt.io  and tell us in the Qt mailing lists  how to polish Qt 5.7, or submit bug reports via bugreports.qt.io . The post Qt 5.7 Alpha Released appeared first on Qt Blog ....