Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Line(s) | |||||
66 | remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY) | 66 | remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY) | ||
67 | if(MSVC) | 67 | if(MSVC) | ||
68 | remove_definitions(-DQT_STRICT_ITERATORS) | 68 | remove_definitions(-DQT_STRICT_ITERATORS) | ||
69 | endif() | 69 | endif() | ||
70 | 70 | | |||
71 | option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF) | 71 | option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF) | ||
72 | add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)") | 72 | add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)") | ||
73 | add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) | 73 | add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) | ||
74 | add_definitions(-DQT_NO_FOREACH) | ||||
sh-zam: Removing this line is doesn't allow build to succeed, I had to comment this line to make it… | |||||
Sorry for the typo, I can't edit the comment it seems. I mean to say, having this line is causing the build to fail. sh-zam: Sorry for the typo, I can't edit the comment it seems.
I mean to say, having this line is… | |||||
74 | 75 | | |||
75 | if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po") | 76 | if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po") | ||
76 | ki18n_install(po) | 77 | ki18n_install(po) | ||
77 | endif() | 78 | endif() | ||
78 | add_subdirectory(src) | 79 | add_subdirectory(src) | ||
79 | if (BUILD_TESTING) | 80 | if (BUILD_TESTING) | ||
80 | add_subdirectory(autotests) | 81 | add_subdirectory(autotests) | ||
81 | endif() | 82 | endif() | ||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |
Removing this line is doesn't allow build to succeed, I had to comment this line to make it successful.
My build log:
I am using build_kf5.sh to build the framework