Thiago, This is the .pro
TEMPLATE = lib DEFINES += VST CONFIG += plugin win32 { CONFIG += dll QMAKE_LFLAGS+="/DEF:$$PWD/audiolab.def" QTPLUGIN += qwindows qtquick2plugin windowplugin qtquickcontrolsplugin LIBS += qwindows.lib LIBS += -LC:\Qt\5.4\msvc2013_opengl_x86_static\qml\QtQuick.2 qtquick2plugin.lib LIBS += -LC:\Qt\5.4\msvc2013_opengl_x86_static\qml\QtQuick\Window.2 windowplugin.lib LIBS += -LC:\Qt\5.4\msvc2013_opengl_x86_static\qml\QtQuick\Controls qtquickcontrolsplugin.lib DISTFILES += audiolab.def } macx:{ CONFIG += shared lib_bundle QTPLUGIN += qcocoa #qtquick2plugin windowplugin qtquickcontrolsplugin // FOR SOME REASONS THESE ONES DONT EXIST IN MACOSX BUILD... BUG? 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 } Regards, Nuno > On 30/05/2015, at 17:06, Thiago Macieira <thiago.macie...@intel.com> wrote: > > On Saturday 30 May 2015 15:23:54 Nuno Santos wrote: >> I’m building and compiling a plugin bundle with a statically built version >> of Qt. >> >> The plugin results in a single dll/bundle and loads successfully on my >> computer. > > There's something wrong with this part of the explanation. > > A statically compiled version of Qt does not load plugins. > > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest