As for the :: syntax: yes, this is what I do from C++I'd thought there should be a syntax like:"From anywhere in the cpp code I acc.."in QML.Enums.DayOfWeek.MONDAY
It seems a bit unsatisfying to either use deprecated stuff or not use the enums in QML at all. I will probably file a bug about this.
For now I will probably work with int interfaces. Thank you for your time and effort anda_skoa! Cheers!!




 
					
					 
							
						 
    
    
    
    
    
    
   
    
    
    
       
    
    
   Re: "Enum class"/Q_ENUM use in QML? Cannot read property of undefined
 Re: "Enum class"/Q_ENUM use in QML? Cannot read property of undefined
		 
				
				
				
					 Reply With Quote
  Reply With Quote 
			
Bookmarks