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

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

    XMLWordPrintable

Details

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

    Description

      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)
      

      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
              whoistheguilty Tapio Oksa
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes