[Interest] QtPlugins statically linked not loading

Ulf Hermann ulf.hermann at theqtcompany.com
Mon Jun 1 16:06:33 CEST 2015


> macx:{
>      CONFIG += lib_bundle shared
>      QTPLUGIN += qcocoa *qmldbg_tcp qmldbg_tcp_qtdeclarative*
I guess this doesn't have any effect on static builds. I'm no qmake expert, though. Also, there is only one of them. It's called qmldbg_tcp.

>      QMAKE_POST_LINK = mv -f $(TARGET) $$PWD/../vstbuild/32/$$join(TARGET,"","",".vst")/Contents/MacOS/$$TARGET
>      OTHER_FILES += Info.plist
>      LIBS += /Users/nsantos/Qt/5.4/clang_32_static/qml/QtQuick.2/libqtquick2plugin.a
>      LIBS += /Users/nsantos/Qt/5.4/clang_32_static/qml/QtQuick/Window.2/libwindowplugin.a
>      LIBS += /Users/nsantos/Qt/5.4/clang_32_static/qml/QtQuick/Controls/libqtquickcontrolsplugin.a
Apparently you've put some important plugins here. You could try adding the qmldbg_tcp one here, too.

-- 
Ulf Hermann, Software Engineer | The Qt Company

The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B

Email: ulf.hermann at theqtcompany.com | Mobile: + 49 151 68964561 | Phone: +49 30 63 92 3255 www.qt.io |Qt Blog: http://blog.qt.digia.com/ | Twitter: @QtbyDigia, @Qtproject | Facebook: www.facebook.com/qt



More information about the Interest mailing list