Command Line Options
Useful for doing remote debug sessions and trying to attach at the very beginning of the program execution. This is very useful when you can't launch Sandbox through Visual Studio with the already attached debugger.
5.3 and after:
- Run Sandbox with -project "Path to Project"
- Use CVar: sys_project="Path to Project"
5.2 and before:
- Register your local build by running the bat file found in //ce/xxx/Tools/RegisterLocalBuild.bat
- In your project folder, edit project.cfg to use your local version: engine_version=local
- Run Editor.bat
- Use -waitfordebugger argument in Editor.bat if you need to attach during startup.
Playground dockable is a tool widget intended as a Sandbox for programmers to test anything in isolation.
This can be very useful when debugging a Qt issue in the actual tool is very cumbersome, but replicating and narrowing it down with dummy widgets in the playground dockable is much easier.
This can also be used to test new widgets in isolation, or test features without having to inject in any other tool.
To use this uncomment the registration macro in PlaygroundDockable.cpp and code away!
Visual Studio Plugin
With the release of Qt 5.6, the visual studio plugin is not available anymore. However, we have included the Visual Studio visualizers in the solution (qt5.natvis) so everybody should be able to visualize Qt classes properly in their debugger.
Getting Qt Source Code
Having the source code is obviously useful to dig into the depths of Qt and see what goes wrong.
Bear in mind that Qt is not perfect, that there are bugs, and we have often had to find workarounds by providing our alternative classes to Qt when their behavior was not matching our expectations. See Qt Programming in Sandbox
Do not be afraid to investigate if a bug is within Qt and not in our code.
Links from the official Qt documentation :