[MacPorts] #52978: qt5 applications not finding platforms plugins

MacPorts noreply at macports.org
Fri Dec 9 14:42:22 CET 2016


#52978: qt5 applications not finding platforms plugins
-----------------------+---------------------------------
  Reporter:  dmarteau  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.5
Resolution:            |   Keywords:
      Port:  qt5       |
-----------------------+---------------------------------
Description changed by mf2k:

Old description:

> Actually when compiling and running a qt5 application I need to set up
> explicitly the environnement variable QT_QPA_PLATFORM_PLUGIN_PATH or the
> application would not start with the error:
>
> ```
> Fatal: This application failed to start because it could not find or load
> the Qt platform plugin "cocoa"
> in "".
> ```
>
> It is not clear if this is a qt5 installation problem or if this should
> be handled by the application.
>
> Thanks

New description:

 Actually when compiling and running a qt5 application I need to set up
 explicitly the environnement variable QT_QPA_PLATFORM_PLUGIN_PATH or the
 application would not start with the error:

 {{{
 Fatal: This application failed to start because it could not find or load
 the Qt platform plugin "cocoa"
 in "".
 }}}

 It is not clear if this is a qt5 installation problem or if this should be
 handled by the application.

 Thanks

--

--
Ticket URL: <https://trac.macports.org/ticket/52978#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list