forked from qt-creator/qt-creator
		
	Use the new contains function and the targetOS list. Change-Id: I38b995eb9328e449befad85792512c45670cc8c9 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
		
			
				
	
	
		
			19 lines
		
	
	
		
			388 B
		
	
	
	
		
			QML
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			388 B
		
	
	
	
		
			QML
		
	
	
	
	
	
import qbs.base 1.0
 | 
						|
 | 
						|
Product {
 | 
						|
    name: "QtComponents"
 | 
						|
 | 
						|
    Group {
 | 
						|
        name: "Resources"
 | 
						|
        qbs.install: true
 | 
						|
        qbs.installDir: (qbs.targetOS.contains("windows") ? "lib/qtcreator" : project.ide_library_path)
 | 
						|
                        + "/qtcomponents"
 | 
						|
        files: [
 | 
						|
            "*.qml",
 | 
						|
            "qmldir",
 | 
						|
            "custom",
 | 
						|
            "images"
 | 
						|
        ]
 | 
						|
    }
 | 
						|
}
 |