forked from qt-creator/qt-creator
		
	CppEditor: Register qdoc as a separate mimetype from c++ sources
Add a new constant for qdoc mimetype to cpptoolsconstants. Make the CppEditor handle qdoc mimetype. This change has one user user visible effect: Adding qdoc files to a qmake project will no longer put those files into SOURCES where qmake will then try to compile them. They will show up in "Other Files" instead. Task-number: QTCREATORBUG-15872 Change-Id: Ibbf9af0a84fab59138f6b9ab41f1bba737b455c2 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
		@@ -42,6 +42,7 @@ const char CPP_SOURCE_MIMETYPE[] = "text/x-c++src";
 | 
			
		||||
const char OBJECTIVE_C_SOURCE_MIMETYPE[] = "text/x-objcsrc";
 | 
			
		||||
const char OBJECTIVE_CPP_SOURCE_MIMETYPE[] = "text/x-objc++src";
 | 
			
		||||
const char CPP_HEADER_MIMETYPE[] = "text/x-c++hdr";
 | 
			
		||||
const char QDOC_MIMETYPE[] = "text/x-qdoc";
 | 
			
		||||
 | 
			
		||||
// QSettings keys for use by the "New Class" wizards.
 | 
			
		||||
const char CPPTOOLS_SETTINGSGROUP[] = "CppTools";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user