OSDN Git Service

remove designer tool
[kde/Katie.git] / CMakeLists.txt
1 # Editors notes:
2 #
3 # * To find all FIXME/TODO related to the CMake build system (and those
4 #   inherited from the QMake build system) execute the following in the
5 #   top-level directory of the source tree:
6 #
7 #     find -name '*.cmake' -exec grep -E 'TODO|FIXME' {} +
8 #     find -name CMakeLists.txt -exec grep -E 'TODO|FIXME' {} +
9
10 cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
11
12 if(CMAKE_CROSSCOMPILING AND NOT CMAKE_CROSSCOMPILING_EMULATOR)
13     message(FATAL_ERROR "Cross-compiling requires CMAKE_CROSSCOMPILING_EMULATOR to be set to QEMU executable, e.g. qemu-arm-static")
14 endif()
15
16 project(Katie C CXX)
17
18 set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")
19 set(CMAKE_AUTOMOC FALSE)
20 set(CMAKE_AUTOUIC FALSE)
21 set(CMAKE_AUTORCC FALSE)
22 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
23 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
24 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/staticlib")
25 set(CMAKE_C_VISIBILITY_PRESET "hidden")
26 set(CMAKE_CXX_VISIBILITY_PRESET "hidden")
27 set(CMAKE_VISIBILITY_INLINES_HIDDEN ON)
28 set(CMAKE_INCLUDE_DIRECTORIES_BEFORE ON)
29 set(CMAKE_UNITY_BUILD_BATCH_SIZE 300)
30
31 # enable symbols visibility preset for all targets
32 cmake_policy(SET CMP0063 NEW)
33
34 # LLVM linker does not have a default library search path, add some directories known to contain
35 # system wide libraries. the headers search path is also incomplete
36 if(CMAKE_SYSTEM_NAME MATCHES "BSD")
37     foreach(incdir /usr/X11R6/include /usr/X11R7/include /usr/pkg/include /usr/local/include /usr/include)
38         if(EXISTS "${incdir}")
39             include_directories(${incdir})
40         endif()
41     endforeach()
42     foreach(linkdir /usr/X11R6/lib /usr/X11R7/lib /usr/pkg/lib /usr/local/lib /usr/lib /lib)
43         if(EXISTS "${linkdir}")
44             link_directories(${linkdir})
45         endif()
46     endforeach()
47 endif()
48
49 include(CheckCXXCompilerFlag)
50 include(GNUInstallDirs)
51 include(CheckIncludeFileCXX)
52 include(CheckTypeSize)
53 include(CMakePushCheckState)
54 include(CheckStructHasMember)
55 include(CheckCXXSourceRuns)
56 include(TestBigEndian)
57 include(FeatureSummary)
58 include(KatieBuildMacros)
59
60 # disable some compiler warnings
61 set(KATIE_NO_WARNINGS
62     # hot attribute used in function prototypes
63     -Wno-attributes
64     # deprecated X11 and CUPS API used
65     -Wno-deprecated -Wno-deprecated-declarations
66 )
67 foreach(nowarning ${KATIE_NO_WARNINGS})
68     string(REPLACE "-W" "" normalizednowarning "${nowarning}")
69     check_cxx_compiler_flag(${nowarning} CXX_${normalizednowarning})
70     if(CXX_${normalizednowarning})
71         set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${nowarning}")
72     endif()
73 endforeach()
74
75 # https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html
76 # https://github.com/Kitware/CMake/blob/master/Modules/CMakeDetermineSystem.cmake
77 if(CMAKE_SYSTEM_NAME MATCHES "(Linux|GNU)")
78     katie_definition(-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE)
79 elseif(CMAKE_SYSTEM_NAME MATCHES "(FreeBSD|DragonFly)")
80     katie_definition(-D_THREAD_SAFE)
81 elseif(NOT CMAKE_SYSTEM_NAME MATCHES "(OpenBSD|NetBSD|Solaris|SunOS)")
82     message(FATAL_ERROR "Unknown platform '${CMAKE_SYSTEM_NAME}'")
83 endif()
84
85 # mostly relevant to the build process, also stored in the version file for CMake and in qconfig.h.cmake
86 set(KATIE_MAJOR "4")
87 set(KATIE_MINOR "12")
88 set(KATIE_MICRO "0")
89 set(KATIE_HEX "0x041200")
90 set(KATIE_VERSION "${KATIE_MAJOR}.${KATIE_MINOR}.${KATIE_MICRO}")
91
92 # only for the build process
93 if(CMAKE_SYSTEM_PROCESSOR)
94     string(TOLOWER "${CMAKE_SYSTEM_PROCESSOR}" KATIE_PROCESSOR)
95 elseif(CMAKE_HOST_SYSTEM_PROCESSOR)
96     string(TOLOWER "${CMAKE_HOST_SYSTEM_PROCESSOR}" KATIE_PROCESSOR)
97 endif()
98
99 # used in katie_optimize_headers()
100 find_program(KATIE_UNIFDEF NAMES unifdef)
101 if(NOT KATIE_UNIFDEF)
102     message(WARNING "Could not find unifdef, headers will not be optimized")
103 endif()
104
105 # used as shebang for profile, exec and dbg scripts
106 find_program(KATIE_SHELL NAMES sh dash mksh ksh ash)
107 if(NOT KATIE_SHELL)
108     message(FATAL_ERROR "Could not detect shell, supported are: sh, dash, mksh, ksh and ash")
109 endif()
110
111 # should be either STATIC or SHARED
112 set(KATIE_TYPE SHARED CACHE STRING "Build type")
113
114 # components and tools that will be build, changed depending on the requirements availability
115 set(KATIE_COMPONENTS "Core Gui Declarative Network Svg Xml Script ScriptTools Test UiTools")
116 set(KATIE_TOOLS "moc uic rcc qscript qtconfig")
117
118 set(KATIE_HEADERS_PATH "${CMAKE_INSTALL_FULL_INCLUDEDIR}/katie" CACHE PATH "Headers installation path")
119 set(KATIE_LIBRARIES_PATH "${CMAKE_INSTALL_FULL_LIBDIR}" CACHE PATH "Libraries installation path")
120 set(KATIE_BINARIES_PATH "${CMAKE_INSTALL_FULL_BINDIR}" CACHE PATH "Binaries installation path")
121 set(KATIE_PLUGINS_PATH "${KATIE_LIBRARIES_PATH}/katie/plugins" CACHE PATH "Plugins installation path")
122 set(KATIE_IMPORTS_PATH "${KATIE_LIBRARIES_PATH}/katie/imports" CACHE PATH "Declarative imports installation path")
123 set(KATIE_TRANSLATIONS_PATH "${CMAKE_INSTALL_FULL_LOCALEDIR}" CACHE PATH "Translations installation path")
124 set(KATIE_CMAKE_PATH "${KATIE_LIBRARIES_PATH}/cmake/Katie" CACHE PATH "CMake aware modules installation path")
125 set(KATIE_LDCONF_PATH "${CMAKE_INSTALL_FULL_SYSCONFDIR}/ld.so.conf.d" CACHE PATH "Run-time linker/loader configs installation path")
126 set(KATIE_PROFILE_PATH "${CMAKE_INSTALL_FULL_SYSCONFDIR}/profile.d" CACHE PATH "Shell profile scripts installation path")
127 set(KATIE_MAN_PATH "${CMAKE_INSTALL_FULL_MANDIR}" CACHE PATH "Manual pages installation path")
128 set(KATIE_APPLICATIONS_PATH "${CMAKE_INSTALL_FULL_DATADIR}/applications" CACHE PATH "Desktop applications register installation path")
129 set(KATIE_PIXMAPS_PATH "${CMAKE_INSTALL_FULL_DATADIR}/pixmaps" CACHE PATH "Desktop applications icon installation path")
130 set(KATIE_PKGCONFIG_PATH "${KATIE_LIBRARIES_PATH}/pkgconfig" CACHE PATH "pkg-config installation path")
131 set(KATIE_TOOLS_SUFFIX "" CACHE STRING "Tools (moc, uic, rcc, etc.) suffix")
132
133 # bundled packages
134 option(WITH_DEFLATE "Build with external libdeflate" ON)
135 add_feature_info(deflate WITH_DEFLATE "build with external libdeflate")
136
137 option(WITH_XXHASH "Build with external xxHash" OFF)
138 add_feature_info(xxhash WITH_XXHASH "build with external xxHash")
139
140 # optional packages
141 option(WITH_CUPS "Build CUPS support" ON)
142 add_feature_info(cups WITH_CUPS "build CUPS support")
143
144 option(WITH_DBUS "Build D-Bus support" ON)
145 add_feature_info(dbus WITH_DBUS "build D-Bus support")
146
147 option(WITH_FONTCONFIG "Build Fontconfig support" ON)
148 add_feature_info(fontconfig WITH_FONTCONFIG "build Fontconfig support")
149
150 option(WITH_INTL "Build Intl support" ON)
151 add_feature_info(intl WITH_INTL "build Intl support")
152
153 option(WITH_EXECINFO "Build ExecInfo support" OFF)
154 add_feature_info(execinfo WITH_EXECINFO "build ExecInfo support")
155
156 # optional features
157 option(KATIE_TESTS "Build automatic tests" OFF)
158 add_feature_info(tests KATIE_TESTS "build automatic tests")
159
160 option(KATIE_BENCHMARKS "Build automatic benchmarks" OFF)
161 add_feature_info(benchmarks KATIE_BENCHMARKS "build automatic benchmarks")
162
163 option(KATIE_UTILS "Build maintainance utilities" OFF)
164 add_feature_info(utils KATIE_UTILS "build maintainance utilities")
165
166 # v4.6+ required for unorm2_getDecomposition()
167 find_package(ICU 4.6)
168 set_package_properties(ICU PROPERTIES
169     PURPOSE "Required for locales support"
170     DESCRIPTION "Mature, widely used libraries providing Unicode and Globalization support"
171     URL "http://site.icu-project.org/"
172     TYPE REQUIRED
173 )
174
175 # v2.8+ required for JSON_PARSER_MAX_DEPTH
176 find_package(Jansson 2.8)
177 set_package_properties(Jansson PROPERTIES
178     PURPOSE "Required for JSON support"
179     DESCRIPTION "C library for encoding, decoding and manipulating JSON data"
180     URL "https://github.com/akheron/jansson"
181     TYPE REQUIRED
182 )
183
184 find_package(X11)
185 set_package_properties(X11 PROPERTIES
186     PURPOSE "Required for X11/X.Org integration support"
187     DESCRIPTION "Open source implementation of the X Window System"
188     URL "https://www.x.org"
189     TYPE REQUIRED
190 )
191
192 find_package(Freetype)
193 set_package_properties(Freetype PROPERTIES
194     PURPOSE "Required for fonts configuration support"
195     DESCRIPTION "Freely available software library to render fonts"
196     URL "https://www.freetype.org"
197     TYPE REQUIRED
198 )
199
200 set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
201 find_package(Threads)
202 set_package_properties(Threads PROPERTIES
203     PURPOSE "Required for threads support"
204     DESCRIPTION "Platform dependent threads implementation"
205     URL ""
206     TYPE REQUIRED
207 )
208
209 find_package(PNG)
210 set_package_properties(PNG PROPERTIES
211     PURPOSE "PNG format handler"
212     DESCRIPTION "A collection of routines used to create PNG format graphics files"
213     URL "http://www.libpng.org/pub/png/libpng.html"
214     TYPE REQUIRED
215 )
216
217 find_package(Deflate)
218 set_package_properties(Deflate PROPERTIES
219     PURPOSE "Required for compression and decompression support"
220     DESCRIPTION "Heavily optimized library for DEFLATE/zlib/gzip compression and decompression"
221     URL "https://github.com/ebiggers/libdeflate"
222     TYPE RECOMMENDED
223 )
224
225 find_package(xxHash)
226 set_package_properties(xxHash PROPERTIES
227     PURPOSE "Required for the custom hash algorithm"
228     DESCRIPTION "Extremely fast non-cryptographic hash algorithm"
229     URL "https://cyan4973.github.io/xxHash/"
230     TYPE RECOMMENDED
231 )
232
233 find_package(Cups)
234 set_package_properties(Cups PROPERTIES
235     PURPOSE "Required for printing support"
236     DESCRIPTION "CUPS is the standards-based, open source printing system"
237     URL "https://www.cups.org"
238     TYPE RECOMMENDED
239 )
240
241 # v2.4.2+ required for Freetype integration
242 find_package(Fontconfig 2.4.2)
243 set_package_properties(Fontconfig PROPERTIES
244     PURPOSE "Required for fonts configuration support"
245     DESCRIPTION "Library for configuring and customizing font access"
246     URL "https://www.freedesktop.org/wiki/Software/fontconfig/"
247     TYPE RECOMMENDED
248 )
249
250 # v1.5.12+ required for DBusBasicValue type
251 find_package(DBus 1.5.12)
252 set_package_properties(DBus PROPERTIES
253     PURPOSE "Required for D-Bus support"
254     DESCRIPTION "Message bus system, a simple way for applications to talk to one another"
255     URL "https://www.freedesktop.org/wiki/Software/dbus"
256     TYPE RECOMMENDED
257 )
258
259 find_package(Intl)
260 set_package_properties(Intl PROPERTIES
261     PURPOSE "Required for translations support"
262     DESCRIPTION "GNU gettext runtime library"
263     URL "https://www.gnu.org/software/gettext/gettext.html"
264     TYPE RECOMMENDED
265 )
266
267 find_package(ExecInfo)
268 set_package_properties(ExecInfo PROPERTIES
269     PURPOSE "Required for stack traces on assert and crash"
270     DESCRIPTION "Standard C library specific execinfo implementation"
271     URL ""
272     TYPE RECOMMENDED
273 )
274
275 find_package(XdgUtils)
276 set_package_properties(XdgUtils PROPERTIES
277     PURPOSE "Required for desktop services"
278     DESCRIPTION "Utilities for integrating applications with the desktop environment"
279     URL "https://www.freedesktop.org/wiki/Software/xdg-utils/"
280     TYPE RUNTIME
281 )
282
283 # stored in qconfig.h.cmake
284 check_type_size(size_t QT_POINTER_SIZE)
285
286 test_big_endian(KATIE_BIG_ENDIAN)
287 if(KATIE_BIG_ENDIAN)
288     set(KATIE_BYTE_ORDER "Q_BIG_ENDIAN")
289 else()
290     set(KATIE_BYTE_ORDER "Q_LITTLE_ENDIAN")
291 endif()
292
293 if(CMAKE_SYSTEM_NAME MATCHES "Linux")
294     set(KATIE_OS "LINUX")
295 elseif(CMAKE_SYSTEM_NAME MATCHES "GNU")
296     set(KATIE_OS "HURD")
297 elseif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
298     set(KATIE_OS "FREEBSD")
299 elseif(CMAKE_SYSTEM_NAME MATCHES "DragonFly")
300     set(KATIE_OS "DRAGONFLY")
301 elseif(CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
302     set(KATIE_OS "OPENBSD")
303 elseif(CMAKE_SYSTEM_NAME MATCHES "NetBSD")
304     set(KATIE_OS "NETBSD")
305 elseif(CMAKE_SYSTEM_NAME MATCHES "(Solaris|SunOS)")
306     set(KATIE_OS "SOLARIS")
307 else()
308     message(FATAL_ERROR "Unknown platform '${CMAKE_SYSTEM_NAME}'")
309 endif()
310
311 try_run(
312     KATIE_ARCH_RUN_RESULT KATIE_ARCH_COMPILE_RESULT
313     "${CMAKE_BINARY_DIR}" "${CMAKE_SOURCE_DIR}/cmake/arch.cpp"
314     RUN_OUTPUT_VARIABLE KATIE_ARCH
315 )
316 if(NOT KATIE_ARCH_RUN_RESULT EQUAL 0 OR NOT KATIE_ARCH_COMPILE_RESULT)
317     message(FATAL_ERROR "Unknown CPU '${KATIE_PROCESSOR}'")
318 endif()
319
320 # only Solaris is known to have these
321 find_library(SOCKET_LIBRARY NAMES socket)
322 find_library(NSL_LIBRARY NAMES nsl)
323 set(SOCKET_AND_NSL_LIBRARIES)
324 if(SOCKET_LIBRARY)
325     set(SOCKET_AND_NSL_LIBRARIES
326         ${SOCKET_AND_NSL_LIBRARIES}
327         ${SOCKET_LIBRARY}
328     )
329 endif()
330 if(NSL_LIBRARY)
331     set(SOCKET_AND_NSL_LIBRARIES
332         ${SOCKET_AND_NSL_LIBRARIES}
333         ${NSL_LIBRARY}
334     )
335 endif()
336
337 # used in components, tests and JavaScriptCore
338 katie_check_header("cxxabi.h")
339 katie_check_function(posix_memalign "stdlib.h")
340 katie_check_function(getprogname "stdlib.h")
341 katie_check_function(arc4random_uniform "stdlib.h")
342 katie_check_function(get_current_dir_name "unistd.h")
343 katie_check_function(prctl "sys/prctl.h")
344 katie_check_function(feenableexcept "fenv.h")
345 katie_check_function(madvise "sys/mman.h")
346 katie_check_function(timegm "time.h")
347 katie_check_function(pipe2 "unistd.h")
348 katie_check_function(getdomainname "unistd.h")
349 katie_check_function(renameat2 "stdio.h")
350 katie_check_function(program_invocation_short_name "errno.h")
351 katie_check_struct(tm tm_gmtoff "time.h")
352 katie_check_struct(tm tm_zone "time.h")
353 katie_check_struct(dirent d_type "dirent.h")
354
355 cmake_reset_check_state()
356 set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_THREAD_LIBS_INIT})
357 katie_check_function(pthread_setname_np "pthread.h")
358 cmake_reset_check_state()
359
360 cmake_reset_check_state()
361 set(CMAKE_REQUIRED_LIBRARIES ${SOCKET_AND_NSL_LIBRARIES})
362 katie_check_function(getifaddrs "ifaddrs.h")
363 katie_check_function(accept4 "sys/socket.h")
364 katie_check_function(paccept "sys/socket.h")
365 cmake_reset_check_state()
366
367 katie_check_proc(exe)
368 katie_check_proc(cmdline)
369
370 if(KATIE_TESTS OR KATIE_BENCHMARKS)
371     message(WARNING "Deploying tests/benchmarks build is a bad idea")
372     enable_testing()
373     add_definitions(-DQT_BUILD_INTERNAL)
374 endif()
375
376 foreach(script exec dbg)
377     configure_file(
378         ${CMAKE_SOURCE_DIR}/cmake/${script}.sh.cmake
379         ${CMAKE_BINARY_DIR}/${CMAKE_FILES_DIRECTORY}/${script}.sh
380         @ONLY
381     )
382     file(
383         COPY ${CMAKE_BINARY_DIR}/${CMAKE_FILES_DIRECTORY}/${script}.sh
384         DESTINATION ${CMAKE_BINARY_DIR}
385         FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ WORLD_READ
386     )
387 endforeach()
388
389 # optional packages
390 if(WITH_DBUS AND DBUS_FOUND)
391     set(KATIE_COMPONENTS "${KATIE_COMPONENTS} DBus")
392     set(KATIE_TOOLS "${KATIE_TOOLS} qdbus qdbusxml2cpp qdbuscpp2xml qdbusviewer")
393 endif()
394
395 if(NOT WITH_FONTCONFIG OR NOT FONTCONFIG_FOUND)
396     katie_config(QT_NO_FONTCONFIG)
397 endif()
398
399 if(NOT WITH_CUPS OR NOT CUPS_FOUND)
400     katie_config(QT_NO_CUPS)
401 endif()
402
403 if(NOT WITH_INTL OR NOT INTL_FOUND)
404     katie_config(QT_NO_TRANSLATION)
405 endif()
406
407 if(NOT WITH_EXECINFO OR NOT EXECINFO_FOUND)
408     katie_config(QT_NO_EXECINFO)
409 endif()
410
411 # optional and conditional features
412 if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
413     katie_config(QT_NO_DEBUG)
414 endif()
415
416 add_library(pic_test ${KATIE_TYPE}  EXCLUDE_FROM_ALL "${CMAKE_SOURCE_DIR}/cmake/pic.cpp")
417 get_target_property(HAVE_pic pic_test POSITION_INDEPENDENT_CODE)
418 if(NOT HAVE_pic)
419     katie_definition(-DQ_NO_DATA_RELOCATION)
420 endif()
421
422 # keep in sync with the GUI component CMake file, only definitions setup is needed here
423 foreach(x11ext Xshape Xinerama Xrandr Xrender Xfixes Xcursor)
424     if(NOT X11_${x11ext}_FOUND)
425         message(WARNING "The X11 ${x11ext} extension was not found")
426         string(TOUPPER "${x11ext}" upperext)
427         katie_config(QT_NO_${upperext})
428     endif()
429 endforeach()
430 if(NOT X11_Xext_FOUND)
431     message(WARNING "The X11 Xext extension was not found")
432     katie_config(QT_NO_XSYNC)
433     katie_config(QT_NO_XSHAPE)
434 endif()
435 if(NOT X11_SM_FOUND OR NOT X11_ICE_FOUND)
436     message(WARNING "The X11 SM/ICE was not found thus disabling session manager support")
437     katie_config(QT_NO_SESSIONMANAGER)
438 endif()
439
440 configure_file(
441     ${CMAKE_SOURCE_DIR}/src/core/global/qconfig.h.cmake
442     ${CMAKE_BINARY_DIR}/include/QtCore/qconfig.h
443 )
444 configure_file(
445     ${CMAKE_SOURCE_DIR}/src/core/global/qconfig.cpp.cmake
446     ${CMAKE_BINARY_DIR}/include/qconfig.cpp
447 )
448
449 add_subdirectory(src/core)
450 add_subdirectory(src/xml)
451 if(WITH_DBUS AND DBUS_FOUND)
452     add_subdirectory(src/dbus)
453 endif()
454 add_subdirectory(src/declarative)
455 add_subdirectory(src/gui)
456 add_subdirectory(src/imports)
457 add_subdirectory(src/network)
458 add_subdirectory(src/plugins)
459 add_subdirectory(src/script)
460 add_subdirectory(src/scripttools)
461 add_subdirectory(src/svg)
462 add_subdirectory(src/test)
463 add_subdirectory(src/uitools)
464
465 add_subdirectory(src/tools)
466
467 if(WITH_INTL AND INTL_FOUND)
468     add_subdirectory(translations)
469 endif()
470
471 if(KATIE_TESTS OR KATIE_BENCHMARKS)
472     add_subdirectory(tests)
473 endif()
474
475 if(KATIE_UTILS)
476     add_subdirectory(util)
477 endif()
478
479 # the macro calls bellow are generated via the incfsck script
480 katie_generate_obsolete(QAbstractFileEngineIterator QtCore qabstractfileengine.h)
481 katie_generate_obsolete(QAbstractGraphicsShapeItem QtGui qgraphicsitem.h)
482 katie_generate_obsolete(QAbstractListModel QtCore qabstractitemmodel.h)
483 katie_generate_obsolete(QAbstractTableModel QtCore qabstractitemmodel.h)
484 katie_generate_obsolete(QAbstractUndoItem QtGui qtextdocument.h)
485 katie_generate_obsolete(QActionEvent QtGui qevent.h)
486 katie_generate_obsolete(QArgument QtCore qobjectdefs.h)
487 katie_generate_obsolete(QAtomicInt QtCore qatomic.h)
488 katie_generate_obsolete(QAtomicPointer QtCore qatomic.h)
489 katie_generate_obsolete(QBitRef QtCore qbitarray.h)
490 katie_generate_obsolete(QBrushData QtGui qbrush.h)
491 katie_generate_obsolete(QByteRef QtCore qbytearray.h)
492 katie_generate_obsolete(QCharRef QtCore qstring.h)
493 katie_generate_obsolete(QChildEvent QtCore qcoreevent.h)
494 katie_generate_obsolete(QClipboardEvent QtGui qevent.h)
495 katie_generate_obsolete(QCloseEvent QtGui qevent.h)
496 katie_generate_obsolete(QContextMenuEvent QtGui qevent.h)
497 katie_generate_obsolete(QContiguousCacheData QtCore qcontiguouscache.h)
498 katie_generate_obsolete(QContiguousCacheTypedData QtCore qcontiguouscache.h)
499 katie_generate_obsolete(QCustomWidgetPlugin QtUiTools customwidget.h)
500 katie_generate_obsolete(QCustomWidget QtUiTools customwidget.h)
501 katie_generate_obsolete(QDateEdit QtGui qdatetimeedit.h)
502 katie_generate_obsolete(QDate QtCore qdatetime.h)
503 katie_generate_obsolete(QDBusAbstractInterfaceBase QtDBus qdbusabstractinterface.h)
504 katie_generate_obsolete(QDBusObjectPath QtDBus qdbusextratypes.h)
505 katie_generate_obsolete(QDBusPendingCallWatcher QtDBus qdbuspendingcall.h)
506 katie_generate_obsolete(QDBusPendingReplyData QtDBus qdbuspendingreply.h)
507 katie_generate_obsolete(QDBusSignature QtDBus qdbusextratypes.h)
508 katie_generate_obsolete(QDBusVariant QtDBus qdbusextratypes.h)
509 katie_generate_obsolete(QDeclarativeAttachedPropertiesFunc QtDeclarative qdeclarativeprivate.h)
510 katie_generate_obsolete(QDeclarativeListProperty QtDeclarative qdeclarativelist.h)
511 katie_generate_obsolete(QDeclarativeListReference QtDeclarative qdeclarativelist.h)
512 katie_generate_obsolete(QDeclarativeProperties QtDeclarative qdeclarativeproperty.h)
513 katie_generate_obsolete(QDeclarativeTypeInfo QtDeclarative qdeclarativeprivate.h)
514 katie_generate_obsolete(QDomAttr QtXml qdom.h)
515 katie_generate_obsolete(QDomCDATASection QtXml qdom.h)
516 katie_generate_obsolete(QDomCharacterData QtXml qdom.h)
517 katie_generate_obsolete(QDomComment QtXml qdom.h)
518 katie_generate_obsolete(QDomDocumentFragment QtXml qdom.h)
519 katie_generate_obsolete(QDomDocument QtXml qdom.h)
520 katie_generate_obsolete(QDomDocumentType QtXml qdom.h)
521 katie_generate_obsolete(QDomElement QtXml qdom.h)
522 katie_generate_obsolete(QDomEntity QtXml qdom.h)
523 katie_generate_obsolete(QDomEntityReference QtXml qdom.h)
524 katie_generate_obsolete(QDomImplementation QtXml qdom.h)
525 katie_generate_obsolete(QDomNamedNodeMap QtXml qdom.h)
526 katie_generate_obsolete(QDomNodeList QtXml qdom.h)
527 katie_generate_obsolete(QDomNode QtXml qdom.h)
528 katie_generate_obsolete(QDomNotation QtXml qdom.h)
529 katie_generate_obsolete(QDomProcessingInstruction QtXml qdom.h)
530 katie_generate_obsolete(QDomText QtXml qdom.h)
531 katie_generate_obsolete(QDoubleSpinBox QtGui qspinbox.h)
532 katie_generate_obsolete(QDoubleValidator QtGui qvalidator.h)
533 katie_generate_obsolete(QDragEnterEvent QtGui qevent.h)
534 katie_generate_obsolete(QDragLeaveEvent QtGui qevent.h)
535 katie_generate_obsolete(QDragMoveEvent QtGui qevent.h)
536 katie_generate_obsolete(QDropEvent QtGui qevent.h)
537 katie_generate_obsolete(QDynamicPropertyChangeEvent QtCore qcoreevent.h)
538 katie_generate_obsolete(QEvent QtCore qcoreevent.h)
539 katie_generate_obsolete(QEventSizeOfChecker QtTest qtestspontaneevent.h)
540 katie_generate_obsolete(QExplicitlySharedDataPointer QtCore qsharedpointer.h)
541 katie_generate_obsolete(QFileInfoList QtCore qfileinfo.h)
542 katie_generate_obsolete(QFlag QtCore qglobal.h)
543 katie_generate_obsolete(QFlags QtCore qglobal.h)
544 katie_generate_obsolete(QFocusEvent QtGui qevent.h)
545 katie_generate_obsolete(QFontMetricsF QtGui qfontmetrics.h)
546 katie_generate_obsolete(QGenericArgument QtCore qobjectdefs.h)
547 katie_generate_obsolete(QGenericReturnArgument QtCore qobjectdefs.h)
548 katie_generate_obsolete(QGradient QtGui qbrush.h)
549 katie_generate_obsolete(QGradientStop QtGui qbrush.h)
550 katie_generate_obsolete(QGradientStops QtGui qbrush.h)
551 katie_generate_obsolete(QGraphicsAnchor QtGui qgraphicsanchorlayout.h)
552 katie_generate_obsolete(QGraphicsBlurEffect QtGui qgraphicseffect.h)
553 katie_generate_obsolete(QGraphicsColorizeEffect QtGui qgraphicseffect.h)
554 katie_generate_obsolete(QGraphicsDropShadowEffect QtGui qgraphicseffect.h)
555 katie_generate_obsolete(QGraphicsEllipseItem QtGui qgraphicsitem.h)
556 katie_generate_obsolete(QGraphicsItemGroup QtGui qgraphicsitem.h)
557 katie_generate_obsolete(QGraphicsLineItem QtGui qgraphicsitem.h)
558 katie_generate_obsolete(QGraphicsObject QtGui qgraphicsitem.h)
559 katie_generate_obsolete(QGraphicsOpacityEffect QtGui qgraphicseffect.h)
560 katie_generate_obsolete(QGraphicsPathItem QtGui qgraphicsitem.h)
561 katie_generate_obsolete(QGraphicsPixmapItem QtGui qgraphicsitem.h)
562 katie_generate_obsolete(QGraphicsPolygonItem QtGui qgraphicsitem.h)
563 katie_generate_obsolete(QGraphicsRectItem QtGui qgraphicsitem.h)
564 katie_generate_obsolete(QGraphicsRotation QtGui qgraphicstransform.h)
565 katie_generate_obsolete(QGraphicsScale QtGui qgraphicstransform.h)
566 katie_generate_obsolete(QGraphicsSceneContextMenuEvent QtGui qgraphicssceneevent.h)
567 katie_generate_obsolete(QGraphicsSceneDragDropEvent QtGui qgraphicssceneevent.h)
568 katie_generate_obsolete(QGraphicsSceneHelpEvent QtGui qgraphicssceneevent.h)
569 katie_generate_obsolete(QGraphicsSceneHoverEvent QtGui qgraphicssceneevent.h)
570 katie_generate_obsolete(QGraphicsSceneMouseEvent QtGui qgraphicssceneevent.h)
571 katie_generate_obsolete(QGraphicsSceneMoveEvent QtGui qgraphicssceneevent.h)
572 katie_generate_obsolete(QGraphicsSceneResizeEvent QtGui qgraphicssceneevent.h)
573 katie_generate_obsolete(QGraphicsSceneWheelEvent QtGui qgraphicssceneevent.h)
574 katie_generate_obsolete(QGraphicsSimpleTextItem QtGui qgraphicsitem.h)
575 katie_generate_obsolete(QGraphicsTextItem QtGui qgraphicsitem.h)
576 katie_generate_obsolete(QHashData QtCore qhash.h)
577 katie_generate_obsolete(QHashIterator QtCore qhash.h)
578 katie_generate_obsolete(QHashNode QtCore qhash.h)
579 katie_generate_obsolete(QHBoxLayout QtGui qboxlayout.h)
580 katie_generate_obsolete(QHelpEvent QtGui qevent.h)
581 katie_generate_obsolete(QHideEvent QtGui qevent.h)
582 katie_generate_obsolete(QHoverEvent QtGui qevent.h)
583 katie_generate_obsolete(QIconEnginePluginV2 QtGui qiconengineplugin.h)
584 katie_generate_obsolete(QIconEngineV2 QtGui qiconengine.h)
585 katie_generate_obsolete(QImageIOPlugin QtGui qimageiohandler.h)
586 katie_generate_obsolete(QIncompatibleFlag QtCore qglobal.h)
587 katie_generate_obsolete(QInputEvent QtGui qevent.h)
588 katie_generate_obsolete(QInternal QtCore qnamespace.h)
589 katie_generate_obsolete(QIntValidator QtGui qvalidator.h)
590 katie_generate_obsolete(QIPv6Address QtNetwork qhostaddress.h)
591 katie_generate_obsolete(Q_IPV6ADDR QtNetwork qhostaddress.h)
592 katie_generate_obsolete(QItemEditorCreatorBase QtGui qitemeditorfactory.h)
593 katie_generate_obsolete(QItemEditorCreator QtGui qitemeditorfactory.h)
594 katie_generate_obsolete(QItemSelection QtGui qitemselectionmodel.h)
595 katie_generate_obsolete(QItemSelectionRange QtGui qitemselectionmodel.h)
596 katie_generate_obsolete(QKeyEvent QtGui qevent.h)
597 katie_generate_obsolete(QLatin1Char QtCore qchar.h)
598 katie_generate_obsolete(QLatin1String QtCore qstring.h)
599 katie_generate_obsolete(QLinearGradient QtGui qbrush.h)
600 katie_generate_obsolete(QLineF QtCore qline.h)
601 katie_generate_obsolete(QListData QtCore qlist.h)
602 katie_generate_obsolete(QListIterator QtCore qlist.h)
603 katie_generate_obsolete(QListWidgetItem QtGui qlistwidget.h)
604 katie_generate_obsolete(QMapData QtCore qmap.h)
605 katie_generate_obsolete(QMapIterator QtCore qmap.h)
606 katie_generate_obsolete(QMapNode QtCore qmap.h)
607 katie_generate_obsolete(QMapPayloadNode QtCore qmap.h)
608 katie_generate_obsolete(QMatrix2x2 QtGui qgenericmatrix.h)
609 katie_generate_obsolete(QMatrix2x3 QtGui qgenericmatrix.h)
610 katie_generate_obsolete(QMatrix2x4 QtGui qgenericmatrix.h)
611 katie_generate_obsolete(QMatrix3x2 QtGui qgenericmatrix.h)
612 katie_generate_obsolete(QMatrix3x3 QtGui qgenericmatrix.h)
613 katie_generate_obsolete(QMatrix3x4 QtGui qgenericmatrix.h)
614 katie_generate_obsolete(QMatrix4x2 QtGui qgenericmatrix.h)
615 katie_generate_obsolete(QMatrix4x3 QtGui qgenericmatrix.h)
616 katie_generate_obsolete(QMetaClassInfo QtCore qmetaobject.h)
617 katie_generate_obsolete(QMetaEnum QtCore qmetaobject.h)
618 katie_generate_obsolete(QMetaMethod QtCore qmetaobject.h)
619 katie_generate_obsolete(QMetaObjectAccessor QtCore qobjectdefs.h)
620 katie_generate_obsolete(QMetaProperty QtCore qmetaobject.h)
621 katie_generate_obsolete(QMetaTypeId2 QtCore qmetatype.h)
622 katie_generate_obsolete(QMetaTypeId QtCore qmetatype.h)
623 katie_generate_obsolete(QModelIndexList QtCore qabstractitemmodel.h)
624 katie_generate_obsolete(QModelIndex QtCore qabstractitemmodel.h)
625 katie_generate_obsolete(QMouseEvent QtGui qevent.h)
626 katie_generate_obsolete(QMoveEvent QtGui qevent.h)
627 katie_generate_obsolete(QMultiHash QtCore qhash.h)
628 katie_generate_obsolete(QMultiMap QtCore qmap.h)
629 katie_generate_obsolete(QMutableHashIterator QtCore qhash.h)
630 katie_generate_obsolete(QMutableListIterator QtCore qlist.h)
631 katie_generate_obsolete(QMutableMapIterator QtCore qmap.h)
632 katie_generate_obsolete(QMutableSetIterator QtCore qset.h)
633 katie_generate_obsolete(QMutableStringListIterator QtCore qstringlist.h)
634 katie_generate_obsolete(QMutableVectorIterator QtCore qvector.h)
635 katie_generate_obsolete(QMutexLocker QtCore qmutex.h)
636 katie_generate_obsolete(QNetworkAddressEntry QtNetwork qnetworkinterface.h)
637 katie_generate_obsolete(QNoDebug QtCore qdebug.h)
638 katie_generate_obsolete(QObjectData QtCore qobject.h)
639 katie_generate_obsolete(QObjectList QtCore qobject.h)
640 katie_generate_obsolete(QPaintEngineState QtGui qpaintengine.h)
641 katie_generate_obsolete(QPainterPathPrivate QtGui qpainterpath.h)
642 katie_generate_obsolete(QPainterPathStroker QtGui qpainterpath.h)
643 katie_generate_obsolete(QPaintEvent QtGui qevent.h)
644 katie_generate_obsolete(QPersistentModelIndex QtCore qabstractitemmodel.h)
645 katie_generate_obsolete(Q_PID QtCore qprocess.h)
646 katie_generate_obsolete(QPlainTextDocumentLayout QtGui qplaintextedit.h)
647 katie_generate_obsolete(QPointF QtCore qpoint.h)
648 katie_generate_obsolete(QPolygonF QtGui qpolygon.h)
649 katie_generate_obsolete(QProcessEnvironment QtCore qprocess.h)
650 katie_generate_obsolete(QRadialGradient QtGui qbrush.h)
651 katie_generate_obsolete(QRectF QtCore qrect.h)
652 katie_generate_obsolete(QRegExpValidator QtGui qvalidator.h)
653 katie_generate_obsolete(QResizeEvent QtGui qevent.h)
654 katie_generate_obsolete(QReturnArgument QtCore qobjectdefs.h)
655 katie_generate_obsolete(QScopedPointerPodDeleter QtCore qscopedpointer.h)
656 katie_generate_obsolete(QSetIterator QtCore qset.h)
657 katie_generate_obsolete(QSharedDataPointer QtCore qshareddata.h)
658 katie_generate_obsolete(QShortcutEvent QtGui qevent.h)
659 katie_generate_obsolete(QShowEvent QtGui qevent.h)
660 katie_generate_obsolete(QSizeF QtCore qsize.h)
661 katie_generate_obsolete(QSpacerItem QtGui qlayoutitem.h)
662 katie_generate_obsolete(QSplitterHandle QtGui qsplitter.h)
663 katie_generate_obsolete(QSpontaneKeyEvent QtTest qtestspontaneevent.h)
664 katie_generate_obsolete(QStandardItemEditorCreator QtGui qitemeditorfactory.h)
665 katie_generate_obsolete(QStandardItem QtGui qstandarditemmodel.h)
666 katie_generate_obsolete(QStatusTipEvent QtGui qevent.h)
667 katie_generate_obsolete(QStringListIterator QtCore qstringlist.h)
668 katie_generate_obsolete(QStringRef QtCore qstring.h)
669 katie_generate_obsolete(QStyleHintReturnMask QtGui qstyleoption.h)
670 katie_generate_obsolete(QStyleHintReturn QtGui qstyleoption.h)
671 katie_generate_obsolete(QStyleHintReturnVariant QtGui qstyleoption.h)
672 katie_generate_obsolete(QStyleOptionButton QtGui qstyleoption.h)
673 katie_generate_obsolete(QStyleOptionComboBox QtGui qstyleoption.h)
674 katie_generate_obsolete(QStyleOptionComplex QtGui qstyleoption.h)
675 katie_generate_obsolete(QStyleOptionDockWidget QtGui qstyleoption.h)
676 katie_generate_obsolete(QStyleOptionDockWidgetV2 QtGui qstyleoption.h)
677 katie_generate_obsolete(QStyleOptionFocusRect QtGui qstyleoption.h)
678 katie_generate_obsolete(QStyleOptionFrame QtGui qstyleoption.h)
679 katie_generate_obsolete(QStyleOptionFrameV2 QtGui qstyleoption.h)
680 katie_generate_obsolete(QStyleOptionFrameV3 QtGui qstyleoption.h)
681 katie_generate_obsolete(QStyleOptionGraphicsItem QtGui qstyleoption.h)
682 katie_generate_obsolete(QStyleOptionGroupBox QtGui qstyleoption.h)
683 katie_generate_obsolete(QStyleOptionHeader QtGui qstyleoption.h)
684 katie_generate_obsolete(QStyleOptionMenuItem QtGui qstyleoption.h)
685 katie_generate_obsolete(QStyleOptionProgressBar QtGui qstyleoption.h)
686 katie_generate_obsolete(QStyleOptionProgressBarV2 QtGui qstyleoption.h)
687 katie_generate_obsolete(QStyleOptionRubberBand QtGui qstyleoption.h)
688 katie_generate_obsolete(QStyleOptionSizeGrip QtGui qstyleoption.h)
689 katie_generate_obsolete(QStyleOptionSlider QtGui qstyleoption.h)
690 katie_generate_obsolete(QStyleOptionSpinBox QtGui qstyleoption.h)
691 katie_generate_obsolete(QStyleOptionTabBarBase QtGui qstyleoption.h)
692 katie_generate_obsolete(QStyleOptionTabBarBaseV2 QtGui qstyleoption.h)
693 katie_generate_obsolete(QStyleOptionTab QtGui qstyleoption.h)
694 katie_generate_obsolete(QStyleOptionTabV2 QtGui qstyleoption.h)
695 katie_generate_obsolete(QStyleOptionTabV3 QtGui qstyleoption.h)
696 katie_generate_obsolete(QStyleOptionTabWidgetFrame QtGui qstyleoption.h)
697 katie_generate_obsolete(QStyleOptionTabWidgetFrameV2 QtGui qstyleoption.h)
698 katie_generate_obsolete(QStyleOptionTitleBar QtGui qstyleoption.h)
699 katie_generate_obsolete(QStyleOptionToolBar QtGui qstyleoption.h)
700 katie_generate_obsolete(QStyleOptionToolBox QtGui qstyleoption.h)
701 katie_generate_obsolete(QStyleOptionToolBoxV2 QtGui qstyleoption.h)
702 katie_generate_obsolete(QStyleOptionToolButton QtGui qstyleoption.h)
703 katie_generate_obsolete(QStyleOptionViewItem QtGui qstyleoption.h)
704 katie_generate_obsolete(QStyleOptionViewItemV2 QtGui qstyleoption.h)
705 katie_generate_obsolete(QStyleOptionViewItemV3 QtGui qstyleoption.h)
706 katie_generate_obsolete(QStyleOptionViewItemV4 QtGui qstyleoption.h)
707 katie_generate_obsolete(QTableWidgetItem QtGui qtablewidget.h)
708 katie_generate_obsolete(QTableWidgetSelectionRange QtGui qtablewidget.h)
709 katie_generate_obsolete(QtAlgorithms QtCore qalgorithms.h)
710 katie_generate_obsolete(QtCleanUpFunction QtCore qcoreapplication.h)
711 katie_generate_obsolete(QtConfig QtCore qconfig.h)
712 katie_generate_obsolete(QtContainerFwd QtCore qcontainerfwd.h)
713 katie_generate_obsolete(QtDebug QtCore qdebug.h)
714 katie_generate_obsolete(QtEndian QtCore qendian.h)
715 katie_generate_obsolete(QTestDelayEvent QtTest qtestevent.h)
716 katie_generate_obsolete(QTestEventList QtTest qtestevent.h)
717 katie_generate_obsolete(QTestKeyClicksEvent QtTest qtestevent.h)
718 katie_generate_obsolete(QTestKeyEvent QtTest qtestevent.h)
719 katie_generate_obsolete(QTestMouseEvent QtTest qtestevent.h)
720 katie_generate_obsolete(QtEvents QtGui qevent.h)
721 katie_generate_obsolete(QTextBlockFormat QtGui qtextformat.h)
722 katie_generate_obsolete(QTextBlockGroup QtGui qtextobject.h)
723 katie_generate_obsolete(QTextBlock QtGui qtextobject.h)
724 katie_generate_obsolete(QTextBlockUserData QtGui qtextobject.h)
725 katie_generate_obsolete(QTextCharFormat QtGui qtextformat.h)
726 katie_generate_obsolete(QTextConverter QtCore qtextcodec.h)
727 katie_generate_obsolete(QTextDecoder QtCore qtextcodec.h)
728 katie_generate_obsolete(QTextEncoder QtCore qtextcodec.h)
729 katie_generate_obsolete(QTextFragment QtGui qtextobject.h)
730 katie_generate_obsolete(QTextFrameFormat QtGui qtextformat.h)
731 katie_generate_obsolete(QTextFrameLayoutData QtGui qtextobject.h)
732 katie_generate_obsolete(QTextFrame QtGui qtextobject.h)
733 katie_generate_obsolete(QTextImageFormat QtGui qtextformat.h)
734 katie_generate_obsolete(QTextInlineObject QtGui qtextlayout.h)
735 katie_generate_obsolete(QTextItem QtGui qpaintengine.h)
736 katie_generate_obsolete(QTextLength QtGui qtextformat.h)
737 katie_generate_obsolete(QTextLine QtGui qtextlayout.h)
738 katie_generate_obsolete(QTextListFormat QtGui qtextformat.h)
739 katie_generate_obsolete(QTextObjectInterface QtGui qabstracttextdocumentlayout.h)
740 katie_generate_obsolete(QTextStreamFunction QtCore qtextstream.h)
741 katie_generate_obsolete(QTextStreamManipulator QtCore qtextstream.h)
742 katie_generate_obsolete(QTextTableCellFormat QtGui qtextformat.h)
743 katie_generate_obsolete(QTextTableCell QtGui qtexttable.h)
744 katie_generate_obsolete(QTextTableFormat QtGui qtextformat.h)
745 katie_generate_obsolete(QtGlobal QtCore qglobal.h)
746 katie_generate_obsolete(QTileRules QtGui qdrawutil.h)
747 katie_generate_obsolete(QTimeEdit QtGui qdatetimeedit.h)
748 katie_generate_obsolete(QTime QtCore qdatetime.h)
749 katie_generate_obsolete(QTimerEvent QtCore qcoreevent.h)
750 katie_generate_obsolete(QtMsgHandler QtCore qglobal.h)
751 katie_generate_obsolete(QtPluginInstanceFunction QtCore qplugin.h)
752 katie_generate_obsolete(QtPlugin QtCore qplugin.h)
753 katie_generate_obsolete(Qt QtCore qnamespace.h)
754 katie_generate_obsolete(QTreeWidgetItem QtGui qtreewidget.h)
755 katie_generate_obsolete(QtTestGui QtTest qtest_gui.h)
756 katie_generate_obsolete(QTypeInfo QtCore qglobal.h)
757 katie_generate_obsolete(QUndoCommand QtGui qundostack.h)
758 katie_generate_obsolete(QUnixPrintWidget QtGui qprintdialog.h)
759 katie_generate_obsolete(QUpdateLaterEvent QtGui qevent.h)
760 katie_generate_obsolete(QVariantHash QtCore qvariant.h)
761 katie_generate_obsolete(QVariantList QtCore qvariant.h)
762 katie_generate_obsolete(QVariantMap QtCore qvariant.h)
763 katie_generate_obsolete(QVBoxLayout QtGui qboxlayout.h)
764 katie_generate_obsolete(QVectorData QtCore qvector.h)
765 katie_generate_obsolete(QVectorIterator QtCore qvector.h)
766 katie_generate_obsolete(QVectorTypedData QtCore qvector.h)
767 katie_generate_obsolete(QWeakPointer QtCore qsharedpointer.h)
768 katie_generate_obsolete(QWhatsThisClickedEvent QtGui qevent.h)
769 katie_generate_obsolete(QWheelEvent QtGui qevent.h)
770 katie_generate_obsolete(QWidgetData QtGui qwidget.h)
771 katie_generate_obsolete(QWidgetItem QtGui qlayoutitem.h)
772 katie_generate_obsolete(QWidgetItemV2 QtGui qlayoutitem.h)
773 katie_generate_obsolete(QWidgetList QtGui qwindowdefs.h)
774 katie_generate_obsolete(QWidgetMapper QtGui qwindowdefs.h)
775 katie_generate_obsolete(QWidgetSet QtGui qwindowdefs.h)
776 katie_generate_obsolete(QWindowStateChangeEvent QtGui qevent.h)
777 katie_generate_obsolete(QWizardPage QtGui qwizard.h)
778 katie_generate_obsolete(QX11EmbedContainer QtGui qx11embed_x11.h)
779 katie_generate_obsolete(QX11EmbedWidget QtGui qx11embed_x11.h)
780 katie_generate_obsolete(QX11Info QtGui qx11info_x11.h)
781 katie_generate_obsolete(QXmlAttributes QtXml qxml.h)
782 katie_generate_obsolete(QXmlContentHandler QtXml qxml.h)
783 katie_generate_obsolete(QXmlDeclHandler QtXml qxml.h)
784 katie_generate_obsolete(QXmlDefaultHandler QtXml qxml.h)
785 katie_generate_obsolete(QXmlDTDHandler QtXml qxml.h)
786 katie_generate_obsolete(QXmlEntityResolver QtXml qxml.h)
787 katie_generate_obsolete(QXmlErrorHandler QtXml qxml.h)
788 katie_generate_obsolete(QXmlInputSource QtXml qxml.h)
789 katie_generate_obsolete(QXmlLexicalHandler QtXml qxml.h)
790 katie_generate_obsolete(QXmlLocator QtXml qxml.h)
791 katie_generate_obsolete(QXmlNamespaceSupport QtXml qxml.h)
792 katie_generate_obsolete(QXmlParseException QtXml qxml.h)
793 katie_generate_obsolete(QXmlReader QtXml qxml.h)
794 katie_generate_obsolete(QXmlSimpleReader QtXml qxml.h)
795 katie_generate_obsolete(QXmlStreamAttribute QtXml qxmlstream.h)
796 katie_generate_obsolete(QXmlStreamAttributes QtXml qxmlstream.h)
797 katie_generate_obsolete(QXmlStreamEntityDeclaration QtXml qxmlstream.h)
798 katie_generate_obsolete(QXmlStreamEntityDeclarations QtXml qxmlstream.h)
799 katie_generate_obsolete(QXmlStreamEntityResolver QtXml qxmlstream.h)
800 katie_generate_obsolete(QXmlStreamNamespaceDeclaration QtXml qxmlstream.h)
801 katie_generate_obsolete(QXmlStreamNamespaceDeclarations QtXml qxmlstream.h)
802 katie_generate_obsolete(QXmlStreamNotationDeclaration QtXml qxmlstream.h)
803 katie_generate_obsolete(QXmlStreamNotationDeclarations QtXml qxmlstream.h)
804 katie_generate_obsolete(QXmlStreamReader QtXml qxmlstream.h)
805 katie_generate_obsolete(QXmlStreamWriter QtXml qxmlstream.h)
806
807 katie_string_wrap("${KATIE_DEFINITIONS}" KATIE_DEFINITIONS)
808
809 configure_file(
810     ${CMAKE_SOURCE_DIR}/cmake/KatieConfig.cmake
811     ${CMAKE_BINARY_DIR}/KatieConfig.cmake
812     @ONLY
813 )
814
815 configure_file(
816     ${CMAKE_SOURCE_DIR}/cmake/KatieConfigVersion.cmake
817     ${CMAKE_BINARY_DIR}/KatieConfigVersion.cmake
818     @ONLY
819 )
820
821 configure_file(
822     ${CMAKE_SOURCE_DIR}/cmake/ld.so.conf.cmake
823     ${CMAKE_BINARY_DIR}/ld.so.conf
824     @ONLY
825 )
826
827 configure_file(
828     ${CMAKE_SOURCE_DIR}/cmake/profile.sh.cmake
829     ${CMAKE_BINARY_DIR}/profile.sh
830     @ONLY
831 )
832
833 install(
834     FILES
835     ${CMAKE_BINARY_DIR}/KatieConfig.cmake
836     ${CMAKE_BINARY_DIR}/KatieConfigVersion.cmake
837     ${CMAKE_SOURCE_DIR}/cmake/Qt4UseFile.cmake
838     DESTINATION ${KATIE_CMAKE_PATH}
839     COMPONENT Devel
840 )
841
842 install(
843     EXPORT KatieTargets
844     NAMESPACE Katie::
845     DESTINATION ${KATIE_CMAKE_PATH}
846     FILE KatieTargets.cmake
847     COMPONENT Devel
848 )
849
850 install(
851     FILES ${CMAKE_BINARY_DIR}/ld.so.conf
852     DESTINATION ${KATIE_LDCONF_PATH}
853     RENAME katie-${KATIE_PROCESSOR}.conf
854     COMPONENT Runtime
855 )
856
857 install(
858     FILES ${CMAKE_BINARY_DIR}/profile.sh
859     DESTINATION ${KATIE_PROFILE_PATH}
860     RENAME katie-${KATIE_PROCESSOR}.sh
861     COMPONENT Runtime
862 )
863
864 katie_string_unwrap("${KATIE_COMPONENTS}" KATIE_COMPONENTS "Kt")
865 katie_string_unwrap("${KATIE_TOOLS}" KATIE_TOOLS)
866
867 # custom install targets to make packaging easier
868 if(KATIE_UNIFDEF)
869     add_custom_target(install-devel
870         COMMAND "${CMAKE_COMMAND}" -DCMAKE_INSTALL_COMPONENT=Devel -P cmake_install.cmake
871         WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
872         # installing from script does not execute other scripts
873         COMMAND "${CMAKE_COMMAND}" -DUNIFDEF_EXECUTABLE="${KATIE_UNIFDEF}" -DHEADERS_DIRECTORY="${KATIE_HEADERS_PATH}" -P "${CMAKE_SOURCE_DIR}/cmake/modules/OptimizeHeaders.cmake"
874     )
875 else()
876     add_custom_target(install-devel
877         COMMAND "${CMAKE_COMMAND}" -DCMAKE_INSTALL_COMPONENT=Devel -P cmake_install.cmake
878         WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
879     )
880 endif()
881
882 add_custom_target(install-runtime
883     DEPENDS ${KATIE_COMPONENTS}
884     COMMAND "${CMAKE_COMMAND}" -DCMAKE_INSTALL_COMPONENT=Runtime -P cmake_install.cmake
885     WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
886 )
887
888 add_custom_target(install-tools
889     DEPENDS ${KATIE_TOOLS}
890     COMMAND "${CMAKE_COMMAND}" -DCMAKE_INSTALL_COMPONENT=Tools -P cmake_install.cmake
891     WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
892 )
893
894 add_custom_target(install-doc
895     COMMAND "${CMAKE_COMMAND}" -DCMAKE_INSTALL_COMPONENT=Doc -P cmake_install.cmake
896     WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
897 )
898
899 feature_summary(
900     WHAT ALL
901     FATAL_ON_MISSING_REQUIRED_PACKAGES
902 )