Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-27722 ensure that fully modularized build works
  3. QTBUG-26848

Qmake variables pointing to the Qt sources do not resolve correctly. E.g. $$QT.activeqt.sources

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • P2: Important
    • 5.0.0
    • Packaging & Installer
    • None
    • Windows 7, msvc2010

    • 26ebb99a49a72e470aedf3b0a6d25fb0db5dc00c, qttools: 3f6834be78250ede97c48eb02773f7a29d4f896a

    Description

      Tested package: Digia Qt5 beta 1 Windows installer 13.8.2012

      E.g. examples/activeqt/simple/simple.pro has this definition, which results in wrong path for .rc file:

      RC_FILE	 = $$QT.activeqt.sources/control/qaxserver.rc
      

      Looking through the files in mkspecs/modules, there are some discrepancies on how the source variable is defined:

      1) Some use variable $$QT_MODULE_BASE:

      E.g. qt_activeqt.pri: QT.activeqt.sources = $$QT_MODULE_BASE/src/activeqt
      

      2) Some have patched correct path (though mixing slashes and backslashes):

      E.g. qt_core.pri: QT.core.sources = C:\\Users\\foobar\\Qt5.0.0beta1\\Desktop\\Qt\\5.0.0-beta1\\msvc2010_64/src/corelib
      

      3) Some still point to work directory in build machine:

      E.g. qt_qml.pri: QT.qml.sources = Q:/qt5_workdir/w/s/qtdeclarative/src/qml
      

      Also the other variables defined in these files will get incorrect values, as they rely on various other variables to be set, such as $$QT_MODULE_PLUGIN_BASE or $$QT_MODULE_BIN_BASE. These all resolve to empty string in the installation.

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            e0348803 Miikka Heikkinen
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes