2012-02-09 14:30:09 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								import qbs.base 1.0
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								Project {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    property string ide_version_major: '2'
							 | 
						
					
						
							
								
									
										
										
										
											2013-05-30 13:52:50 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    property string ide_version_minor: '8'
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    property string ide_version_release: '81'
							 | 
						
					
						
							
								
									
										
										
										
											2012-02-09 14:30:09 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    property string qtcreator_version: ide_version_major + '.' + ide_version_minor + '.' + ide_version_release
							 | 
						
					
						
							
								
									
										
										
										
											2013-07-05 10:40:51 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    property string ide_compat_version_major: '2'
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    property string ide_compat_version_minor: '8'
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    property string ide_compat_version_release: '81'
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    property string qtcreator_compat_version: ide_compat_version_major + '.' + ide_compat_version_minor + '.' + ide_compat_version_release
							 | 
						
					
						
							
								
									
										
										
										
											2013-06-25 18:17:15 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    property string ide_app_path: qbs.targetOS.contains("osx") ? "" : "bin"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    property string ide_app_target: qbs.targetOS.contains("osx") ? "Qt Creator" : "qtcreator"
							 | 
						
					
						
							
								
									
										
										
										
											2013-04-19 16:20:22 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    property string ide_library_path: {
							 | 
						
					
						
							
								
									
										
										
										
											2013-06-25 18:17:15 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        if (qbs.targetOS.contains("osx"))
							 | 
						
					
						
							
								
									
										
										
										
											2013-04-19 16:20:22 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								            return ide_app_target + ".app/Contents/PlugIns"
							 | 
						
					
						
							
								
									
										
										
										
											2013-06-20 14:43:33 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        else if (qbs.targetOS.contains("windows"))
							 | 
						
					
						
							
								
									
										
										
										
											2013-04-19 16:20:22 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								            return ide_app_path
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        else
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            return "lib/qtcreator"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    }
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    property string ide_plugin_path: {
							 | 
						
					
						
							
								
									
										
										
										
											2013-06-25 18:17:15 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        if (qbs.targetOS.contains("osx"))
							 | 
						
					
						
							
								
									
										
										
										
											2013-04-19 16:20:22 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								            return ide_library_path
							 | 
						
					
						
							
								
									
										
										
										
											2013-06-20 14:43:33 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        else if (qbs.targetOS.contains("windows"))
							 | 
						
					
						
							
								
									
										
										
										
											2013-04-19 16:20:22 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								            return "lib/qtcreator/plugins"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        else
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            return ide_library_path + "/plugins"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    }
							 | 
						
					
						
							
								
									
										
										
										
											2013-06-25 18:17:15 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    property string ide_data_path: qbs.targetOS.contains("osx")
							 | 
						
					
						
							
								
									
										
										
										
											2013-06-20 14:43:33 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								            ? ide_app_target + ".app/Contents/Resources"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            : "share/qtcreator"
							 | 
						
					
						
							
								
									
										
										
										
											2013-06-25 18:17:15 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    property string ide_libexec_path: qbs.targetOS.contains("osx")
							 | 
						
					
						
							
								
									
										
										
										
											2013-06-20 14:43:33 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								            ? ide_data_path
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            : ide_app_path
							 | 
						
					
						
							
								
									
										
										
										
											2013-06-25 18:17:15 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    property string ide_doc_path: qbs.targetOS.contains("osx")
							 | 
						
					
						
							
								
									
										
										
										
											2013-06-20 14:43:33 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								            ? ide_data_path + "/doc"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            : "share/doc/qtcreator"
							 | 
						
					
						
							
								
									
										
										
										
											2013-06-25 18:17:15 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    property string ide_bin_path: qbs.targetOS.contains("osx")
							 | 
						
					
						
							
								
									
										
										
										
											2013-06-20 14:43:33 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								            ? ide_app_target + ".app/Contents/MacOS"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								            : ide_app_path
							 | 
						
					
						
							
								
									
										
										
										
											2012-02-09 14:30:09 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    moduleSearchPaths: "qbs"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    references: [
							 | 
						
					
						
							
								
									
										
										
										
											2013-06-21 13:12:30 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        "src/src.qbs",
							 | 
						
					
						
							
								
									
										
										
										
											2012-02-09 14:30:09 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        "lib/qtcreator/qtcomponents/qtcomponents.qbs",
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        "share/share.qbs",
							 | 
						
					
						
							
								
									
										
										
										
											2012-09-24 12:02:35 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        "share/qtcreator/translations/translations.qbs",
							 | 
						
					
						
							
								
									
										
										
										
											2012-02-09 14:30:09 +01:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    ]
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								}
							 |