ui file unable to find the header for promoted widget class
Moved
Solved
Qt Creator and other tools
-
i am promoting a widget to opengl widget using Qt creator , the header file is a User-defined header file but when ever i compile the project the header file comes with the syntax like this.
So the project is not able to find the file as its location is same as the project.
#include <oglwidget.h>
if i change this to
#include "oglwidget.h"
the project compiles and the widget also gets promted to the OpenGlWidget.
how can i change this behavior where the header file always comes with the syntax .
#include "oglwidget.h"
-
Uncheck 'global include' in the 'Promoted Widgets' dialog: https://doc.qt.io/qt-5/designer-using-custom-widgets.html
-
Uncheck 'global include' in the 'Promoted Widgets' dialog: https://doc.qt.io/qt-5/designer-using-custom-widgets.html
@Christian-Ehrlicher Thank you very much.