[Interest] QtPlugins statically linked not loading

Thiago Macieira thiago.macieira at intel.com
Sun May 31 21:18:38 CEST 2015


On Sunday 31 May 2015 19:18:16 Nuno Santos wrote:
> /Users/nsantos/Qt/5.4/clang_32_static/lib
> BIGMAC:lib nsantos$ ls -la
> total 176024
> drwxr-xr-x  123 nsantos  staff     4182 29 Mai 22:50 .
> drwxr-xr-x   13 nsantos  staff      442 29 Mai 21:56 ..
> drwxr-xr-x   37 nsantos  staff     1258 29 Mai 21:33 cmake
> -rw-r--r--    1 nsantos  staff   431936 29 Mai 21:33 libEnginio.a
> -rw-r--r--    1 nsantos  staff      885 29 Mai 21:33 libEnginio.la
> -rw-r--r--    1 nsantos  staff     1335 29 Mai 21:33 libEnginio.prl
> -rw-r--r--    1 nsantos  staff   343024 29 Mai 21:33 libQt5Bluetooth.a
> -rw-r--r--    1 nsantos  staff      836 29 Mai 21:33 libQt5Bluetooth.la
> -rw-r--r--    1 nsantos  staff     1577 29 Mai 21:33 libQt5Bluetooth.prl
> -rw-r--r--    1 nsantos  staff  2342056 29 Mai 21:32 libQt5Bootstrap.a
> -rw-r--r--    1 nsantos  staff      673 29 Mai 21:32 libQt5Bootstrap.la
> -rw-r--r--    1 nsantos  staff     1112 29 Mai 21:32 libQt5Bootstrap.prl
> -rw-r--r--    1 nsantos  staff  2251760 29 Mai 21:33 libQt5CLucene.a
> -rw-r--r--    1 nsantos  staff      830 29 Mai 21:33 libQt5CLucene.la
> -rw-r--r--    1 nsantos  staff     1278 29 Mai 21:33 libQt5CLucene.prl
> -rw-r--r--    1 nsantos  staff    20760 29 Mai 21:32 libQt5Concurrent.a
> -rw-r--r--    1 nsantos  staff      839 29 Mai 21:32 libQt5Concurrent.la
> -rw-r--r--    1 nsantos  staff     1273 29 Mai 21:32 libQt5Concurrent.prl
> -rw-r--r--    1 nsantos  staff  7963752 29 Mai 21:32 libQt5Core.a
> 
> BIGMAC:QtQuick.2 nsantos$ pwd
> /Users/nsantos/Qt/5.4/clang_32_static/qml/QtQuick.2
> BIGMAC:QtQuick.2 nsantos$ ls -la
> total 464
> drwxr-xr-x   6 nsantos  staff     204 29 Mai 21:33 .
> drwxr-xr-x  14 nsantos  staff     476 29 Mai 23:04 ..
> -rw-r--r--   1 nsantos  staff    6408 29 Mai 21:33 libqtquick2plugin.a
> -rw-r--r--   1 nsantos  staff    1339 29 Mai 21:33 libqtquick2plugin.prl
> -rw-r--r--   1 nsantos  staff  220578 29 Mai 21:33 plugins.qmltypes
> -rw-r--r--   1 nsantos  staff     106 29 Mai 21:33 qmldir
> BIGMAC:QtQuick.2 nsantos$

Ok, this confirms a static build.

Now you're on your own, because no one tests static builds. I'm worried about 
those two text files (plugins.qmltypes and qmldir).

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list