FindQt4.cmake FreeBSD 3.11-rc3 sets QT_PLUGINS_DIR to wrong value
The value of QT_PLUGINS_DIR has changed between CMake 3.10.2 and 3.11-rc3. This leads to packaging errors like this:
===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: bin/styles/adwaita.so ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: %%QT_PLUGINDIR%%/styles/adwaita.so
The cause is that Qt plugins are now (trying to be) installed in
/usr/local/bin instead of the correct
/usr/local/lib/qt4/plugins which is what qmake says is the plugin directory when queried.