Qt6/Example-Guideline

From Qt Wiki
Revision as of 08:56, 17 January 2023 by Kileppal (talk | contribs)
Jump to navigation Jump to search

When creating or updating Qt examples, developer should consider the best practises and guidelines listed in this document.

Evaluate if the example is meaningful or should it be removed/merged

MANDATORY

  • Check if there are similar examples for the same topic and consider if both are really needed or should the other one be merged with the other.
  • Check also documentation on the topic and if that includes inline code snippet that would be adequate instead of complete example.

No C++ or qml warnings

MANDATORY


RECOMMENDED

Consider also the compilation with the more strict warning flags and fix the found issues.

GCC

Clang

Visual Studio