Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.7.0 Beta
-
None
-
Mageia Linux Cauldron x86_64, gcc 5.3.1
-
qtdeclarative: 6f59c91c51edd7207635c3fa2f0b2b1179e7aa6e
Description
When I try to use minimal example of controls with statically compiled Qt, it fails to start wit the following message:
QQmlApplicationEngine failed to load component qrc:/main.qml:2 module "QtQuick.Controls" plugin "qtquickcontrols2plugin" not found
In build dir I see *_qml_plugin_import.cpp file with contents:
#include <QtPlugin> Q_IMPORT_PLUGIN(QtQuick2Plugin) Q_IMPORT_PLUGIN(QtQuickControls2Plugin) Q_IMPORT_PLUGIN(QtQuickTemplates2Plugin) Q_IMPORT_PLUGIN(QtQuick2WindowPlugin)
Test program:
import QtQuick 2.6 import QtQuick.Controls 2.0 ApplicationWindow { visible: true width: 640 height: 480 }
Qt configuration:
-prefix "$install_dir" -static -release -qt-zlib -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -plugin-sql-sqlite -dbus -opensource -confirm-license -no-pch -skip qtwebkit -skip qtwebkit-examples -skip qt3d -skip qtxmlpatterns -skip qtwayland -skip qtwebengine -skip qtwebview -skip qtmultimedia -skip qtlocation -skip qtcanvas3d -skip qtwebsockets -skip qtwebchannel -skip qtenginio -skip qtsensors -skip qtserialport -skip qtpurchasing -skip qtquick1 -skip qtscript -skip qtconnectivity -skip qtcharts -skip qtdatavis3d -nomake examples -nomake tests
Attachments
Issue Links
- resulted in
-
QTBUG-53305 Statically compiled QQC2 and QQC1 conflicts
- Closed