In the last episode of this series we discussed QAbstractItemModel::checkIndex(). QAbstractItemModel::checkIndex() is a function added in Qt 5.11 that allows developers of model classes to perform some validity checks on the QModelIndex objects passed to the model; specifically, on the indices passed to the APIs that model classes need to implement (rowCount(), columnCount(), data, setData(), […]
Many KDAB engineers are part of the Qt Security Team. The purpose of this team is to get notified of security-related issues, and then decide the best course of action for the Qt project. Most of the time, this implies identifying the problem, creating and submitting a patch through the usual Qt contribution process, waiting […]
In this month’s Squish Tip, Nicholas Van Sickle talks about using keyboard shortcuts in Squish tests. We want to hear from you! If you have a question for our Squish Expert or suggestion for a tip, tweet to @KDABQt and use hashtag #Squishtip and we’ll feature them here.
In this month’s Squish Tip, KDAB’s Nicholas Van Sickle offers a tip for conveniently iterating through all objects matching a given pattern. Read the Squish Tip here…
In this month’s Squish Tip, one of our resident Squish experts, Nicholas Van Sickle suggests providing Helper Objects to verify application states that can’t easily be checked using native Qt and Squish functions. Read more about Helper Objects here.
In this Squish Tip, one of our Squish experts, Carlos Licea, discusses how to make your tests more maintainable by removing old object definitions, or adapting them accordingly; using more advanced matching techniques such as regular expressions and using a wildcard. Click here to read the tip.
This month’s Squish Tip comes from one of our Squish Experts, Carlos Licea. In the tip he explains how, if your Squish tests are very intensive, or you have hundreds of them, you can run them trough a profiler from time to time. This will enable you to see where you’re spending most of your […]
This month’s Squish tip comes from KDAB developer and Squish Expert, Carlos Licea. Here he discusses how the path and name of a given test can be obtained with the most elegant solution: by using Python introspection. This method allows us to get the information without having to manually define and maintain it. To view […]