Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QGridLayout.AddItem not supported and unknown enum #11

Open
chmike opened this issue Jan 20, 2022 · 1 comment
Open

QGridLayout.AddItem not supported and unknown enum #11

chmike opened this issue Jan 20, 2022 · 1 comment

Comments

@chmike
Copy link

chmike commented Jan 20, 2022

I'm trying to use qoqtuic to compile an existing QT .ui file but I have multiple occurrences of the error

QGridLayout.AddItem not support now, QLayout.AddItem used

Is it a limitation of goqtuic or of therecipe/qt ? Could it be possible to add the support of it ?

There are also multiple unknown enums.

2022/01/20 18:03:00 [ERROR][UNKNOWN] compiler.go:189: unknown enum QMainWindow::AllowNestedDocks
2022/01/20 18:03:00 [ERROR][UNKNOWN] compiler.go:189: unknown enum QMainWindow::AllowTabbedDocks
2022/01/20 18:03:00 [ERROR][UNKNOWN] compiler.go:189: unknown enum QMainWindow::AnimatedDocks
2022/01/20 18:03:00 [ERROR][UNKNOWN] compiler.go:189: unknown enum QTabWidget::West
2022/01/20 18:03:00 [ERROR][UNKNOWN] compiler.go:189: unknown enum QTabWidget::Rounded
2022/01/20 18:03:00 [ERROR][UNKNOWN] compiler.go:189: unknown enum QDateTimeEdit::HourSection
2022/01/20 18:03:00 [ERROR][UNKNOWN] compiler.go:189: unknown enum QDateTimeEdit::HourSection

Is it possible to fix this ?

@chmike
Copy link
Author

chmike commented Jan 20, 2022

After a quick search in therecipe/qt I found the definition QMainWindow__AllowNestedDocks. It is thus defined in the qt package in the file widgets/widgets.go in line 34145.

It is thus apparently a limitation of goqtuic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant