Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
2.3.1
-
None
-
Visual Studio 2017
-
-
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
- depends on
-
QTVSADDINBUG-609 If ObjectFileName = $(IntDir)/%(RelativeDir)/ msbuild fails because some folders are missing
-
- Closed
-
-
QTVSADDINBUG-611 Build with Qt Quick Compiler fail managing directory for temporary items
-
- Closed
-