2016-10-05 22:28:57 +00:00
|
|
|
add_definitions(-DQT_BUILD_GUI_LIB)
|
2017-10-18 04:22:37 +00:00
|
|
|
set(EXTRA_GUI_LIBS KtCore ${FREETYPE_LIBRARIES})
|
2015-12-10 05:06:13 +02:00
|
|
|
|
|
|
|
set(GUI_PUBLIC_HEADERS
|
|
|
|
${GUI_PUBLIC_HEADERS}
|
|
|
|
QAbstractButton
|
|
|
|
QAbstractItemDelegate
|
|
|
|
QAbstractItemView
|
|
|
|
QAbstractPageSetupDialog
|
|
|
|
QAbstractPrintDialog
|
|
|
|
QAbstractProxyModel
|
|
|
|
QAbstractScrollArea
|
|
|
|
QAbstractSlider
|
|
|
|
QAbstractSpinBox
|
|
|
|
QAbstractTextDocumentLayout
|
|
|
|
QAccessible
|
|
|
|
QAccessibleBridge
|
|
|
|
QAccessibleObject
|
|
|
|
QAccessiblePlugin
|
|
|
|
QAccessibleTextInterface
|
|
|
|
QAccessibleValueInterface
|
|
|
|
QAccessibleWidget
|
|
|
|
QAccessibleWidgetEx
|
|
|
|
QAction
|
|
|
|
QActionGroup
|
|
|
|
QApplication
|
|
|
|
QAuthDevice
|
|
|
|
QBitmap
|
|
|
|
QBoxLayout
|
|
|
|
QBrush
|
|
|
|
QBrushData
|
|
|
|
QButtonGroup
|
|
|
|
QCalendarWidget
|
|
|
|
QCDEStyle
|
|
|
|
QCheckBox
|
|
|
|
QCleanlooksStyle
|
|
|
|
QClipboard
|
|
|
|
QClipboardEvent
|
|
|
|
QColor
|
|
|
|
QColorDialog
|
|
|
|
QColormap
|
|
|
|
QColumnView
|
|
|
|
QComboBox
|
|
|
|
QCommandLinkButton
|
|
|
|
QCommonStyle
|
|
|
|
QCompleter
|
|
|
|
QConicalGradient
|
|
|
|
QCursor
|
|
|
|
QDataWidgetMapper
|
|
|
|
QDateTimeEdit
|
|
|
|
QDesktopServices
|
|
|
|
QDesktopWidget
|
|
|
|
QDial
|
|
|
|
QDialog
|
|
|
|
QDialogButtonBox
|
|
|
|
QDirModel
|
|
|
|
QDockWidget
|
|
|
|
QDrag
|
|
|
|
QDragResponseEvent
|
|
|
|
QErrorMessage
|
|
|
|
QFileDialog
|
|
|
|
QFileIconProvider
|
|
|
|
QFileOpenEvent
|
|
|
|
QFileSystemModel
|
|
|
|
QFocusFrame
|
|
|
|
QFont
|
|
|
|
QFontComboBox
|
|
|
|
QFontDatabase
|
|
|
|
QFontDialog
|
|
|
|
QFontInfo
|
|
|
|
QFontMetrics
|
|
|
|
QFormLayout
|
|
|
|
QFrame
|
|
|
|
QGenericMatrix
|
|
|
|
QGesture
|
|
|
|
QGestureRecognizer
|
|
|
|
QGradientStop
|
|
|
|
QGradientStops
|
|
|
|
QGraphicsAnchor
|
|
|
|
QGraphicsAnchorLayout
|
|
|
|
QGraphicsBlurEffect
|
|
|
|
QGraphicsColorizeEffect
|
|
|
|
QGraphicsDropShadowEffect
|
|
|
|
QGraphicsEffect
|
|
|
|
QGraphicsEllipseItem
|
|
|
|
QGraphicsGridLayout
|
|
|
|
QGraphicsItem
|
|
|
|
QGraphicsItemAnimation
|
|
|
|
QGraphicsItemGroup
|
|
|
|
QGraphicsLayout
|
|
|
|
QGraphicsLayoutItem
|
|
|
|
QGraphicsLinearLayout
|
|
|
|
QGraphicsLineItem
|
|
|
|
QGraphicsOpacityEffect
|
|
|
|
QGraphicsPathItem
|
|
|
|
QGraphicsPixmapItem
|
|
|
|
QGraphicsPolygonItem
|
|
|
|
QGraphicsProxyWidget
|
|
|
|
QGraphicsRectItem
|
|
|
|
QGraphicsRotation
|
|
|
|
QGraphicsScale
|
|
|
|
QGraphicsScene
|
|
|
|
QGraphicsSimpleTextItem
|
|
|
|
QGraphicsView
|
|
|
|
QGraphicsWidget
|
|
|
|
QGridLayout
|
|
|
|
QGroupBox
|
|
|
|
QHeaderView
|
|
|
|
QIcon
|
|
|
|
QIconDragEvent
|
|
|
|
QIconEngine
|
|
|
|
QIconEngineFactoryInterface
|
|
|
|
QIconEngineFactoryInterfaceV2
|
|
|
|
QIconEnginePlugin
|
|
|
|
QIconEnginePluginV2
|
|
|
|
QIdentityProxyModel
|
|
|
|
QImage
|
|
|
|
QImageIOHandler
|
|
|
|
QImageIOHandlerFactoryInterface
|
|
|
|
QImageReader
|
|
|
|
QImageTextKeyLang
|
|
|
|
QImageWriter
|
|
|
|
QInputDialog
|
|
|
|
QItemDelegate
|
|
|
|
QItemEditorCreator
|
|
|
|
QItemEditorCreatorBase
|
|
|
|
QItemEditorFactory
|
|
|
|
QItemSelectionModel
|
|
|
|
QKeyEventTransition
|
|
|
|
QKeySequence
|
|
|
|
QLabel
|
|
|
|
QLayout
|
|
|
|
QLayoutItem
|
|
|
|
QLCDNumber
|
|
|
|
QLineEdit
|
|
|
|
QListView
|
|
|
|
QListWidget
|
|
|
|
QMainWindow
|
|
|
|
QMatrix
|
|
|
|
QMatrix2x2
|
|
|
|
QMatrix2x3
|
|
|
|
QMatrix2x4
|
|
|
|
QMatrix3x2
|
|
|
|
QMatrix3x3
|
|
|
|
QMatrix3x4
|
|
|
|
QMatrix4x2
|
|
|
|
QMatrix4x3
|
|
|
|
QMatrix4x4
|
|
|
|
QMdiArea
|
|
|
|
QMdiSubWindow
|
|
|
|
QMenu
|
|
|
|
QMenuBar
|
|
|
|
QMotifStyle
|
|
|
|
QMouseDriverFactory
|
|
|
|
QMouseDriverPlugin
|
|
|
|
QMouseEventTransition
|
|
|
|
QMovie
|
|
|
|
QPageSetupDialog
|
|
|
|
QPaintDevice
|
|
|
|
QPaintEngine
|
|
|
|
QPaintEngineState
|
|
|
|
QPainter
|
|
|
|
QPainterPath
|
|
|
|
QPainterPathPrivate
|
|
|
|
QPainterPathStroker
|
|
|
|
QPalette
|
|
|
|
QPanGesture
|
|
|
|
QPen
|
|
|
|
QPixmap
|
|
|
|
QPixmapCache
|
|
|
|
QPlainTextDocumentLayout
|
|
|
|
QPlainTextEdit
|
|
|
|
QPlastiqueStyle
|
|
|
|
QPlatformCursor
|
|
|
|
QPlatformCursorImage
|
|
|
|
QPlatformCursorPrivate
|
|
|
|
QPlatformEventLoopIntegration
|
|
|
|
QPlatformFontDatabase
|
|
|
|
QPlatformIntegration
|
|
|
|
QPlatformIntegrationFactoryInterface
|
|
|
|
QPlatformIntegrationPlugin
|
|
|
|
QPlatformNativeInterface
|
|
|
|
QPlatformScreen
|
|
|
|
QPolygon
|
|
|
|
QPoolEntry
|
|
|
|
QPrintDialog
|
|
|
|
QPrintEngine
|
|
|
|
QPrinter
|
|
|
|
QPrinterInfo
|
|
|
|
QPrintPreviewDialog
|
|
|
|
QPrintPreviewWidget
|
|
|
|
QProgressBar
|
|
|
|
QProgressDialog
|
|
|
|
QProxyModel
|
|
|
|
QProxyScreen
|
|
|
|
QProxyScreenCursor
|
|
|
|
QProxyStyle
|
|
|
|
QPushButton
|
|
|
|
QQnxMouseHandler
|
|
|
|
QQnxScreen
|
|
|
|
QQuaternion
|
|
|
|
QRadialGradient
|
|
|
|
QRadioButton
|
|
|
|
QRegion
|
|
|
|
QRgb
|
|
|
|
QRubberBand
|
|
|
|
QScreen
|
|
|
|
QScreenCursor
|
|
|
|
QScreenDriverFactory
|
|
|
|
QScreenDriverFactoryInterface
|
|
|
|
QScreenDriverPlugin
|
|
|
|
QScrollArea
|
|
|
|
QScrollBar
|
|
|
|
QSessionManager
|
|
|
|
QShortcut
|
|
|
|
QSizeGrip
|
|
|
|
QSizePolicy
|
|
|
|
QSlider
|
|
|
|
QSortFilterProxyModel
|
|
|
|
QSpinBox
|
|
|
|
QSplashScreen
|
|
|
|
QSplitter
|
|
|
|
QSplitterHandle
|
|
|
|
QStackedLayout
|
|
|
|
QStackedWidget
|
|
|
|
QStandardItemEditorCreator
|
|
|
|
QStandardItemModel
|
|
|
|
QStaticText
|
|
|
|
QStatusBar
|
|
|
|
QStatusTipEvent
|
|
|
|
QStringListModel
|
|
|
|
QStyle
|
|
|
|
QStyledItemDelegate
|
|
|
|
QStyleFactory
|
|
|
|
QStyleFactoryInterface
|
|
|
|
QStyleHintReturn
|
|
|
|
QStyleHintReturnMask
|
|
|
|
QStyleHintReturnVariant
|
|
|
|
QStyleOption
|
|
|
|
QStyleOptionComboBox
|
|
|
|
QStyleOptionGroupBox
|
|
|
|
QStyleOptionSizeGrip
|
|
|
|
QStyleOptionTabBarBase
|
|
|
|
QStyleOptionTabBarBaseV2
|
2017-05-09 06:54:24 +00:00
|
|
|
QStyleOptionTab
|
2015-12-10 05:06:13 +02:00
|
|
|
QStyleOptionTabV2
|
|
|
|
QStyleOptionTabV3
|
|
|
|
QStyleOptionTabWidgetFrame
|
|
|
|
QStyleOptionTabWidgetFrameV2
|
|
|
|
QStyleOptionToolBar
|
|
|
|
QStyleOptionToolBox
|
|
|
|
QStyleOptionToolBoxV2
|
|
|
|
QStylePainter
|
|
|
|
QStylePlugin
|
|
|
|
QSupportedWritingSystems
|
|
|
|
QSwipeGesture
|
|
|
|
QSyntaxHighlighter
|
|
|
|
QSystemTrayIcon
|
|
|
|
QTabBar
|
|
|
|
QTableView
|
|
|
|
QTableWidget
|
|
|
|
QTableWidgetItem
|
|
|
|
QTableWidgetSelectionRange
|
|
|
|
QTabWidget
|
|
|
|
QTapAndHoldGesture
|
|
|
|
QTapGesture
|
|
|
|
QtEvents
|
|
|
|
QTextBlockGroup
|
|
|
|
QTextBlockUserData
|
|
|
|
QTextBrowser
|
|
|
|
QTextCursor
|
|
|
|
QTextDocument
|
|
|
|
QTextDocumentFragment
|
|
|
|
QTextDocumentWriter
|
|
|
|
QTextEdit
|
|
|
|
QTextFormat
|
|
|
|
QTextFragment
|
|
|
|
QTextFrameFormat
|
|
|
|
QTextFrameLayoutData
|
|
|
|
QTextImageFormat
|
|
|
|
QTextInlineObject
|
|
|
|
QTextItem
|
|
|
|
QTextLayout
|
|
|
|
QTextLength
|
|
|
|
QTextList
|
|
|
|
QTextObject
|
|
|
|
QTextObjectInterface
|
|
|
|
QTextOption
|
|
|
|
QTextTable
|
|
|
|
QTextTableCell
|
|
|
|
QTextTableCellFormat
|
|
|
|
QTileRules
|
|
|
|
QToolBar
|
|
|
|
QToolBarChangeEvent
|
|
|
|
QToolBox
|
|
|
|
QToolButton
|
|
|
|
QToolTip
|
|
|
|
QTransform
|
|
|
|
QTransformedScreen
|
|
|
|
QTransportAuth
|
|
|
|
QTreeView
|
|
|
|
QTreeWidget
|
|
|
|
QTreeWidgetItemIterator
|
|
|
|
QUndoGroup
|
|
|
|
QUndoStack
|
|
|
|
QUndoView
|
|
|
|
QUnixPrintWidget
|
|
|
|
QUpdateLaterEvent
|
|
|
|
QValidator
|
|
|
|
QVector2D
|
|
|
|
QVector3D
|
|
|
|
QVector4D
|
|
|
|
QVFbHeader
|
|
|
|
QVFbKeyboardHandler
|
|
|
|
QVFbKeyData
|
|
|
|
QVFbMouseHandler
|
|
|
|
QVFbScreen
|
|
|
|
QWhatsThis
|
|
|
|
QWhatsThisClickedEvent
|
|
|
|
QWidget
|
|
|
|
QMessageBox
|
|
|
|
QWidgetAction
|
|
|
|
QWidgetData
|
|
|
|
QWidgetItemV2
|
|
|
|
QWidgetMapper
|
|
|
|
QWidgetSet
|
|
|
|
QWindowsStyle
|
|
|
|
QWindowStateChangeEvent
|
|
|
|
QWizard
|
|
|
|
QWizardPage
|
|
|
|
QWorkspace
|
|
|
|
# those are aliases
|
|
|
|
QX11Info
|
|
|
|
QX11EmbedContainer
|
|
|
|
QX11EmbedWidget
|
2016-04-18 10:23:04 +00:00
|
|
|
# mixed
|
2017-08-04 11:18:35 +00:00
|
|
|
QUndoCommand
|
2016-10-04 19:34:47 +00:00
|
|
|
QPolygonF
|
2018-02-11 16:57:47 +00:00
|
|
|
QTextLine
|
2016-08-22 19:29:11 +00:00
|
|
|
QTextBlock
|
2016-10-04 19:31:37 +00:00
|
|
|
QTextBlockFormat
|
2016-04-18 10:23:04 +00:00
|
|
|
QListWidgetItem
|
2016-06-14 19:34:30 +00:00
|
|
|
QTreeWidgetItem
|
2016-04-18 10:23:04 +00:00
|
|
|
QStandardItem
|
2017-08-09 12:49:22 +00:00
|
|
|
QShortcutEvent
|
2016-04-18 12:07:12 +00:00
|
|
|
QCloseEvent
|
|
|
|
QResizeEvent
|
2016-09-30 16:52:29 +00:00
|
|
|
QMoveEvent
|
2016-04-18 12:07:12 +00:00
|
|
|
QShowEvent
|
2016-09-30 16:52:29 +00:00
|
|
|
QHideEvent
|
2016-09-29 17:34:43 +00:00
|
|
|
QFocusEvent
|
2016-08-12 21:54:56 +00:00
|
|
|
QMouseEvent
|
|
|
|
QKeyEvent
|
|
|
|
QWheelEvent
|
2016-08-20 18:12:01 +00:00
|
|
|
QTouchEvent
|
2018-02-11 16:57:47 +00:00
|
|
|
QHoverEvent
|
2016-08-12 21:54:56 +00:00
|
|
|
QDragEnterEvent
|
2018-02-11 16:57:47 +00:00
|
|
|
QDragLeaveEvent
|
2017-12-12 14:39:42 +00:00
|
|
|
QDragMoveEvent
|
2016-09-30 16:52:29 +00:00
|
|
|
QPaintEvent
|
2016-09-14 16:55:58 +00:00
|
|
|
QHelpEvent
|
2016-10-21 18:21:07 +00:00
|
|
|
QDropEvent
|
2016-09-14 17:01:56 +00:00
|
|
|
QContextMenuEvent
|
2016-09-29 17:34:43 +00:00
|
|
|
QGraphicsSceneEvent
|
|
|
|
QGraphicsSceneHelpEvent
|
|
|
|
QGraphicsSceneMoveEvent
|
|
|
|
QGraphicsSceneMouseEvent
|
2017-05-09 14:43:33 +00:00
|
|
|
QGraphicsSceneWheelEvent
|
2017-05-09 14:53:27 +00:00
|
|
|
QGraphicsSceneResizeEvent
|
|
|
|
QGraphicsSceneHoverEvent
|
2017-05-08 14:58:26 +00:00
|
|
|
QGraphicsSceneContextMenuEvent
|
2017-05-08 15:00:25 +00:00
|
|
|
QGraphicsSceneDragDropEvent
|
2017-05-08 15:03:00 +00:00
|
|
|
QGraphicsTextItem
|
2017-05-08 14:56:51 +00:00
|
|
|
QGraphicsObject
|
2016-09-30 16:52:29 +00:00
|
|
|
QStyleOptionGraphicsItem
|
2018-02-11 16:57:47 +00:00
|
|
|
QStyleOptionButton
|
2017-08-07 07:23:59 +00:00
|
|
|
QStyleOptionFrame
|
|
|
|
QStyleOptionFrameV2
|
|
|
|
QStyleOptionFrameV3
|
2017-05-09 06:42:51 +00:00
|
|
|
QStyleOptionViewItem
|
|
|
|
QStyleOptionViewItemV2
|
|
|
|
QStyleOptionViewItemV3
|
|
|
|
QStyleOptionViewItemV4
|
2017-08-07 07:23:59 +00:00
|
|
|
QStyleOptionProgressBar
|
|
|
|
QStyleOptionProgressBarV2
|
2017-08-07 08:51:56 +00:00
|
|
|
QStyleOptionDockWidget
|
|
|
|
QStyleOptionDockWidgetV2
|
2016-09-30 16:52:29 +00:00
|
|
|
QStyleOptionFocusRect
|
2017-08-07 08:51:56 +00:00
|
|
|
QStyleOptionMenuItem
|
2016-04-18 14:51:46 +00:00
|
|
|
QItemSelection
|
|
|
|
QIntValidator
|
2016-06-22 02:48:24 +00:00
|
|
|
QFontMetricsF
|
2016-06-25 07:24:46 +00:00
|
|
|
QStyleOptionSlider
|
2017-05-08 14:44:35 +00:00
|
|
|
QStyleOptionToolButton
|
2016-07-14 16:24:40 +00:00
|
|
|
QDoubleValidator
|
2016-07-14 17:20:38 +00:00
|
|
|
QTextFrame
|
|
|
|
QTextListFormat
|
|
|
|
QTextCharFormat
|
2016-08-20 18:12:01 +00:00
|
|
|
QSpacerItem
|
|
|
|
QVBoxLayout
|
|
|
|
QHBoxLayout
|
|
|
|
QDoubleSpinBox
|
2017-08-06 11:51:24 +00:00
|
|
|
QLinearGradient
|
2015-12-10 05:06:13 +02:00
|
|
|
# pure aliases, but required by UI generator
|
|
|
|
QTimeEdit
|
|
|
|
QDateEdit
|
|
|
|
)
|
|
|
|
|
|
|
|
include(accessible/accessible.cmake)
|
|
|
|
include(animation/animation.cmake)
|
|
|
|
include(dialogs/dialogs.cmake)
|
|
|
|
include(effects/effects.cmake)
|
|
|
|
include(graphicsview/graphicsview.cmake)
|
|
|
|
include(image/image.cmake)
|
|
|
|
include(itemviews/itemviews.cmake)
|
|
|
|
include(kernel/kernel.cmake)
|
|
|
|
include(math3d/math3d.cmake)
|
|
|
|
include(painting/painting.cmake)
|
|
|
|
include(styles/styles.cmake)
|
|
|
|
include(text/text.cmake)
|
|
|
|
include(util/util.cmake)
|
|
|
|
include(widgets/widgets.cmake)
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${CMAKE_BINARY_DIR}/include
|
|
|
|
${CMAKE_BINARY_DIR}/privateinclude
|
|
|
|
${CMAKE_BINARY_DIR}/include/QtCore
|
|
|
|
${CMAKE_BINARY_DIR}/privateinclude/QtCore
|
|
|
|
${CMAKE_BINARY_DIR}/include/QtGui
|
|
|
|
${CMAKE_BINARY_DIR}/privateinclude/QtGui
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/accessible
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/animation
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/dialogs
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/effects
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/graphicsview
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/image
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/itemviews
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/kernel
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/math3d
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/painting
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/styles
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/text
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/util
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/widgets
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/accessible
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/animation
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dialogs
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/effects
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/graphicsview
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/image
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/itemviews
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/kernel
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/math3d
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/painting
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/styles
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/text
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/util
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/widgets
|
|
|
|
${CMAKE_SOURCE_DIR}/src/core/tools
|
2017-10-18 04:22:37 +00:00
|
|
|
${FREETYPE_INCLUDE_DIRS}
|
2015-12-10 05:06:13 +02:00
|
|
|
)
|
|
|
|
|
2016-07-10 03:03:15 +03:00
|
|
|
# keep in sync with the top-level CMake file, only libraries setup is needed here
|
2015-12-10 05:06:13 +02:00
|
|
|
if(WITH_X11 AND X11_FOUND)
|
|
|
|
set(EXTRA_GUI_LIBS
|
|
|
|
${EXTRA_GUI_LIBS}
|
|
|
|
${X11_LIBRARIES}
|
|
|
|
${X11_X11_LIB}
|
|
|
|
${X11_Xt_LIB}
|
|
|
|
${X11_Xi_LIB}
|
|
|
|
)
|
|
|
|
include_directories(${X11_INCLUDE_DIR})
|
2016-11-14 22:58:09 +00:00
|
|
|
foreach(x11ext Xshape Xinerama Xrandr Xrender Xfixes Xcursor Xinput Xext)
|
2016-08-11 22:04:59 +00:00
|
|
|
if(X11_${x11ext}_FOUND AND X11_${x11ext}_LIB)
|
2016-07-10 02:53:30 +03:00
|
|
|
set(EXTRA_GUI_LIBS
|
|
|
|
${EXTRA_GUI_LIBS}
|
|
|
|
${X11_${x11ext}_LIB}
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
endforeach()
|
2015-12-10 05:06:13 +02:00
|
|
|
endif()
|
|
|
|
|
2015-12-17 05:17:14 +02:00
|
|
|
if(WITH_NIS AND NIS_FOUND)
|
|
|
|
set(EXTRA_GUI_LIBS
|
|
|
|
${EXTRA_GUI_LIBS}
|
|
|
|
${NIS_LIBRARIES}
|
|
|
|
)
|
|
|
|
include_directories(${NIS_INCLUDES})
|
|
|
|
endif()
|
|
|
|
|
2016-09-06 06:05:43 +00:00
|
|
|
set(GUI_HEADERS
|
|
|
|
${GUI_HEADERS}
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/qguicommon_p.h
|
|
|
|
)
|
|
|
|
|
2017-08-05 08:00:15 +00:00
|
|
|
katie_allinone_exclude(
|
2017-08-05 06:44:35 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/itemviews/qitemeditorfactory.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/widgets/qtextedit.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/text/qtextformat.cpp
|
2017-08-05 08:00:15 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/kernel/qeventdispatcher_x11.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/painting/qpaintengine_x11.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/dialogs/qprintdialog_unix.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/dialogs/qpagesetupdialog_unix.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/src/3rdparty/harfbuzz/src/harfbuzz-shaper-all.cpp
|
|
|
|
${CMAKE_SOURCE_DIR}/src/gui/text/qharfbuzz.cpp
|
2017-08-05 06:44:35 +00:00
|
|
|
)
|
|
|
|
|
2017-08-05 08:00:15 +00:00
|
|
|
katie_generate_misc("${GUI_HEADERS}" QtGui)
|
|
|
|
katie_generate_public("${GUI_PUBLIC_HEADERS}" QtGui)
|
|
|
|
katie_generate_package(KtGui "KtCore")
|
|
|
|
katie_setup_target(KtGui ${GUI_SOURCES} ${GUI_HEADERS})
|
2017-08-05 06:44:35 +00:00
|
|
|
|
2016-11-05 00:04:13 +00:00
|
|
|
if(WITH_NSL AND NSL_FOUND)
|
|
|
|
include_directories(${NSL_INCLUDES})
|
|
|
|
set(EXTRA_GUI_LIBS
|
|
|
|
${EXTRA_GUI_LIBS}
|
|
|
|
${NSL_LIBRARIES}
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2016-08-25 04:38:45 +00:00
|
|
|
add_library(KtGui ${KATIE_TYPE} ${KtGui_SOURCES})
|
2015-12-10 05:06:13 +02:00
|
|
|
target_link_libraries(KtGui ${EXTRA_GUI_LIBS})
|
|
|
|
set_target_properties(KtGui PROPERTIES
|
|
|
|
VERSION ${KATIE_MAJOR}.${KATIE_MINOR}
|
|
|
|
SOVERSION ${KATIE_VERSION}
|
|
|
|
EXPORT_NAME Gui
|
|
|
|
)
|
|
|
|
|
|
|
|
install(
|
|
|
|
TARGETS KtGui
|
|
|
|
EXPORT KatieLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS}
|
2016-10-07 23:43:48 +00:00
|
|
|
DESTINATION ${KATIE_LIBRARIES_RELATIVE}
|
2015-12-10 05:06:13 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
install(
|
|
|
|
DIRECTORY ${CMAKE_BINARY_DIR}/include/QtGui
|
2016-10-07 23:43:48 +00:00
|
|
|
DESTINATION ${KATIE_HEADERS_RELATIVE}
|
2015-12-10 05:06:13 +02:00
|
|
|
COMPONENT Devel
|
|
|
|
)
|
|
|
|
|
2016-10-07 23:43:48 +00:00
|
|
|
katie_optimize_headers(${KATIE_HEADERS_FULL}/QtGui)
|