library split
@ -6,68 +6,24 @@ CONFIG += module
|
||||
MODULE_PRI = ../modules/qt_gui.pri
|
||||
|
||||
DEFINES += QT_BUILD_GUI_LIB QT_NO_USING_NAMESPACE
|
||||
win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x65000000
|
||||
irix-cc*:QMAKE_CXXFLAGS += -no_prelink -ptused
|
||||
|
||||
!win32:!qpa:!mac:!symbian:CONFIG += x11
|
||||
|
||||
unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore
|
||||
|
||||
include(../qbase.pri)
|
||||
|
||||
contains(QT_CONFIG, x11sm):CONFIG += x11sm
|
||||
|
||||
#platforms
|
||||
x11:include(kernel/x11.pri)
|
||||
mac:include(kernel/mac.pri)
|
||||
win32:include(kernel/win.pri)
|
||||
symbian {
|
||||
include(kernel/symbian.pri)
|
||||
include(s60framework/s60framework.pri)
|
||||
}
|
||||
|
||||
# stuff that goes into new QtGui
|
||||
include(guikernel/guikernel.pri)
|
||||
include(image/image.pri)
|
||||
include(text/text.pri)
|
||||
include(painting/painting.pri)
|
||||
include(guiutil/guiutil.pri)
|
||||
|
||||
# to be moved into QtGui
|
||||
include(to_be_moved/to_be_moved.pri)
|
||||
|
||||
#modules
|
||||
include(animation/animation.pri)
|
||||
include(kernel/kernel.pri)
|
||||
include(styles/styles.pri)
|
||||
include(widgets/widgets.pri)
|
||||
include(dialogs/dialogs.pri)
|
||||
include(accessible/accessible.pri)
|
||||
include(itemviews/itemviews.pri)
|
||||
include(inputmethod/inputmethod.pri)
|
||||
include(graphicsview/graphicsview.pri)
|
||||
include(util/util.pri)
|
||||
include(statemachine/statemachine.pri)
|
||||
include(math3d/math3d.pri)
|
||||
include(effects/effects.pri)
|
||||
|
||||
include(egl/egl.pri)
|
||||
win32:!wince*: DEFINES += QT_NO_EGL
|
||||
|
||||
QMAKE_LIBS += $$QMAKE_LIBS_GUI
|
||||
|
||||
contains(DEFINES,QT_EVAL):include($$QT_SOURCE_TREE/src/corelib/eval.pri)
|
||||
|
||||
QMAKE_DYNAMIC_LIST_FILE = $$PWD/QtGui.dynlist
|
||||
|
||||
DEFINES += Q_INTERNAL_QAPP_SRC
|
||||
symbian {
|
||||
TARGET.UID3=0x2001B2DD
|
||||
|
||||
# ro-section in gui can exceed default allocated space, so move rw-section a little further
|
||||
QMAKE_LFLAGS.ARMCC += --rw-base 0x800000
|
||||
QMAKE_LFLAGS.GCCE += -Tdata 0x800000
|
||||
}
|
||||
|
||||
neon:*-g++* {
|
||||
DEFINES += QT_HAVE_NEON
|
||||
|
@ -40,7 +40,6 @@
|
||||
****************************************************************************/
|
||||
#include "qplatformcursor_qpa.h"
|
||||
|
||||
#include <QWidget>
|
||||
#include <QPainter>
|
||||
#include <QBitmap>
|
||||
#include <QGuiApplication>
|
||||
|
81
src/gui/guikernel/qt_gui_pch.h
Normal file
@ -0,0 +1,81 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
|
||||
** All rights reserved.
|
||||
** Contact: Nokia Corporation (qt-info@nokia.com)
|
||||
**
|
||||
** This file is part of the QtGui module of the Qt Toolkit.
|
||||
**
|
||||
** $QT_BEGIN_LICENSE:LGPL$
|
||||
** No Commercial Usage
|
||||
** This file contains pre-release code and may not be distributed.
|
||||
** You may use this file in accordance with the terms and conditions
|
||||
** contained in the Technology Preview License Agreement accompanying
|
||||
** this package.
|
||||
**
|
||||
** GNU Lesser General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
** General Public License version 2.1 as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.LGPL included in the
|
||||
** packaging of this file. Please review the following information to
|
||||
** ensure the GNU Lesser General Public License version 2.1 requirements
|
||||
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
**
|
||||
** In addition, as a special exception, Nokia gives you certain additional
|
||||
** rights. These rights are described in the Nokia Qt LGPL Exception
|
||||
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
**
|
||||
** If you have questions regarding the use of this file, please contact
|
||||
** Nokia at qt-info@nokia.com.
|
||||
**
|
||||
**
|
||||
**
|
||||
**
|
||||
**
|
||||
**
|
||||
**
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
/*
|
||||
* This is a precompiled header file for use in Xcode / Mac GCC /
|
||||
* GCC >= 3.4 / VC to greatly speed the building of Qt. It may also be
|
||||
* of use to people developing their own project, but it is probably
|
||||
* better to define your own header. Use of this header is currently
|
||||
* UNSUPPORTED.
|
||||
*/
|
||||
|
||||
// from corelib/global/qt_pch.h
|
||||
#if defined __cplusplus
|
||||
#include <qglobal.h>
|
||||
|
||||
|
||||
#ifdef Q_WS_WIN
|
||||
# define _POSIX_
|
||||
# include <limits.h>
|
||||
# undef _POSIX_
|
||||
#endif
|
||||
|
||||
#include <qcoreapplication.h>
|
||||
#include <qlist.h>
|
||||
#include <qvariant.h> // All moc genereated code has this include
|
||||
#include <qobject.h>
|
||||
#include <qregexp.h>
|
||||
#include <qstring.h>
|
||||
#include <qstringlist.h>
|
||||
#include <qtextcodec.h>
|
||||
|
||||
#include <qguiapplication.h>
|
||||
#include <qbitmap.h>
|
||||
#include <qcursor.h>
|
||||
#include <qevent.h>
|
||||
#include <qimage.h>
|
||||
#include <qpainter.h>
|
||||
#include <qpixmap.h>
|
||||
#include <qtimer.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#endif
|
@ -42,7 +42,7 @@
|
||||
#include "qpaintdevice.h"
|
||||
#include "qpainter.h"
|
||||
#include "qbitmap.h"
|
||||
#include "qapplication.h"
|
||||
#include "qguiapplication.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
|
14
src/modules/qt_widgets.pri
Normal file
@ -0,0 +1,14 @@
|
||||
QT.widgets.VERSION = 4.8.0
|
||||
QT.widgets.MAJOR_VERSION = 4
|
||||
QT.widgets.MINOR_VERSION = 8
|
||||
QT.widgets.PATCH_VERSION = 0
|
||||
|
||||
QT.widgets.name = QtGui
|
||||
QT.widgets.includes = $$QT_MODULE_INCLUDE_BASE/QtWidgets
|
||||
QT.widgets.private_includes = $$QT_MODULE_INCLUDE_BASE/QtWidgets/$$QT.widgets.VERSION
|
||||
QT.widgets.sources = $$QT_MODULE_BASE/src/widgets
|
||||
QT.widgets.libs = $$QT_MODULE_LIB_BASE
|
||||
QT.widgets.plugins = $$QT_MODULE_PLUGIN_BASE
|
||||
QT.widgets.imports = $$QT_MODULE_IMPORT_BASE
|
||||
QT.widgets.depends = core network
|
||||
QT.widgets.DEFINES = QT_GUI_LIB
|
@ -35,6 +35,8 @@ src_dbus.subdir = $$QT_SOURCE_TREE/src/dbus
|
||||
src_dbus.target = sub-dbus
|
||||
src_gui.subdir = $$QT_SOURCE_TREE/src/gui
|
||||
src_gui.target = sub-gui
|
||||
src_widgets.subdir = $$QT_SOURCE_TREE/src/widgets
|
||||
src_widgets.target = sub-widgets
|
||||
src_sql.subdir = $$QT_SOURCE_TREE/src/sql
|
||||
src_sql.target = sub-sql
|
||||
src_network.subdir = $$QT_SOURCE_TREE/src/network
|
||||
@ -51,7 +53,8 @@ src_testlib.target = sub-testlib
|
||||
#CONFIG += ordered
|
||||
!wince*:!ordered:!symbian-abld:!symbian-sbsv2 {
|
||||
src_corelib.depends = src_tools_moc src_tools_rcc
|
||||
src_gui.depends = src_corelib src_tools_uic
|
||||
src_gui.depends = src_corelib
|
||||
src_widgets.depends = src_corelib gui src_tools_uic
|
||||
embedded: src_gui.depends += src_network
|
||||
src_xml.depends = src_corelib
|
||||
src_uitools.depends = src_corelib src_xml
|
||||
|
Before Width: | Height: | Size: 985 B After Width: | Height: | Size: 985 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 706 B After Width: | Height: | Size: 706 B |
Before Width: | Height: | Size: 1004 B After Width: | Height: | Size: 1004 B |
Before Width: | Height: | Size: 796 B After Width: | Height: | Size: 796 B |
Before Width: | Height: | Size: 985 B After Width: | Height: | Size: 985 B |
Before Width: | Height: | Size: 792 B After Width: | Height: | Size: 792 B |
Before Width: | Height: | Size: 984 B After Width: | Height: | Size: 984 B |
Before Width: | Height: | Size: 782 B After Width: | Height: | Size: 782 B |
Before Width: | Height: | Size: 948 B After Width: | Height: | Size: 948 B |
Before Width: | Height: | Size: 797 B After Width: | Height: | Size: 797 B |
Before Width: | Height: | Size: 945 B After Width: | Height: | Size: 945 B |
Before Width: | Height: | Size: 820 B After Width: | Height: | Size: 820 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 817 B After Width: | Height: | Size: 817 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 620 B After Width: | Height: | Size: 620 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 914 B After Width: | Height: | Size: 914 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 390 B After Width: | Height: | Size: 390 B |
Before Width: | Height: | Size: 556 B After Width: | Height: | Size: 556 B |
Before Width: | Height: | Size: 662 B After Width: | Height: | Size: 662 B |
Before Width: | Height: | Size: 810 B After Width: | Height: | Size: 810 B |
Before Width: | Height: | Size: 700 B After Width: | Height: | Size: 700 B |
Before Width: | Height: | Size: 908 B After Width: | Height: | Size: 908 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |