I never check it when promoting widgets, and everything works, but I've always wondered what it is for. Does anyone know?
Checking this box leads to the header file being included as a global header file in the generated ui code. I.e. it will be included as #include <foowidget.h>
instead of #include "foowidget.h"
.
For example, you'll need to use it if you want to promote a widget to a custom widget from a library if the library is installed system-wide but you cannot directly create that widget in the designer. An example would be to promote a QSlider to a QxtSpanSlider if you install Qxt via the linux package manager.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With