

- #Python qt creator for mac
- #Python qt creator mac os
- #Python qt creator serial number
- #Python qt creator code
#Python qt creator serial number
If None is passed as name, a serial number is used. The object's internal name is created by concatenating parentiname and iname.

So information can be displayed nicely only in a limited fashion by using a cdb extension DLL.Įxtending the Python Based Debugging Helpers There is no GDB to communicate with MSVC compiled applications on Windows.Therefore, extracting QObject properties, for example, is not possible. On the Symbian platform, an on-device debugging agent restricts the communication between GDB and the device.
#Python qt creator mac os
Mac OS continues injection with C++ based debugging helpers.
#Python qt creator for mac

Python scripting vastly reduces the communication overhead compared with the previous solution. No compilation is required, just adding a few lines of Python. You can now easily extend the debugging helpers to other types.
#Python qt creator code
The code injection caused problems and put an extra stress on the debugged process. When Python scripting is used, code (Debugging helpers) does not need to be injected into the debugged process to nicely display QStringList or std::map contents, for example. Qt Creator uses GDB builds that enable Python scripting to display information in the Locals and Expressions view. As the internal data structures of Qt can change between versions, the debugging helper library is built for each Qt version. To create your own debugging helper library, select Tools > Options. The Qt SDK package already contains a prebuilt debugging helper library. Moreover, this approach will automatically be chosen as fallback in case the Python based approach fails.ĭuring debugging with the C++ based debugging helpers, Qt Creator dynamically loads a helper library in form of a DLL or a shared object into the debugged process. While it has been superseded on most platforms by the more robust and more flexible second approch using Python scripting, it is the only feasible one on Windows/MSVC, Mac OS, and old Linux distributions. This is the first and original approach to display complex data types. Using the debugging helpers is not essential for debugging with Qt Creator, but they enhance the user's ability to quickly examine complex data significantly. For this purpose, it takes advantage of two technologies, collectively referred to as Debugging Helpers.

Qt Creator is able to show complex data types in a customized, user-extensible manner.
