Skip to content

Commit a43ab91

Browse files
author
Allen Winter
committed
Revert "CMakeLists.txt - try generating pri files with Qt6"
ECM isn't quite ready for Qt6 yet. This reverts commit a79386a.
1 parent a79386a commit a43ab91

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,9 @@ if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
201201
)
202202

203203
# Generate .pri file for qmake users
204-
if(CMAKE_VERSION VERSION_GREATER "3.11.99" AND NOT CMAKE_CONFIGURATION_TYPES) # Not working with VS generator or older cmake versions
204+
#TODO: ECM does not support Qt6 yet
205+
if(Qt_VERSION_MAJOR EQUAL 5 AND
206+
CMAKE_VERSION VERSION_GREATER "3.11.99" AND NOT CMAKE_CONFIGURATION_TYPES) # Not working with VS generator or older cmake versions
205207
include(ECMGeneratePriFile)
206208
ecm_generate_pri_file(BASE_NAME KDReports
207209
LIB_NAME KDReports

0 commit comments

Comments
 (0)