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

Qt5QuickCompilerConfig.cmake cannot compile multiple QML files in a QRC under Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.6.0 RC
    • 5.5.0, 5.5.1
    • Build System: CMake
    • None
    • Windows 7, Visual Studio 2013 (12.0), CMake 3.2.3
    • 494283b7bf77f2801021e185c95ef948632ddddf

      In a project's qrc file containing several qml files, when calling macro "qtquick_compiler_add_resources" in the project's CMakeLists.txt, it processes only the last qml file.

      After a quick analysis, it seems it should handle the character replacement of both \n AND \r under Windows (line 51 of Qt5QuickCompilerConfig.cmake).

      Also, I think (but not sure) the "if" at line 54 of that same file should handle ".ui.qml" files ? (by adding something like:

      OR "x${extension}" STREQUAL "x.ui.qml") 

        For Gerrit Dashboard: QTBUG-49266
        # Subject Branch Project Status CR V

            shausman Simon Hausmann
            boichon Bertrand Boichon
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes