[Interest] Qt.labs.platform

Igor Mironchik igor.mironchik at gmail.com
Wed Sep 12 18:36:19 CEST 2018



On 12.09.2018 17:53, Mitch Curtis wrote:
>> -----Original Message-----
>> From: Interest <interest-bounces+mitch.curtis=qt.io at qt-project.org> On
>> Behalf Of Igor Mironchik
>> Sent: Wednesday, 12 September 2018 3:49 PM
>> To: interest at qt-project.org
>> Subject: [Interest] Qt.labs.platform
>>
>> I'm on Linux with static Qt, I link my app to libqtlabsplatformplugin.a
>>
>> I've got the following error
>>
>> module "Qt.labs.platform" plugin "qtlabsplatformplugin" not found
>>
>> Does it mean that I linked with wrong order, or it tells about something
>> different?
> Are you sure the static plugin exists in your Qt build?
>
> Try running the application with QML_IMPORT_TRACE=1 and provide the output here.

QQmlImports(qrc:/qml/app.qml)::addLibraryImport: "Qt.labs.platform" 1.0 
as ""
QQmlImports(qrc:/qml/app.qml)::importExtension: loaded 
"/home/.../Qt5/qml/Qt/labs/platform/qmldir"
...
     qrc:/qml/app.qml:6:1: module "Qt.labs.platform" plugin 
"qtlabsplatformplugin" not found
>
> It's probably not related, but you should also make sure you have QT += widgets in your .pro.
>
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list