Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-606

Qt Quick Compiler compile qml inside +android folder also

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • 2.3.2
    • 2.3.1
    • Build-time integration
    • None
    • Visual Studio 2017
    • Windows
    • c182b06ae34e91838261e391f5f1d3daa2d9293e

    Description

      QML files inside specific OS system folder like "+android" should be compiled only if is compiling for that specific OS (in this example Android). Qt Creator correctly manage this situation by compiling the correct qml file based to the target OS but Visual Studio plugin seem to compile all the qml files. The result is a compilation warnings and errors informing that there are two files with the same name (error MSB8027). As a pratical example in a situation like this:

       

      /File1.qml

      /+android/File1.qml

       

      If I compile for Windows the /File1.qml should be compiled and the /+android/File1.qml should be ignored. The opposite in caso of compilation for android. On the contrary the plugin compile both files and generate the error there are two object file if the name File1_qml.obj

      Attachments

        Issue Links

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

          Activity

            People

              mecfc Miguel Costa
              suppaman Fabio Falsini
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes