qmlnet icon indicating copy to clipboard operation
qmlnet copied to clipboard

"ERROR: No native Menu implementation available"

Open vadi2 opened this issue 6 years ago • 2 comments

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...

vadi2 avatar Jul 03 '19 07:07 vadi2

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?

pauldotknopf avatar Jul 09 '19 08:07 pauldotknopf

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

vadi2 avatar Jul 09 '19 09:07 vadi2