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

SplitView component not available on a statically compiled Qt 5.12 kit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.12.1, 5.13.1, 5.14.0 Alpha
    • 5.12
    • Quick: Controls 1
    • None
    • Mac OSX 10.14 Mojave / Xcode 10.1
    • macOS
    • a9436b597916d5619cbbbbd103bc482ddaf4359a (qt/qtquickcontrols/5.12)

    Description

      I can't seem to be able to use SplitView from QtQuick.Controls 1.4 when using a statically compiled version of Qt 5.12. When I run the program I have the following output:

      QQmlApplicationEngine failed to load component
      qrc:/qml/main.qml:17 Type Split unavailable
      qrc:/qml/Split.qml:5 Type SplitView unavailable
      qrc:/qt-project.org/imports/QtQuick/Controls/SplitView.qml:-1 No such file or directory

      Using the pre compiled kit distributed by The Qt Company works without any problems though.

      I have attached an example that reproduces this problem. Below is how I have compiled from the source:

      git clone git://code.qt.io/qt/qt5.git src
      git checkout 5.12.0
      perl init-repository --module-subset=qtbase,qtdeclarative,qtgraphicaleffects,qtimageformats,qtmacextras,qtquickcontrols,qtquickcontrols2,qtsvg,qtwebsockets
      ./configure -recheck -prefix /qt/clang_64_static -platform macx-clang -commercial -debug-and-release -static -nomake examples -nomake tests -opengl desktop
      

       

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              sinosoidal Nuno Santos
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes