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

CMake doesn't provide the equivalent of QT_INSTALL_QML

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P1: Critical P1: Critical
    • None
    • 5.0.1, 5.2.0
    • Build System
    • None

      CMake for Qt4 provided a QT_IMPORTS_DIR pointing to the folder where default QML modules were installed.

      For Qt5 there is no longer such a variable, and there's nothing else that provides an equivalent of qmake's QT_INSTALL_QML.

      QT_INSTALL_QML is the path to where globally-available QML modules should be installed. For CMake to support installing QML modules in that path, it (or an equivalent) has to be available from one of the modules (Qt5Quick, probably?).

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

            stephen.kelly Stephen Kelly (Unused account) (Inactive)
            saviq MichaƂ Sawicz
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes