mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Find Qt5WebKitWidgets path and use it
When building and installing Qt5WebKitWidgets to a different path than your other qt libraries, you need to actually look for it and find it to be able to use it. Signed-off-by: Anton Lundin <glance@acc.umu.se>
This commit is contained in:
		
							parent
							
								
									fcf5333bf2
								
							
						
					
					
						commit
						6f9c8ea1b7
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -10,5 +10,10 @@ else()
 | 
			
		|||
		find_package(Grantlee5 REQUIRED)
 | 
			
		||||
		set(GRANTLEE_LIBRARIES Grantlee5::Templates)
 | 
			
		||||
	endif()
 | 
			
		||||
	# Not really grantlee, but rather printing in general
 | 
			
		||||
	LIST(APPEND QT_EXTRA_COMPONENTS PrintSupport)
 | 
			
		||||
	# Because Qt5WebKitWidgets isn't a part of the "regular" Qt5, we can't get it the normal way
 | 
			
		||||
	#LIST(APPEND QT_EXTRA_COMPONENTS WebKitWidgets)
 | 
			
		||||
	find_package(Qt5WebKitWidgets REQUIRED)
 | 
			
		||||
	set(GRANTLEE_LIBRARIES ${GRANTLEE_LIBRARIES} Qt5::WebKitWidgets)
 | 
			
		||||
endif()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue