Solved ui file unable to find the header for promoted widget class
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.
if i change this to
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 .
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.