79153419

Date: 2024-11-03 19:06:23
Score: 1.5
Natty:
Report link

When working on Windows and Visual Studio always put class definitions containing the Q_OBJECT macro into a header file, not into a source file. Because that messes with the build process of Qt and Visual Studio. Just seen on Visual Studio 2022 and Qt 6.8

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: ray_ray_ray