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

Qt uses Macros and config files from install tree when building qtdeclarative "again"

    XMLWordPrintable

Details

    • d4eda5d34 (dev), 4136de36b (6.6), 6e29b444b (tqtc/lts-6.5)

    Description

      If I build and install Qt with qtdeclarative module and try to build qtdeclarative as standalone module against the installed Qt the Qt6Qml package is used from install directory instead of one I'm trying to build.
      Steps:

      mkdir build && cd build
      <path/to/>qt5/configure -submodule qtdeclarative -nomake tests -nomake examples -prefix ../install
      ninja install
      cd ..
      mkdir build_qtdeclarative_only && cd build_qtdeclarative_only
      ../install/bin/qt-configure-module ../qt5/qtdeclarative -- -DQT_BUILD_TESTS=ON
      

      Note that issue is not reproducible if I don't enable QT_BUILD_TESTS flag.

      Attachments

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

        Activity

          People

            semlanik Alexey Edelev
            semlanik Alexey Edelev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes