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

"ERROR: No native Menu implementation available" #149

Open
vadi2 opened this issue Jul 3, 2019 · 2 comments
Open

"ERROR: No native Menu implementation available" #149

vadi2 opened this issue Jul 3, 2019 · 2 comments

Comments

@vadi2
Copy link
Contributor

vadi2 commented Jul 3, 2019

A user on Ubuntu 18.04 is getting the following warnings:

ERROR: No native Menu implementation available.
Qt Labs Platform requires Qt Widgets on this setup.
Add 'QT += widgets' to .pro and create QApplication in main().

What could be going wrong? I'm using the FileDialog from Qt.labs.platform 1.1. Using the experimental one because it works slightly better than the non-experimental one on Windows: both take a really long time to open (30s+) while they try to enumerate network drives...

@pauldotknopf
Copy link
Member

It looks like we need to add QT += widgets into this file.

Do you have a minimal Main.qml to reproduce so that I can test it locally?

@vadi2
Copy link
Contributor Author

vadi2 commented Jul 9, 2019

I'm afraid no, this was reported by a user - I'm not getting the same issue (health-validator/Hammer#115). We can ask them to test a build, though!

@vadi2 vadi2 changed the title ERROR: No native Menu implementation available. Qt Labs Platform requires Qt Widgets on this setup. Add 'QT += widgets' to .pro and create QApplication in main(). "ERROR: No native Menu implementation available" Jul 18, 2019
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

2 participants