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

Qt 6/Android clang: Undefined references to extern definitions in qtquickcontrols2 module

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.0
    • Quick: Controls 2
    • None
    • Linux x86_64 Ubuntu, 5.4.0-52-generic #57~18.04.1-Ubuntu
    • Android

      When qt5 repository is cloned and dev branch is checked out:

      cd qt5
      git checkout dev
      git pull --rebase
      git submodule --update --init recursive

      During following module builds:

      qtbase. qtdeclarative, qtxmlpatterns, qtquickcontrols2

      Multiple errors of undefined reference to 'qml...'_  were causing during qtquickcontrols2 build, as an example:

      qt5/qtquickcontrols2/src/imports/controls/basic/qtquickcontrols2basicstyleplugin.cpp
      qt5/qtquickcontrols2/src/imports/controls/fusion/qtquickcontrols2fusionstyleplugin.cpp:64: error: undefined reference to 'qml_register_types_QtQuick_Controls_Fusion()'
      clang++: error: linker command failed with exit code 1 (use -v to see invocation)
      

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            whoistheguilty Tapio Oksa
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes