[Interest] QtPlugins statically linked not loading

Nuno Santos nunosantos at imaginando.pt
Mon Jun 1 16:32:43 CEST 2015


Ulf,

I have recompiled Qt without the -DQT_QML_NO_DEBUGGER

I have also changed the .pro to include directory the libs:

    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
    LIBS += /Users/nsantos/Qt/5.4/clang_32_static/plugins/qmltooling/libqmldbg_tcp.a
    LIBS += /Users/nsantos/Qt/5.4/clang_32_static/plugins/platforms/libqcocoa.a

But the problem remains… 

2015-06-01 15:30:48.854 Live[81151:5901261] _DPSDiscardEvents: FlushEventsMatchingListFromQueue returned error (-50)
"/Applications/Ableton Live 9 Standard.app/Contents/MacOS"
"/Users/nsantos/Qt/5.4/clang_32_static/plugins"
QQmlApplicationEngine failed to load component
qrc:/main.qml:1 module "QtQuick" is not installed
qrc:/main.qml:2 module "QtQuick.Window" is not installed
qrc:/main.qml:4 module "QtQuick.Window" is not installed
qrc:/main.qml:1 module "QtQuick" is not installed
qrc:/main.qml:2 module "QtQuick.Window" is not installed
qrc:/main.qml:4 module "QtQuick.Window" is not installed
qrc:/main.qml:1 module "QtQuick" is not installed
qrc:/main.qml:2 module "QtQuick.Window" is not installed
qrc:/main.qml:4 module "QtQuick.Window" is not installed

If you have any other idea, please let me know. I’m in a dead lock here…

Thanks so much for your attention.

Regards,

Nuno

> On 01/06/2015, at 15:06, Ulf Hermann <ulf.hermann at theqtcompany.com> wrote:
> 
>> 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