Use qt6 only
This commit is contained in:
		
							parent
							
								
									9750fd8be7
								
							
						
					
					
						commit
						4cb2a27a4c
					
				
					 1 changed files with 1 additions and 5 deletions
				
			
		| 
						 | 
					@ -32,11 +32,7 @@ include(KDEClangFormat)
 | 
				
			||||||
include(ECMQtDeclareLoggingCategory)
 | 
					include(ECMQtDeclareLoggingCategory)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS WaylandClient Qml)
 | 
					find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS WaylandClient Qml)
 | 
				
			||||||
if (QT_MAJOR_VERSION EQUAL "5")
 | 
					 | 
				
			||||||
    find_package(Qt5XkbCommonSupport REQUIRED PRIVATE)
 | 
					 | 
				
			||||||
    find_package(QtWaylandScanner REQUIRED)
 | 
					 | 
				
			||||||
endif()
 | 
					 | 
				
			||||||
find_package(WaylandScanner REQUIRED)
 | 
					find_package(WaylandScanner REQUIRED)
 | 
				
			||||||
find_package(Wayland 1.3 COMPONENTS Client Server)
 | 
					find_package(Wayland 1.3 COMPONENTS Client Server)
 | 
				
			||||||
find_package(WaylandProtocols REQUIRED)
 | 
					find_package(WaylandProtocols REQUIRED)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue