Details
-
Bug
-
Resolution: Invalid
-
P4: Low
-
None
-
Qt Creator 4.0.0-beta1
Description
Found during package testing.
Invoke new C++ class wizard and go to "Define Class" page. Do the following:
1. Check "Include QWidget"
2. Uncheck it now, so that the page looks like on the beginning.
3. Choose now "QWidget" as a base class. Notice, that "include QWidget" checkbox stays unchecked. Finish the wizard.
The project doesn't compile, since there is missing include of QWidget.
Why we provide all these checkboxes?
Anyway, what is the goal of creating a class derived from e.g. QWidget without including the base class header???