https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266491
--- Comment #6 from Adriaan de Groot <[email protected]> --- This is mostly a problem with the build environment (and partly a problem with a totally different package): the error message tells you that your platform plugin is set to "minimal", and the plugin-search-path is empty. The problem is it doesn't find the plugin. Now, an empty plugin path is not necessarily an issue: there are fallbacks. You can experiment by setting these two variables (to a platform name, and to a :-separated list of paths). QT_QPA_PLATFORM QT_QPA_PLATFORM_PLUGIN_PATH As an example, setting the PLATFORM to "bogus" and the PATH to "/tmp" and then running a Qt application will get you a meaningful error message. Setting that PATH variable explicitly to "", or leaving it unset, will get you a message that more closely resembles your problem. Normally, the "minimal" plugin lives in /usr/local/lib/qt5/plugins/platforms/libqminimal.so -- take a look in that directory which plugins you **do** have. As for the totally different package problem: if you built x11-toolkits/qt5-gui with the option X11=OFF, then you probably don't have a libqminimal.so (that looks like a bug in that port). Probably no platform plugins at all. This will make any kind of qt application with a GUI fail, since all of them are going to try to load *some* platform plugin. -- You are receiving this mail because: You are the assignee for the bug.
