Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-53305

Statically compiled QQC2 and QQC1 conflicts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.7.0 Beta
    • None

    Description

      When I try to use both QQC1 and QQC2 in the same program with statically compiled Qt, it fails with the following message:

      static plugin for module "QtQuick.Controls" with name "QtQuickControls1Plugin" cannot be loaded: Namespace 'QtQuick.Controls' has already been used for type registration.
      

      Test program:

      import QtQuick 2.6
      import QtQuick.Controls 2.0
      import QtQuick.Controls 1.0 as QQC1
      
      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

      Related to QTBUG-53208.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              laknoll Lars Knoll
              krnekit Nikita Krupenko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes