QVision Widget Error upon compile

QVision Widget Error upon compile

Asked on December 24, 2018 in Qt.
Add Comment


  • 3 Answer(s)

    QVision Widget upon compile:

       To modify  the ui file outside of Qt Creator and delete the rows with ‘zorder’ tags. Then open it Qt Creator and compile and it appears any time.

    Answered on December 24, 2018.
    Add Comment

    Just try this initialize code:

    <z-order>verticalSpacer</z-order>
    

          In  z-order tags, It use to delete the line with this tag, and rebuilt all.The z-order tags had fade from files. It must be a bug, but evidently one of little consequence; except the Qt spoiled.

     

    Answered on December 24, 2018.
    Add Comment

    Promoted widget-class is declared as “global include”:

    The custom widget class is  “MyWidget” and the header is “mywidget.h” and the member widget  be named “myWidget”, the uic will orginate the code of the ui-class

    #include <mywidget.h>
     
    class qvvideoreaderblockwidget
    {
    public:
        MyWidget* myWidget;
     
       // ...
    };
    
    Answered on December 24, 2018.
    Add Comment


  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.