You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
i experienced this following error an i think it is because Qt5 higher versions are not supported fully by this code anymore.
Therefore an fix OR an information which versions of Qt are supported would be highly appreciated :)
The error:
I created an UI file using QtDesigner 5.15.2.
I added several menubar options (Menu, Settings, Help) items with several actions (Change Language, Open Help File, ... ).
As i translated this to go code and run the code, i got following error:
ui\uigen\main_ui.go:100:38: cannot use this.MenuChangeLanguage (variable of type *widgets.QMenu) as type widgets.QAction_ITF in argument to this.MenuSettings.QWidget.AddAction:
*widgets.QMenu does not implement widgets.QAction_ITF (missing QAction_PTR method) (exit status 2)
This is a screenshot of the created Go code for a clearer understanding on the Menubar options and items.
The error from above is at line 100.
I tried several things:
Deleting all options and leaving blank menubar:
Deleting every menubar item and leaving it blank, which works nice.
The text was updated successfully, but these errors were encountered:
morgadow
changed the title
Could not create MenuBar options without infterface errors
Could not create MenuBar options without interface errors
Dec 1, 2023
Hello,
i experienced this following error an i think it is because Qt5 higher versions are not supported fully by this code anymore.
Therefore an fix OR an information which versions of Qt are supported would be highly appreciated :)
The error:
I created an UI file using QtDesigner 5.15.2.
I added several menubar options (Menu, Settings, Help) items with several actions (Change Language, Open Help File, ... ).
As i translated this to go code and run the code, i got following error:
This is a screenshot of the created Go code for a clearer understanding on the Menubar options and items.
The error from above is at line 100.
I tried several things:
Deleting all options and leaving blank menubar:
Deleting every menubar item and leaving it blank, which works nice.
The text was updated successfully, but these errors were encountered: