aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-08-05 00:46:16 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-08-05 00:46:16 +0000
commit6182ae0b35624687f9101f803cd0de08130c62a5 (patch)
treee71e781635305338d7f2afb3e66374c265ff9067 /devel
parent098a2242e41fb0edc656835ec414e6911de3f34b (diff)
downloadports-6182ae0b35624687f9101f803cd0de08130c62a5.tar.gz
ports-6182ae0b35624687f9101f803cd0de08130c62a5.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/qt4-corelib/Makefile40
-rw-r--r--devel/qt4-corelib/distinfo6
-rw-r--r--devel/qt4-corelib/pkg-plist939
-rw-r--r--devel/qt4-designer/Makefile39
-rw-r--r--devel/qt4-designer/distinfo6
-rw-r--r--devel/qt4-designer/files/patch-tools__designer__src__designer__assistantclient.cpp11
-rw-r--r--devel/qt4-designer/pkg-plist202
-rw-r--r--devel/qt4-qdbusviewer/Makefile36
-rw-r--r--devel/qt4-qdbusviewer/distinfo6
-rw-r--r--devel/qt4/files/configure1234
-rw-r--r--devel/qt4/files/extrapatch-configure51
11 files changed, 1697 insertions, 873 deletions
diff --git a/devel/qt4-corelib/Makefile b/devel/qt4-corelib/Makefile
index a92a06990038..fbe033da3d51 100644
--- a/devel/qt4-corelib/Makefile
+++ b/devel/qt4-corelib/Makefile
@@ -8,7 +8,7 @@
PORTNAME= corelib
PORTVERSION= ${QT4_VERSION}
-PORTREVISION= 1
+PORTREVISION= 0
CATEGORIES?= devel
MASTER_SITES= ${MASTER_SITE_QT}
PKGNAMEPREFIX= qt4-
@@ -26,23 +26,24 @@ QT_NONSTANDARD= yes
QT_DIST= yes
HAS_CONFIGURE= yes
-USE_LDCONFIG= yes
+USE_LDCONFIG= ${PREFIX}/lib/qt4
+
ALL_TARGET= first
CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib \
PATH=${WRKSRC}/bin:$$PATH
-EXTRACT_AFTER_ARGS=| ${TAR} -xf - \
- --exclude '${DISTNAME}/mkspecs' --exclude '${DISTNAME}/qmake' \
- --exclude '${DISTNAME}/demos' --exclude '${DISTNAME}/examples' \
- --exclude '${DISTNAME}/src/gui' --exclude '${DISTNAME}/src/network' \
- --exclude '${DISTNAME}/src/opengl' --exclude '${DISTNAME}/src/qt3support' \
- --exclude '${DISTNAME}/src/sql' --exclude '${DISTNAME}/src/xml' \
- --exclude '${DISTNAME}/src/tools/moc' --exclude '${DISTNAME}/src/tools/rcc' \
- --exclude '${DISTNAME}/src/tools/uic' --exclude '${DISTNAME}/src/tools/uic3' \
- --exclude '${DISTNAME}/tools/assistant' --exclude '${DISTNAME}/tools/designer' \
- --exclude '${DISTNAME}/tools/linguist' --exclude '${DISTNAME}/tools/porting' \
- --exclude '${DISTNAME}/tools/qtconfig' --exclude '${DISTNAME}/tools/qvfb'
+
+DO_NOT_EXTRACT= demos doc examples mkspecs qmake tools translations \
+ src/dbus src/gui src/network src/opengl src/phonon \
+ src/qt3support src/script src/sql src/svg src/testlib \
+ src/tools src/xml src/xmlpatterns src/3rdparty/clucene \
+ src/3rdparty/kdebase src/3rdparty/kdelibs src/3rdparty/webkit
+EXTRACT_AFTER_ARGS= | ${TAR} -xf -
+.for dne in ${DO_NOT_EXTRACT}
+EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
+.endfor
+
WRKSRC= ${WRKDIR}/${DISTNAME}/src/${PORTNAME}
CONFIGURE_WRKSRC=${WRKSRC}/../../
PATCH_WRKSRC=${CONFIGURE_WRKSRC}
@@ -51,22 +52,18 @@ PATCH_WRKSRC=${CONFIGURE_WRKSRC}
pre-configure:
${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
- ${REINPLACE_CMD} -e 's|target.path.*|target.path=${PREFIX}/lib|g' \
- -e 's|flat_headers.path.*|flat_headers.path=${PREFIX}/include/Qt|g' \
- -e 's|targ_headers.path.*|targ_headers.path=${PREFIX}/include/$$$$TARGET|g' \
- ${WRKSRC}/${PORTNAME}.pro ${WRKSRC}/../qt_install.pri
${MKDIR} ${WRKSRC}/../../mkspecs
${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../bin/qmake
${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/../../bin/moc
post-configure:
- ${REINPLACE_CMD} -e 's|${PREFIX}/lib/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
+ ${REINPLACE_CMD} -e 's|${PREFIX}/lib/qt4/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
-e 's|.*$$(QMAKE).*||g' ${WRKSRC}/Makefile
${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \
-E -e 's|(.*location=).*moc|\1${PREFIX}/bin/moc-qt4|g' \
-E -e 's|(.*location=).*uic|\1${PREFIX}/bin/uic-qt4|g' \
- -E -e 's|(.*Cflags:.*)-I${LOCALBASE}/include |\1|g' \
- ${WRKSRC}/../../lib/pkgconfig/*Qt*
- ${HEAD} -n 19 ${WRKSRC}/global/qconfig.h > ${WRKDIR}/qconfig.tmp
+ ${WRKSRC}/../../lib/pkgconfig/QtCore.pc
+ #hack to hard-code the feature part of qconfig.h
+ ${HEAD} -n 27 ${WRKSRC}/global/qconfig.h > ${WRKDIR}/qconfig.tmp
${CHMOD} 644 ${WRKSRC}/global/qconfig.h
${CAT} ${WRKDIR}/qconfig.tmp ${FILESDIR}/qconfig.h.in > ${WRKSRC}/global/qconfig.h
.if ${OSVERSION} >= 700042
@@ -76,5 +73,6 @@ post-configure:
post-install:
${MKDIR} ${PREFIX}/lib/qt4/plugins
${TOUCH} ${PREFIX}/lib/qt4/plugins/.keep_me
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/mkspecs/qconfig.pri ${PREFIX}/share/qt4/mkspecs/
.include <bsd.port.post.mk>
diff --git a/devel/qt4-corelib/distinfo b/devel/qt4-corelib/distinfo
index 9451a68b5c02..0c630f09baf6 100644
--- a/devel/qt4-corelib/distinfo
+++ b/devel/qt4-corelib/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.3.4.tar.gz) = 9499101ec54eb7b0de195b3c5e3ffa93
-SHA256 (KDE/qt-x11-opensource-src-4.3.4.tar.gz) = 8864dd80f3456be70a3be60364502a0ca3f46125b2f156860ad880ff55fcabd2
-SIZE (KDE/qt-x11-opensource-src-4.3.4.tar.gz) = 43988710
+MD5 (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = b09decad252b5181f300135e3122481d
+SHA256 (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = 5aca7b784fc4de3db292666490ade84cfd1810f189c089c5c2810a710993f386
+SIZE (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = 108774120
diff --git a/devel/qt4-corelib/pkg-plist b/devel/qt4-corelib/pkg-plist
index e4804565c656..afa4f19cdc63 100644
--- a/devel/qt4-corelib/pkg-plist
+++ b/devel/qt4-corelib/pkg-plist
@@ -1,429 +1,518 @@
-include/Qt/QtCore
-include/Qt/qabstracteventdispatcher.h
-include/Qt/qabstractfileengine.h
-include/Qt/qabstractitemmodel.h
-include/Qt/qalgorithms.h
-include/Qt/qatomic.h
-include/Qt/qatomic_alpha.h
-include/Qt/qatomic_arch.h
-include/Qt/qatomic_arm.h
-include/Qt/qatomic_boundschecker.h
-include/Qt/qatomic_generic.h
-include/Qt/qatomic_i386.h
-include/Qt/qatomic_ia64.h
-include/Qt/qatomic_mips.h
-include/Qt/qatomic_parisc.h
-include/Qt/qatomic_powerpc.h
-include/Qt/qatomic_s390.h
-include/Qt/qatomic_sparc.h
-include/Qt/qatomic_x86_64.h
-include/Qt/qbasictimer.h
-include/Qt/qbitarray.h
-include/Qt/qbuffer.h
-include/Qt/qbytearray.h
-include/Qt/qbytearraymatcher.h
-include/Qt/qcache.h
-include/Qt/qchar.h
-include/Qt/qconfig-dist.h
-include/Qt/qconfig-large.h
-include/Qt/qconfig-medium.h
-include/Qt/qconfig-minimal.h
-include/Qt/qconfig-small.h
-include/Qt/qconfig.h
-include/Qt/qcontainerfwd.h
-include/Qt/qcoreapplication.h
-include/Qt/qcoreevent.h
-include/Qt/qcryptographichash.h
-include/Qt/qdatastream.h
-include/Qt/qdatetime.h
-include/Qt/qdebug.h
-include/Qt/qdir.h
-include/Qt/qdiriterator.h
-include/Qt/qendian.h
-include/Qt/qeventloop.h
-include/Qt/qfactoryinterface.h
-include/Qt/qfeatures.h
-include/Qt/qfile.h
-include/Qt/qfileinfo.h
-include/Qt/qfilesystemwatcher.h
-include/Qt/qfsfileengine.h
-include/Qt/qglobal.h
-include/Qt/qhash.h
-include/Qt/qiodevice.h
-include/Qt/qiterator.h
-include/Qt/qlibrary.h
-include/Qt/qlibraryinfo.h
-include/Qt/qline.h
-include/Qt/qlinkedlist.h
-include/Qt/qlist.h
-include/Qt/qlocale.h
-include/Qt/qmap.h
-include/Qt/qmetaobject.h
-include/Qt/qmetatype.h
-include/Qt/qmimedata.h
-include/Qt/qmutex.h
-include/Qt/qnamespace.h
-include/Qt/qnumeric.h
-include/Qt/qobject.h
-include/Qt/qobjectcleanuphandler.h
-include/Qt/qobjectdefs.h
-include/Qt/qpair.h
-include/Qt/qplugin.h
-include/Qt/qpluginloader.h
-include/Qt/qpoint.h
-include/Qt/qpointer.h
-include/Qt/qprocess.h
-include/Qt/qqueue.h
-include/Qt/qreadwritelock.h
-include/Qt/qrect.h
-include/Qt/qregexp.h
-include/Qt/qresource.h
-include/Qt/qsemaphore.h
-include/Qt/qset.h
-include/Qt/qsettings.h
-include/Qt/qshareddata.h
-include/Qt/qsignalmapper.h
-include/Qt/qsize.h
-include/Qt/qsocketnotifier.h
-include/Qt/qstack.h
-include/Qt/qstring.h
-include/Qt/qstringlist.h
-include/Qt/qstringmatcher.h
-include/Qt/qtemporaryfile.h
-include/Qt/qtextcodec.h
-include/Qt/qtextcodecplugin.h
-include/Qt/qtextstream.h
-include/Qt/qthread.h
-include/Qt/qthreadstorage.h
-include/Qt/qtimeline.h
-include/Qt/qtimer.h
-include/Qt/qtranslator.h
-include/Qt/qurl.h
-include/Qt/quuid.h
-include/Qt/qvariant.h
-include/Qt/qvarlengtharray.h
-include/Qt/qvector.h
-include/Qt/qwaitcondition.h
-include/QtCore/QAbstractEventDispatcher
-include/QtCore/QAbstractFileEngine
-include/QtCore/QAbstractFileEngineHandler
-include/QtCore/QAbstractFileEngineIterator
-include/QtCore/QAbstractItemModel
-include/QtCore/QAbstractListModel
-include/QtCore/QAbstractTableModel
-include/QtCore/QArgument
-include/QtCore/QAtomic
-include/QtCore/QAtomicPointer
-include/QtCore/QBasicAtomic
-include/QtCore/QBasicAtomicPointer
-include/QtCore/QBasicTimer
-include/QtCore/QBitArray
-include/QtCore/QBitRef
-include/QtCore/QBool
-include/QtCore/QBuffer
-include/QtCore/QByteArray
-include/QtCore/QByteArrayMatcher
-include/QtCore/QByteRef
-include/QtCore/QCOORD
-include/QtCore/QCache
-include/QtCore/QChar
-include/QtCore/QCharRef
-include/QtCore/QChildEvent
-include/QtCore/QConstString
-include/QtCore/QCoreApplication
-include/QtCore/QCryptographicHash
-include/QtCore/QCustomEvent
-include/QtCore/QDataStream
-include/QtCore/QDate
-include/QtCore/QDateTime
-include/QtCore/QDebug
-include/QtCore/QDir
-include/QtCore/QDirIterator
-include/QtCore/QDynamicPropertyChangeEvent
-include/QtCore/QEvent
-include/QtCore/QEventLoop
-include/QtCore/QExplicitlySharedDataPointer
-include/QtCore/QFSFileEngine
-include/QtCore/QFactoryInterface
-include/QtCore/QFile
-include/QtCore/QFileInfo
-include/QtCore/QFileInfoList
-include/QtCore/QFileInfoListIterator
-include/QtCore/QFileSystemWatcher
-include/QtCore/QFlag
-include/QtCore/QFlags
-include/QtCore/QForeachContainer
-include/QtCore/QForeachContainerBase
-include/QtCore/QGenericArgument
-include/QtCore/QGenericReturnArgument
-include/QtCore/QGlobalStatic
-include/QtCore/QGlobalStaticDeleter
-include/QtCore/QHash
-include/QtCore/QHashData
-include/QtCore/QHashDummyNode
-include/QtCore/QHashDummyValue
-include/QtCore/QHashIterator
-include/QtCore/QHashNode
-include/QtCore/QIODevice
-include/QtCore/QIntForSize
-include/QtCore/QIntForType
-include/QtCore/QInternal
-include/QtCore/QLatin1Char
-include/QtCore/QLatin1String
-include/QtCore/QLibrary
-include/QtCore/QLibraryInfo
-include/QtCore/QLine
-include/QtCore/QLineF
-include/QtCore/QLinkedList
-include/QtCore/QLinkedListData
-include/QtCore/QLinkedListIterator
-include/QtCore/QLinkedListNode
-include/QtCore/QList
-include/QtCore/QListData
-include/QtCore/QListIterator
-include/QtCore/QLocale
-include/QtCore/QMap
-include/QtCore/QMapData
-include/QtCore/QMapIterator
-include/QtCore/QMetaClassInfo
-include/QtCore/QMetaEnum
-include/QtCore/QMetaMethod
-include/QtCore/QMetaObject
-include/QtCore/QMetaProperty
-include/QtCore/QMetaType
-include/QtCore/QMetaTypeId
-include/QtCore/QMetaTypeId2
-include/QtCore/QMimeData
-include/QtCore/QModelIndex
-include/QtCore/QModelIndexList
-include/QtCore/QMultiHash
-include/QtCore/QMultiMap
-include/QtCore/QMutableHashIterator
-include/QtCore/QMutableLinkedListIterator
-include/QtCore/QMutableListIterator
-include/QtCore/QMutableMapIterator
-include/QtCore/QMutableSetIterator
-include/QtCore/QMutableStringListIterator
-include/QtCore/QMutableVectorIterator
-include/QtCore/QMutex
-include/QtCore/QMutexLocker
-include/QtCore/QNoDebug
-include/QtCore/QNoImplicitBoolCast
-include/QtCore/QObject
-include/QtCore/QObjectCleanupHandler
-include/QtCore/QObjectData
-include/QtCore/QObjectList
-include/QtCore/QObjectUserData
-include/QtCore/QPair
-include/QtCore/QPersistentModelIndex
-include/QtCore/QPluginLoader
-include/QtCore/QPoint
-include/QtCore/QPointF
-include/QtCore/QPointer
-include/QtCore/QProcess
-include/QtCore/QQueue
-include/QtCore/QReadLocker
-include/QtCore/QReadWriteLock
-include/QtCore/QRect
-include/QtCore/QRectF
-include/QtCore/QRegExp
-include/QtCore/QResource
-include/QtCore/QReturnArgument
-include/QtCore/QSemaphore
-include/QtCore/QSet
-include/QtCore/QSetIterator
-include/QtCore/QSettings
-include/QtCore/QSharedData
-include/QtCore/QSharedDataPointer
-include/QtCore/QSignalMapper
-include/QtCore/QSize
-include/QtCore/QSizeF
-include/QtCore/QSocketNotifier
-include/QtCore/QStack
-include/QtCore/QStdWString
-include/QtCore/QString
-include/QtCore/QStringList
-include/QtCore/QStringListIterator
-include/QtCore/QStringMatcher
-include/QtCore/QStringRef
-include/QtCore/QSysInfo
-include/QtCore/QSystemLocale
-include/QtCore/QTS
-include/QtCore/QTemporaryFile
-include/QtCore/QTextCodec
-include/QtCore/QTextCodecFactoryInterface
-include/QtCore/QTextCodecPlugin
-include/QtCore/QTextDecoder
-include/QtCore/QTextEncoder
-include/QtCore/QTextIStream
-include/QtCore/QTextOStream
-include/QtCore/QTextStream
-include/QtCore/QTextStreamFunction
-include/QtCore/QTextStreamManipulator
-include/QtCore/QThread
-include/QtCore/QThreadStorage
-include/QtCore/QThreadStorageData
-include/QtCore/QTime
-include/QtCore/QTimeLine
-include/QtCore/QTimer
-include/QtCore/QTimerEvent
-include/QtCore/QTranslator
-include/QtCore/QTypeInfo
-include/QtCore/QUintForSize
-include/QtCore/QUintForType
-include/QtCore/QUrl
-include/QtCore/QUuid
-include/QtCore/QVarLengthArray
-include/QtCore/QVariant
-include/QtCore/QVariantComparisonHelper
-include/QtCore/QVariantList
-include/QtCore/QVariantMap
-include/QtCore/QVector
-include/QtCore/QVectorData
-include/QtCore/QVectorIterator
-include/QtCore/QVectorTypedData
-include/QtCore/QWaitCondition
-include/QtCore/QWriteLocker
-include/QtCore/Q_INT16
-include/QtCore/Q_INT32
-include/QtCore/Q_INT64
-include/QtCore/Q_INT8
-include/QtCore/Q_LLONG
-include/QtCore/Q_LONG
-include/QtCore/Q_PID
-include/QtCore/Q_UINT16
-include/QtCore/Q_UINT32
-include/QtCore/Q_UINT64
-include/QtCore/Q_UINT8
-include/QtCore/Q_ULLONG
-include/QtCore/Q_ULONG
-include/QtCore/Qt
-include/QtCore/QtAlgorithms
-include/QtCore/QtCleanUpFunction
-include/QtCore/QtContainerFwd
-include/QtCore/QtCore
-include/QtCore/QtDebug
-include/QtCore/QtEndian
-include/QtCore/QtGlobal
-include/QtCore/QtMsgHandler
-include/QtCore/QtPlugin
-include/QtCore/QtPluginInstanceFunction
-include/QtCore/qabstracteventdispatcher.h
-include/QtCore/qabstractfileengine.h
-include/QtCore/qabstractitemmodel.h
-include/QtCore/qalgorithms.h
-include/QtCore/qatomic.h
-include/QtCore/qatomic_alpha.h
-include/QtCore/qatomic_arch.h
-include/QtCore/qatomic_arm.h
-include/QtCore/qatomic_boundschecker.h
-include/QtCore/qatomic_generic.h
-include/QtCore/qatomic_i386.h
-include/QtCore/qatomic_ia64.h
-include/QtCore/qatomic_mips.h
-include/QtCore/qatomic_parisc.h
-include/QtCore/qatomic_powerpc.h
-include/QtCore/qatomic_s390.h
-include/QtCore/qatomic_sparc.h
-include/QtCore/qatomic_x86_64.h
-include/QtCore/qbasictimer.h
-include/QtCore/qbitarray.h
-include/QtCore/qbuffer.h
-include/QtCore/qbytearray.h
-include/QtCore/qbytearraymatcher.h
-include/QtCore/qcache.h
-include/QtCore/qchar.h
-include/QtCore/qconfig-dist.h
-include/QtCore/qconfig-large.h
-include/QtCore/qconfig-medium.h
-include/QtCore/qconfig-minimal.h
-include/QtCore/qconfig-small.h
-include/QtCore/qconfig.h
-include/QtCore/qcontainerfwd.h
-include/QtCore/qcoreapplication.h
-include/QtCore/qcoreevent.h
-include/QtCore/qcryptographichash.h
-include/QtCore/qdatastream.h
-include/QtCore/qdatetime.h
-include/QtCore/qdebug.h
-include/QtCore/qdir.h
-include/QtCore/qdiriterator.h
-include/QtCore/qendian.h
-include/QtCore/qeventloop.h
-include/QtCore/qfactoryinterface.h
-include/QtCore/qfeatures.h
-include/QtCore/qfile.h
-include/QtCore/qfileinfo.h
-include/QtCore/qfilesystemwatcher.h
-include/QtCore/qfsfileengine.h
-include/QtCore/qglobal.h
-include/QtCore/qhash.h
-include/QtCore/qiodevice.h
-include/QtCore/qiterator.h
-include/QtCore/qlibrary.h
-include/QtCore/qlibraryinfo.h
-include/QtCore/qline.h
-include/QtCore/qlinkedlist.h
-include/QtCore/qlist.h
-include/QtCore/qlocale.h
-include/QtCore/qmap.h
-include/QtCore/qmetaobject.h
-include/QtCore/qmetatype.h
-include/QtCore/qmimedata.h
-include/QtCore/qmutex.h
-include/QtCore/qnamespace.h
-include/QtCore/qnumeric.h
-include/QtCore/qobject.h
-include/QtCore/qobjectcleanuphandler.h
-include/QtCore/qobjectdefs.h
-include/QtCore/qpair.h
-include/QtCore/qplugin.h
-include/QtCore/qpluginloader.h
-include/QtCore/qpoint.h
-include/QtCore/qpointer.h
-include/QtCore/qprocess.h
-include/QtCore/qqueue.h
-include/QtCore/qreadwritelock.h
-include/QtCore/qrect.h
-include/QtCore/qregexp.h
-include/QtCore/qresource.h
-include/QtCore/qsemaphore.h
-include/QtCore/qset.h
-include/QtCore/qsettings.h
-include/QtCore/qshareddata.h
-include/QtCore/qsignalmapper.h
-include/QtCore/qsize.h
-include/QtCore/qsocketnotifier.h
-include/QtCore/qstack.h
-include/QtCore/qstring.h
-include/QtCore/qstringlist.h
-include/QtCore/qstringmatcher.h
-include/QtCore/qtemporaryfile.h
-include/QtCore/qtextcodec.h
-include/QtCore/qtextcodecplugin.h
-include/QtCore/qtextstream.h
-include/QtCore/qthread.h
-include/QtCore/qthreadstorage.h
-include/QtCore/qtimeline.h
-include/QtCore/qtimer.h
-include/QtCore/qtranslator.h
-include/QtCore/qurl.h
-include/QtCore/quuid.h
-include/QtCore/qvariant.h
-include/QtCore/qvarlengtharray.h
-include/QtCore/qvector.h
-include/QtCore/qwaitcondition.h
-lib/libQtCore.la
-lib/libQtCore.prl
-lib/libQtCore.so
-lib/libQtCore.so.4
-lib/libQtCore.so.4.3
-lib/libQtCore.so.4.3.4
-%%DEBUG%%lib/libQtCore.so.4.3.4.debug
+include/qt4/Qt/QtCore
+include/qt4/Qt/qabstracteventdispatcher.h
+include/qt4/Qt/qabstractfileengine.h
+include/qt4/Qt/qabstractitemmodel.h
+include/qt4/Qt/qalgorithms.h
+include/qt4/Qt/qatomic.h
+include/qt4/Qt/qatomic_alpha.h
+include/qt4/Qt/qatomic_arch.h
+include/qt4/Qt/qatomic_arm.h
+include/qt4/Qt/qatomic_avr32.h
+include/qt4/Qt/qatomic_bfin.h
+include/qt4/Qt/qatomic_bootstrap.h
+include/qt4/Qt/qatomic_generic.h
+include/qt4/Qt/qatomic_i386.h
+include/qt4/Qt/qatomic_ia64.h
+include/qt4/Qt/qatomic_mips.h
+include/qt4/Qt/qatomic_parisc.h
+include/qt4/Qt/qatomic_powerpc.h
+include/qt4/Qt/qatomic_s390.h
+include/qt4/Qt/qatomic_sparc.h
+include/qt4/Qt/qatomic_x86_64.h
+include/qt4/Qt/qbasicatomic.h
+include/qt4/Qt/qbasictimer.h
+include/qt4/Qt/qbitarray.h
+include/qt4/Qt/qbuffer.h
+include/qt4/Qt/qbytearray.h
+include/qt4/Qt/qbytearraymatcher.h
+include/qt4/Qt/qcache.h
+include/qt4/Qt/qchar.h
+include/qt4/Qt/qconfig-dist.h
+include/qt4/Qt/qconfig-large.h
+include/qt4/Qt/qconfig-medium.h
+include/qt4/Qt/qconfig-minimal.h
+include/qt4/Qt/qconfig-small.h
+include/qt4/Qt/qconfig.h
+include/qt4/Qt/qcontainerfwd.h
+include/qt4/Qt/qcoreapplication.h
+include/qt4/Qt/qcoreevent.h
+include/qt4/Qt/qcryptographichash.h
+include/qt4/Qt/qdatastream.h
+include/qt4/Qt/qdatetime.h
+include/qt4/Qt/qdebug.h
+include/qt4/Qt/qdir.h
+include/qt4/Qt/qdiriterator.h
+include/qt4/Qt/qendian.h
+include/qt4/Qt/qeventloop.h
+include/qt4/Qt/qfactoryinterface.h
+include/qt4/Qt/qfeatures.h
+include/qt4/Qt/qfile.h
+include/qt4/Qt/qfileinfo.h
+include/qt4/Qt/qfilesystemwatcher.h
+include/qt4/Qt/qfsfileengine.h
+include/qt4/Qt/qfuture.h
+include/qt4/Qt/qfutureinterface.h
+include/qt4/Qt/qfuturesynchronizer.h
+include/qt4/Qt/qfuturewatcher.h
+include/qt4/Qt/qglobal.h
+include/qt4/Qt/qhash.h
+include/qt4/Qt/qiodevice.h
+include/qt4/Qt/qiterator.h
+include/qt4/Qt/qlibrary.h
+include/qt4/Qt/qlibraryinfo.h
+include/qt4/Qt/qline.h
+include/qt4/Qt/qlinkedlist.h
+include/qt4/Qt/qlist.h
+include/qt4/Qt/qlocale.h
+include/qt4/Qt/qmap.h
+include/qt4/Qt/qmath.h
+include/qt4/Qt/qmetaobject.h
+include/qt4/Qt/qmetatype.h
+include/qt4/Qt/qmimedata.h
+include/qt4/Qt/qmutex.h
+include/qt4/Qt/qnamespace.h
+include/qt4/Qt/qnumeric.h
+include/qt4/Qt/qobject.h
+include/qt4/Qt/qobjectcleanuphandler.h
+include/qt4/Qt/qobjectdefs.h
+include/qt4/Qt/qpair.h
+include/qt4/Qt/qplugin.h
+include/qt4/Qt/qpluginloader.h
+include/qt4/Qt/qpoint.h
+include/qt4/Qt/qpointer.h
+include/qt4/Qt/qprocess.h
+include/qt4/Qt/qqueue.h
+include/qt4/Qt/qreadwritelock.h
+include/qt4/Qt/qrect.h
+include/qt4/Qt/qregexp.h
+include/qt4/Qt/qresource.h
+include/qt4/Qt/qrunnable.h
+include/qt4/Qt/qsemaphore.h
+include/qt4/Qt/qset.h
+include/qt4/Qt/qsettings.h
+include/qt4/Qt/qshareddata.h
+include/qt4/Qt/qsharedmemory.h
+include/qt4/Qt/qsignalmapper.h
+include/qt4/Qt/qsize.h
+include/qt4/Qt/qsocketnotifier.h
+include/qt4/Qt/qstack.h
+include/qt4/Qt/qstring.h
+include/qt4/Qt/qstringlist.h
+include/qt4/Qt/qstringmatcher.h
+include/qt4/Qt/qsystemsemaphore.h
+include/qt4/Qt/qtconcurrentcompilertest.h
+include/qt4/Qt/qtconcurrentexception.h
+include/qt4/Qt/qtconcurrentfilter.h
+include/qt4/Qt/qtconcurrentfilterkernel.h
+include/qt4/Qt/qtconcurrentfunctionwrappers.h
+include/qt4/Qt/qtconcurrentiteratekernel.h
+include/qt4/Qt/qtconcurrentmap.h
+include/qt4/Qt/qtconcurrentmapkernel.h
+include/qt4/Qt/qtconcurrentmedian.h
+include/qt4/Qt/qtconcurrentreducekernel.h
+include/qt4/Qt/qtconcurrentresultstore.h
+include/qt4/Qt/qtconcurrentrun.h
+include/qt4/Qt/qtconcurrentrunbase.h
+include/qt4/Qt/qtconcurrentstoredfunctioncall.h
+include/qt4/Qt/qtconcurrentthreadengine.h
+include/qt4/Qt/qtemporaryfile.h
+include/qt4/Qt/qtextboundaryfinder.h
+include/qt4/Qt/qtextcodec.h
+include/qt4/Qt/qtextcodecplugin.h
+include/qt4/Qt/qtextstream.h
+include/qt4/Qt/qthread.h
+include/qt4/Qt/qthreadpool.h
+include/qt4/Qt/qthreadstorage.h
+include/qt4/Qt/qtimeline.h
+include/qt4/Qt/qtimer.h
+include/qt4/Qt/qtranslator.h
+include/qt4/Qt/qurl.h
+include/qt4/Qt/quuid.h
+include/qt4/Qt/qvariant.h
+include/qt4/Qt/qvarlengtharray.h
+include/qt4/Qt/qvector.h
+include/qt4/Qt/qwaitcondition.h
+include/qt4/Qt/qxmlstream.h
+include/qt4/QtCore/QAbstractEventDispatcher
+include/qt4/QtCore/QAbstractFileEngine
+include/qt4/QtCore/QAbstractFileEngineHandler
+include/qt4/QtCore/QAbstractFileEngineIterator
+include/qt4/QtCore/QAbstractItemModel
+include/qt4/QtCore/QAbstractListModel
+include/qt4/QtCore/QAbstractTableModel
+include/qt4/QtCore/QArgument
+include/qt4/QtCore/QAtomicInt
+include/qt4/QtCore/QAtomicPointer
+include/qt4/QtCore/QBasicAtomicInt
+include/qt4/QtCore/QBasicAtomicPointer
+include/qt4/QtCore/QBasicTimer
+include/qt4/QtCore/QBitArray
+include/qt4/QtCore/QBitRef
+include/qt4/QtCore/QBool
+include/qt4/QtCore/QBuffer
+include/qt4/QtCore/QByteArray
+include/qt4/QtCore/QByteArrayMatcher
+include/qt4/QtCore/QByteRef
+include/qt4/QtCore/QCOORD
+include/qt4/QtCore/QCache
+include/qt4/QtCore/QChar
+include/qt4/QtCore/QCharRef
+include/qt4/QtCore/QChildEvent
+include/qt4/QtCore/QConstString
+include/qt4/QtCore/QCoreApplication
+include/qt4/QtCore/QCryptographicHash
+include/qt4/QtCore/QCustomEvent
+include/qt4/QtCore/QDataStream
+include/qt4/QtCore/QDate
+include/qt4/QtCore/QDateTime
+include/qt4/QtCore/QDebug
+include/qt4/QtCore/QDir
+include/qt4/QtCore/QDirIterator
+include/qt4/QtCore/QDynamicPropertyChangeEvent
+include/qt4/QtCore/QEvent
+include/qt4/QtCore/QEventLoop
+include/qt4/QtCore/QExplicitlySharedDataPointer
+include/qt4/QtCore/QFSFileEngine
+include/qt4/QtCore/QFactoryInterface
+include/qt4/QtCore/QFile
+include/qt4/QtCore/QFileInfo
+include/qt4/QtCore/QFileInfoList
+include/qt4/QtCore/QFileInfoListIterator
+include/qt4/QtCore/QFileSystemWatcher
+include/qt4/QtCore/QFlag
+include/qt4/QtCore/QFlags
+include/qt4/QtCore/QForeachContainer
+include/qt4/QtCore/QForeachContainerBase
+include/qt4/QtCore/QFuture
+include/qt4/QtCore/QFutureInterface
+include/qt4/QtCore/QFutureInterfaceBase
+include/qt4/QtCore/QFutureIterator
+include/qt4/QtCore/QFutureSynchronizer
+include/qt4/QtCore/QFutureWatcher
+include/qt4/QtCore/QFutureWatcherBase
+include/qt4/QtCore/QGenericArgument
+include/qt4/QtCore/QGenericReturnArgument
+include/qt4/QtCore/QGlobalStatic
+include/qt4/QtCore/QGlobalStaticDeleter
+include/qt4/QtCore/QHash
+include/qt4/QtCore/QHashData
+include/qt4/QtCore/QHashDummyNode
+include/qt4/QtCore/QHashDummyValue
+include/qt4/QtCore/QHashIterator
+include/qt4/QtCore/QHashNode
+include/qt4/QtCore/QIODevice
+include/qt4/QtCore/QIntForSize
+include/qt4/QtCore/QIntForType
+include/qt4/QtCore/QInternal
+include/qt4/QtCore/QLatin1Char
+include/qt4/QtCore/QLatin1String
+include/qt4/QtCore/QLibrary
+include/qt4/QtCore/QLibraryInfo
+include/qt4/QtCore/QLine
+include/qt4/QtCore/QLineF
+include/qt4/QtCore/QLinkedList
+include/qt4/QtCore/QLinkedListData
+include/qt4/QtCore/QLinkedListIterator
+include/qt4/QtCore/QLinkedListNode
+include/qt4/QtCore/QList
+include/qt4/QtCore/QListData
+include/qt4/QtCore/QListIterator
+include/qt4/QtCore/QLocale
+include/qt4/QtCore/QMap
+include/qt4/QtCore/QMapData
+include/qt4/QtCore/QMapIterator
+include/qt4/QtCore/QMetaClassInfo
+include/qt4/QtCore/QMetaEnum
+include/qt4/QtCore/QMetaMethod
+include/qt4/QtCore/QMetaObject
+include/qt4/QtCore/QMetaProperty
+include/qt4/QtCore/QMetaType
+include/qt4/QtCore/QMetaTypeId
+include/qt4/QtCore/QMetaTypeId2
+include/qt4/QtCore/QMimeData
+include/qt4/QtCore/QModelIndex
+include/qt4/QtCore/QModelIndexList
+include/qt4/QtCore/QMultiHash
+include/qt4/QtCore/QMultiMap
+include/qt4/QtCore/QMutableFutureIterator
+include/qt4/QtCore/QMutableHashIterator
+include/qt4/QtCore/QMutableLinkedListIterator
+include/qt4/QtCore/QMutableListIterator
+include/qt4/QtCore/QMutableMapIterator
+include/qt4/QtCore/QMutableSetIterator
+include/qt4/QtCore/QMutableStringListIterator
+include/qt4/QtCore/QMutableVectorIterator
+include/qt4/QtCore/QMutex
+include/qt4/QtCore/QMutexLocker
+include/qt4/QtCore/QNoDebug
+include/qt4/QtCore/QNoImplicitBoolCast
+include/qt4/QtCore/QObject
+include/qt4/QtCore/QObjectCleanupHandler
+include/qt4/QtCore/QObjectData
+include/qt4/QtCore/QObjectList
+include/qt4/QtCore/QObjectUserData
+include/qt4/QtCore/QPair
+include/qt4/QtCore/QPersistentModelIndex
+include/qt4/QtCore/QPluginLoader
+include/qt4/QtCore/QPoint
+include/qt4/QtCore/QPointF
+include/qt4/QtCore/QPointer
+include/qt4/QtCore/QProcess
+include/qt4/QtCore/QQueue
+include/qt4/QtCore/QReadLocker
+include/qt4/QtCore/QReadWriteLock
+include/qt4/QtCore/QRect
+include/qt4/QtCore/QRectF
+include/qt4/QtCore/QRegExp
+include/qt4/QtCore/QResource
+include/qt4/QtCore/QReturnArgument
+include/qt4/QtCore/QRunnable
+include/qt4/QtCore/QSemaphore
+include/qt4/QtCore/QSet
+include/qt4/QtCore/QSetIterator
+include/qt4/QtCore/QSettings
+include/qt4/QtCore/QSharedData
+include/qt4/QtCore/QSharedDataPointer
+include/qt4/QtCore/QSharedMemory
+include/qt4/QtCore/QSignalMapper
+include/qt4/QtCore/QSize
+include/qt4/QtCore/QSizeF
+include/qt4/QtCore/QSocketNotifier
+include/qt4/QtCore/QStack
+include/qt4/QtCore/QStdWString
+include/qt4/QtCore/QString
+include/qt4/QtCore/QStringList
+include/qt4/QtCore/QStringListIterator
+include/qt4/QtCore/QStringMatcher
+include/qt4/QtCore/QStringRef
+include/qt4/QtCore/QSysInfo
+include/qt4/QtCore/QSystemLocale
+include/qt4/QtCore/QSystemSemaphore
+include/qt4/QtCore/QTS
+include/qt4/QtCore/QTemporaryFile
+include/qt4/QtCore/QTextBoundaryFinder
+include/qt4/QtCore/QTextCodec
+include/qt4/QtCore/QTextCodecFactoryInterface
+include/qt4/QtCore/QTextCodecPlugin
+include/qt4/QtCore/QTextDecoder
+include/qt4/QtCore/QTextEncoder
+include/qt4/QtCore/QTextIStream
+include/qt4/QtCore/QTextOStream
+include/qt4/QtCore/QTextStream
+include/qt4/QtCore/QTextStreamFunction
+include/qt4/QtCore/QTextStreamManipulator
+include/qt4/QtCore/QThread
+include/qt4/QtCore/QThreadPool
+include/qt4/QtCore/QThreadStorage
+include/qt4/QtCore/QThreadStorageData
+include/qt4/QtCore/QTime
+include/qt4/QtCore/QTimeLine
+include/qt4/QtCore/QTimer
+include/qt4/QtCore/QTimerEvent
+include/qt4/QtCore/QTranslator
+include/qt4/QtCore/QTypeInfo
+include/qt4/QtCore/QUintForSize
+include/qt4/QtCore/QUintForType
+include/qt4/QtCore/QUrl
+include/qt4/QtCore/QUuid
+include/qt4/QtCore/QVarLengthArray
+include/qt4/QtCore/QVariant
+include/qt4/QtCore/QVariantComparisonHelper
+include/qt4/QtCore/QVariantList
+include/qt4/QtCore/QVariantMap
+include/qt4/QtCore/QVector
+include/qt4/QtCore/QVectorData
+include/qt4/QtCore/QVectorIterator
+include/qt4/QtCore/QVectorTypedData
+include/qt4/QtCore/QWaitCondition
+include/qt4/QtCore/QWriteLocker
+include/qt4/QtCore/QXmlStreamAttribute
+include/qt4/QtCore/QXmlStreamAttributes
+include/qt4/QtCore/QXmlStreamEntityDeclaration
+include/qt4/QtCore/QXmlStreamEntityDeclarations
+include/qt4/QtCore/QXmlStreamEntityResolver
+include/qt4/QtCore/QXmlStreamNamespaceDeclaration
+include/qt4/QtCore/QXmlStreamNamespaceDeclarations
+include/qt4/QtCore/QXmlStreamNotationDeclaration
+include/qt4/QtCore/QXmlStreamNotationDeclarations
+include/qt4/QtCore/QXmlStreamReader
+include/qt4/QtCore/QXmlStreamStringRef
+include/qt4/QtCore/QXmlStreamWriter
+include/qt4/QtCore/Q_INT16
+include/qt4/QtCore/Q_INT32
+include/qt4/QtCore/Q_INT64
+include/qt4/QtCore/Q_INT8
+include/qt4/QtCore/Q_LLONG
+include/qt4/QtCore/Q_LONG
+include/qt4/QtCore/Q_PID
+include/qt4/QtCore/Q_UINT16
+include/qt4/QtCore/Q_UINT32
+include/qt4/QtCore/Q_UINT64
+include/qt4/QtCore/Q_UINT8
+include/qt4/QtCore/Q_ULLONG
+include/qt4/QtCore/Q_ULONG
+include/qt4/QtCore/Qt
+include/qt4/QtCore/QtAlgorithms
+include/qt4/QtCore/QtCleanUpFunction
+include/qt4/QtCore/QtConcurrentFilter
+include/qt4/QtCore/QtConcurrentMap
+include/qt4/QtCore/QtConcurrentRun
+include/qt4/QtCore/QtContainerFwd
+include/qt4/QtCore/QtCore
+include/qt4/QtCore/QtDebug
+include/qt4/QtCore/QtEndian
+include/qt4/QtCore/QtGlobal
+include/qt4/QtCore/QtMsgHandler
+include/qt4/QtCore/QtPlugin
+include/qt4/QtCore/QtPluginInstanceFunction
+include/qt4/QtCore/qabstracteventdispatcher.h
+include/qt4/QtCore/qabstractfileengine.h
+include/qt4/QtCore/qabstractitemmodel.h
+include/qt4/QtCore/qalgorithms.h
+include/qt4/QtCore/qatomic.h
+include/qt4/QtCore/qatomic_alpha.h
+include/qt4/QtCore/qatomic_arch.h
+include/qt4/QtCore/qatomic_arm.h
+include/qt4/QtCore/qatomic_avr32.h
+include/qt4/QtCore/qatomic_bfin.h
+include/qt4/QtCore/qatomic_bootstrap.h
+include/qt4/QtCore/qatomic_generic.h
+include/qt4/QtCore/qatomic_i386.h
+include/qt4/QtCore/qatomic_ia64.h
+include/qt4/QtCore/qatomic_mips.h
+include/qt4/QtCore/qatomic_parisc.h
+include/qt4/QtCore/qatomic_powerpc.h
+include/qt4/QtCore/qatomic_s390.h
+include/qt4/QtCore/qatomic_sparc.h
+include/qt4/QtCore/qatomic_x86_64.h
+include/qt4/QtCore/qbasicatomic.h
+include/qt4/QtCore/qbasictimer.h
+include/qt4/QtCore/qbitarray.h
+include/qt4/QtCore/qbuffer.h
+include/qt4/QtCore/qbytearray.h
+include/qt4/QtCore/qbytearraymatcher.h
+include/qt4/QtCore/qcache.h
+include/qt4/QtCore/qchar.h
+include/qt4/QtCore/qconfig-dist.h
+include/qt4/QtCore/qconfig-large.h
+include/qt4/QtCore/qconfig-medium.h
+include/qt4/QtCore/qconfig-minimal.h
+include/qt4/QtCore/qconfig-small.h
+include/qt4/QtCore/qconfig.h
+include/qt4/QtCore/qcontainerfwd.h
+include/qt4/QtCore/qcoreapplication.h
+include/qt4/QtCore/qcoreevent.h
+include/qt4/QtCore/qcryptographichash.h
+include/qt4/QtCore/qdatastream.h
+include/qt4/QtCore/qdatetime.h
+include/qt4/QtCore/qdebug.h
+include/qt4/QtCore/qdir.h
+include/qt4/QtCore/qdiriterator.h
+include/qt4/QtCore/qendian.h
+include/qt4/QtCore/qeventloop.h
+include/qt4/QtCore/qfactoryinterface.h
+include/qt4/QtCore/qfeatures.h
+include/qt4/QtCore/qfile.h
+include/qt4/QtCore/qfileinfo.h
+include/qt4/QtCore/qfilesystemwatcher.h
+include/qt4/QtCore/qfsfileengine.h
+include/qt4/QtCore/qfuture.h
+include/qt4/QtCore/qfutureinterface.h
+include/qt4/QtCore/qfuturesynchronizer.h
+include/qt4/QtCore/qfuturewatcher.h
+include/qt4/QtCore/qglobal.h
+include/qt4/QtCore/qhash.h
+include/qt4/QtCore/qiodevice.h
+include/qt4/QtCore/qiterator.h
+include/qt4/QtCore/qlibrary.h
+include/qt4/QtCore/qlibraryinfo.h
+include/qt4/QtCore/qline.h
+include/qt4/QtCore/qlinkedlist.h
+include/qt4/QtCore/qlist.h
+include/qt4/QtCore/qlocale.h
+include/qt4/QtCore/qmap.h
+include/qt4/QtCore/qmath.h
+include/qt4/QtCore/qmetaobject.h
+include/qt4/QtCore/qmetatype.h
+include/qt4/QtCore/qmimedata.h
+include/qt4/QtCore/qmutex.h
+include/qt4/QtCore/qnamespace.h
+include/qt4/QtCore/qnumeric.h
+include/qt4/QtCore/qobject.h
+include/qt4/QtCore/qobjectcleanuphandler.h
+include/qt4/QtCore/qobjectdefs.h
+include/qt4/QtCore/qpair.h
+include/qt4/QtCore/qplugin.h
+include/qt4/QtCore/qpluginloader.h
+include/qt4/QtCore/qpoint.h
+include/qt4/QtCore/qpointer.h
+include/qt4/QtCore/qprocess.h
+include/qt4/QtCore/qqueue.h
+include/qt4/QtCore/qreadwritelock.h
+include/qt4/QtCore/qrect.h
+include/qt4/QtCore/qregexp.h
+include/qt4/QtCore/qresource.h
+include/qt4/QtCore/qrunnable.h
+include/qt4/QtCore/qsemaphore.h
+include/qt4/QtCore/qset.h
+include/qt4/QtCore/qsettings.h
+include/qt4/QtCore/qshareddata.h
+include/qt4/QtCore/qsharedmemory.h
+include/qt4/QtCore/qsignalmapper.h
+include/qt4/QtCore/qsize.h
+include/qt4/QtCore/qsocketnotifier.h
+include/qt4/QtCore/qstack.h
+include/qt4/QtCore/qstring.h
+include/qt4/QtCore/qstringlist.h
+include/qt4/QtCore/qstringmatcher.h
+include/qt4/QtCore/qsystemsemaphore.h
+include/qt4/QtCore/qtconcurrentcompilertest.h
+include/qt4/QtCore/qtconcurrentexception.h
+include/qt4/QtCore/qtconcurrentfilter.h
+include/qt4/QtCore/qtconcurrentfilterkernel.h
+include/qt4/QtCore/qtconcurrentfunctionwrappers.h
+include/qt4/QtCore/qtconcurrentiteratekernel.h
+include/qt4/QtCore/qtconcurrentmap.h
+include/qt4/QtCore/qtconcurrentmapkernel.h
+include/qt4/QtCore/qtconcurrentmedian.h
+include/qt4/QtCore/qtconcurrentreducekernel.h
+include/qt4/QtCore/qtconcurrentresultstore.h
+include/qt4/QtCore/qtconcurrentrun.h
+include/qt4/QtCore/qtconcurrentrunbase.h
+include/qt4/QtCore/qtconcurrentstoredfunctioncall.h
+include/qt4/QtCore/qtconcurrentthreadengine.h
+include/qt4/QtCore/qtemporaryfile.h
+include/qt4/QtCore/qtextboundaryfinder.h
+include/qt4/QtCore/qtextcodec.h
+include/qt4/QtCore/qtextcodecplugin.h
+include/qt4/QtCore/qtextstream.h
+include/qt4/QtCore/qthread.h
+include/qt4/QtCore/qthreadpool.h
+include/qt4/QtCore/qthreadstorage.h
+include/qt4/QtCore/qtimeline.h
+include/qt4/QtCore/qtimer.h
+include/qt4/QtCore/qtranslator.h
+include/qt4/QtCore/qurl.h
+include/qt4/QtCore/quuid.h
+include/qt4/QtCore/qvariant.h
+include/qt4/QtCore/qvarlengtharray.h
+include/qt4/QtCore/qvector.h
+include/qt4/QtCore/qwaitcondition.h
+include/qt4/QtCore/qxmlstream.h
+lib/qt4/libQtCore.la
+lib/qt4/libQtCore.prl
+lib/qt4/libQtCore.so
+lib/qt4/libQtCore.so.4
+lib/qt4/libQtCore.so.4.4
+%%DEBUG%%lib/qt4/libQtCore.so.4.4.1.debug
+lib/qt4/libQtCore.so.4.4.1
lib/qt4/plugins/.keep_me
libdata/pkgconfig/QtCore.pc
+share/qt4/mkspecs/qconfig.pri
+@dirrmtry share/qt4/mkspecs
@dirrmtry share/qt4
@dirrm lib/qt4/plugins
-@dirrm lib/qt4
-@dirrm include/QtCore
-@dirrm include/Qt
+@dirrmtry lib/qt4
+@dirrm include/qt4/QtCore
+@dirrmtry include/qt4/Qt
+@dirrmtry include/qt4
diff --git a/devel/qt4-designer/Makefile b/devel/qt4-designer/Makefile
index 16697f2feb5f..d6735b7c3bbf 100644
--- a/devel/qt4-designer/Makefile
+++ b/devel/qt4-designer/Makefile
@@ -8,7 +8,7 @@
PORTNAME= designer
PORTVERSION= ${QT4_VERSION}
-PORTREVISION= 1
+PORTREVISION= 0
CATEGORIES?= devel
MASTER_SITES= ${MASTER_SITE_QT}
PKGNAMEPREFIX= qt4-
@@ -19,26 +19,28 @@ MAINTAINER= kde@FreeBSD.org
COMMENT= Qt ui editor
USE_QT_VER= 4
-QT_COMPONENTS= qmake_build moc_build rcc_build uic_build assistantclient \
- qt3support corelib gui network script sql xml
+QT_COMPONENTS= qmake_build moc_build rcc_build uic_build assistant_run \
+ qt3support corelib gui network script sql xml webkit
QT_NONSTANDARD= yes
QT_DIST= yes
HAS_CONFIGURE= yes
-USE_LDCONFIG= yes
+USE_LDCONFIG= ${PREFIX}/lib/qt4
ALL_TARGET= first
CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib \
PATH=${WRKSRC}/bin:$$PATH
-EXTRACT_AFTER_ARGS=| ${TAR} -xf - \
- --exclude '${DISTNAME}/mkspecs' --exclude '${DISTNAME}/qmake' \
- --exclude '${DISTNAME}/demos' --exclude '${DISTNAME}/examples' \
- --exclude '${DISTNAME}/src/opengl' --exclude '${DISTNAME}/src/sql' \
- --exclude '${DISTNAME}/src/tools/moc' --exclude '${DISTNAME}/src/tools/rcc' \
- --exclude '${DISTNAME}/src/tools/uic3' \
- --exclude '${DISTNAME}/tools/linguist' --exclude '${DISTNAME}/tools/porting' \
- --exclude '${DISTNAME}/tools/qtconfig' --exclude '${DISTNAME}/tools/qvfb'
+DO_NOT_EXTRACT= demos doc examples mkspecs qmake translations \
+ src/dbus src/opengl src/phonon \
+ src/sql src/svg src/testlib \
+ src/xmlpatterns src/3rdparty/clucene \
+ src/3rdparty/kdebase src/3rdparty/kdelibs
+EXTRACT_AFTER_ARGS= | ${TAR} -xf -
+.for dne in ${DO_NOT_EXTRACT}
+EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
+.endfor
+
WRKSRC= ${WRKDIR}/${DISTNAME}/tools/${PORTNAME}
CONFIGURE_WRKSRC=${WRKSRC}/../../
PATCH_WRKSRC=${CONFIGURE_WRKSRC}
@@ -54,12 +56,17 @@ pre-configure:
${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/../../bin/rcc
post-configure:
- ${REINPLACE_CMD} -e 's|${PREFIX}/lib/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
- -e 's|.*$$(QMAKE).*||g' ${WRKSRC}/src/uitools/Makefile
${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \
-E -e 's|(.*location=).*moc|\1${PREFIX}/bin/moc-qt4|g' \
-E -e 's|(.*location=).*uic|\1${PREFIX}/bin/uic-qt4|g' \
- -E -e 's|(.*Cflags:.*)-I${LOCALBASE}/include |\1|g' \
- ${WRKSRC}/../../lib/pkgconfig/*Qt*
+ ${WRKSRC}/../../lib/pkgconfig/QtUiTools.pc \
+ ${WRKSRC}/../../lib/pkgconfig/QtDesigner.pc \
+ ${WRKSRC}/../../lib/pkgconfig/QtDesignerComponents.pc
+
+pre-install:
+ ${REINPLACE_CMD} -e 's|${PREFIX}/lib/qt4/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
+ ${WRKSRC}/src/lib/Makefile \
+ ${WRKSRC}/src/uitools/Makefile \
+ ${WRKSRC}/src/components/lib/Makefile
.include <bsd.port.mk>
diff --git a/devel/qt4-designer/distinfo b/devel/qt4-designer/distinfo
index 9451a68b5c02..0c630f09baf6 100644
--- a/devel/qt4-designer/distinfo
+++ b/devel/qt4-designer/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.3.4.tar.gz) = 9499101ec54eb7b0de195b3c5e3ffa93
-SHA256 (KDE/qt-x11-opensource-src-4.3.4.tar.gz) = 8864dd80f3456be70a3be60364502a0ca3f46125b2f156860ad880ff55fcabd2
-SIZE (KDE/qt-x11-opensource-src-4.3.4.tar.gz) = 43988710
+MD5 (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = b09decad252b5181f300135e3122481d
+SHA256 (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = 5aca7b784fc4de3db292666490ade84cfd1810f189c089c5c2810a710993f386
+SIZE (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = 108774120
diff --git a/devel/qt4-designer/files/patch-tools__designer__src__designer__assistantclient.cpp b/devel/qt4-designer/files/patch-tools__designer__src__designer__assistantclient.cpp
new file mode 100644
index 000000000000..5fbc26603be6
--- /dev/null
+++ b/devel/qt4-designer/files/patch-tools__designer__src__designer__assistantclient.cpp
@@ -0,0 +1,11 @@
+--- ./tools/designer/src/designer/assistantclient.cpp.orig 2008-04-28 17:11:20.000000000 +0400
++++ ./tools/designer/src/designer/assistantclient.cpp 2008-06-17 01:30:25.000000000 +0400
+@@ -115,7 +115,7 @@
+ {
+ QString app = QLibraryInfo::location(QLibraryInfo::BinariesPath) + QDir::separator();
+ #if !defined(Q_OS_MAC)
+- app += QLatin1String("assistant");
++ app += QLatin1String("assistant-qt4");
+ #else
+ app += QLatin1String("Assistant.app/Contents/MacOS/Assistant");
+ #endif
diff --git a/devel/qt4-designer/pkg-plist b/devel/qt4-designer/pkg-plist
index 217ea3a8f926..374e962bdb71 100644
--- a/devel/qt4-designer/pkg-plist
+++ b/devel/qt4-designer/pkg-plist
@@ -1,104 +1,108 @@
bin/designer-qt4
%%DEBUG%%bin/designer-qt4.debug
-include/QtDesigner/QAbstractExtensionFactory
-include/QtDesigner/QAbstractExtensionManager
-include/QtDesigner/QAbstractFormBuilder
-include/QtDesigner/QDesignerActionEditorInterface
-include/QtDesigner/QDesignerBrushManagerInterface
-include/QtDesigner/QDesignerComponents
-include/QtDesigner/QDesignerContainerExtension
-include/QtDesigner/QDesignerCustomWidgetCollectionInterface
-include/QtDesigner/QDesignerCustomWidgetInterface
-include/QtDesigner/QDesignerDnDItemInterface
-include/QtDesigner/QDesignerDynamicPropertySheetExtension
-include/QtDesigner/QDesignerExportWidget
-include/QtDesigner/QDesignerExtraInfoExtension
-include/QtDesigner/QDesignerFormEditorInterface
-include/QtDesigner/QDesignerFormEditorPluginInterface
-include/QtDesigner/QDesignerFormWindowCursorInterface
-include/QtDesigner/QDesignerFormWindowInterface
-include/QtDesigner/QDesignerFormWindowManagerInterface
-include/QtDesigner/QDesignerFormWindowToolInterface
-include/QtDesigner/QDesignerIconCacheInterface
-include/QtDesigner/QDesignerIntegrationInterface
-include/QtDesigner/QDesignerLanguageExtension
-include/QtDesigner/QDesignerLayoutDecorationExtension
-include/QtDesigner/QDesignerMemberSheetExtension
-include/QtDesigner/QDesignerMetaDataBaseInterface
-include/QtDesigner/QDesignerMetaDataBaseItemInterface
-include/QtDesigner/QDesignerObjectInspectorInterface
-include/QtDesigner/QDesignerPromotionInterface
-include/QtDesigner/QDesignerPropertyEditorInterface
-include/QtDesigner/QDesignerPropertySheetExtension
-include/QtDesigner/QDesignerResourceBrowserInterface
-include/QtDesigner/QDesignerTaskMenuExtension
-include/QtDesigner/QDesignerWidgetBoxInterface
-include/QtDesigner/QDesignerWidgetDataBaseInterface
-include/QtDesigner/QDesignerWidgetDataBaseItemInterface
-include/QtDesigner/QDesignerWidgetFactoryInterface
-include/QtDesigner/QExtensionFactory
-include/QtDesigner/QExtensionManager
-include/QtDesigner/QFormBuilder
-include/QtDesigner/QtDesigner
-include/QtDesigner/abstractactioneditor.h
-include/QtDesigner/abstractbrushmanager.h
-include/QtDesigner/abstractdnditem.h
-include/QtDesigner/abstractformbuilder.h
-include/QtDesigner/abstractformeditor.h
-include/QtDesigner/abstractformeditorplugin.h
-include/QtDesigner/abstractformwindow.h
-include/QtDesigner/abstractformwindowcursor.h
-include/QtDesigner/abstractformwindowmanager.h
-include/QtDesigner/abstractformwindowtool.h
-include/QtDesigner/abstracticoncache.h
-include/QtDesigner/abstractintegration.h
-include/QtDesigner/abstractlanguage.h
-include/QtDesigner/abstractmetadatabase.h
-include/QtDesigner/abstractobjectinspector.h
-include/QtDesigner/abstractpromotioninterface.h
-include/QtDesigner/abstractpropertyeditor.h
-include/QtDesigner/abstractresourcebrowser.h
-include/QtDesigner/abstractwidgetbox.h
-include/QtDesigner/abstractwidgetdatabase.h
-include/QtDesigner/abstractwidgetfactory.h
-include/QtDesigner/container.h
-include/QtDesigner/customwidget.h
-include/QtDesigner/default_extensionfactory.h
-include/QtDesigner/dynamicpropertysheet.h
-include/QtDesigner/extension.h
-include/QtDesigner/extension_global.h
-include/QtDesigner/extrainfo.h
-include/QtDesigner/formbuilder.h
-include/QtDesigner/layoutdecoration.h
-include/QtDesigner/membersheet.h
-include/QtDesigner/propertysheet.h
-include/QtDesigner/qdesigner_components.h
-include/QtDesigner/qdesigner_components_global.h
-include/QtDesigner/qdesignerexportwidget.h
-include/QtDesigner/qextensionmanager.h
-include/QtDesigner/sdk_global.h
-include/QtDesigner/taskmenu.h
-include/QtDesigner/uilib_global.h
-include/QtUiTools/QUiLoader
-include/QtUiTools/QtUiTools
-include/QtUiTools/quiloader.h
-lib/libQtDesigner.prl
-lib/libQtDesigner.so
-lib/libQtDesigner.so.4
-lib/libQtDesigner.so.4.3
-lib/libQtDesigner.so.4.3.4
-%%DEBUG%%lib/libQtDesigner.so.4.3.4.debug
-lib/libQtDesignerComponents.prl
-lib/libQtDesignerComponents.so
-lib/libQtDesignerComponents.so.4
-lib/libQtDesignerComponents.so.4.3
-lib/libQtDesignerComponents.so.4.3.4
-%%DEBUG%%lib/libQtDesignerComponents.so.4.3.4.debug
-lib/libQtUiTools.a
-lib/libQtUiTools.prl
+include/qt4/QtDesigner/QAbstractExtensionFactory
+include/qt4/QtDesigner/QAbstractExtensionManager
+include/qt4/QtDesigner/QAbstractFormBuilder
+include/qt4/QtDesigner/QDesignerActionEditorInterface
+include/qt4/QtDesigner/QDesignerBrushManagerInterface
+include/qt4/QtDesigner/QDesignerComponents
+include/qt4/QtDesigner/QDesignerContainerExtension
+include/qt4/QtDesigner/QDesignerCustomWidgetCollectionInterface
+include/qt4/QtDesigner/QDesignerCustomWidgetInterface
+include/qt4/QtDesigner/QDesignerDnDItemInterface
+include/qt4/QtDesigner/QDesignerDynamicPropertySheetExtension
+include/qt4/QtDesigner/QDesignerExportWidget
+include/qt4/QtDesigner/QDesignerExtraInfoExtension
+include/qt4/QtDesigner/QDesignerFormEditorInterface
+include/qt4/QtDesigner/QDesignerFormEditorPluginInterface
+include/qt4/QtDesigner/QDesignerFormWindowCursorInterface
+include/qt4/QtDesigner/QDesignerFormWindowInterface
+include/qt4/QtDesigner/QDesignerFormWindowManagerInterface
+include/qt4/QtDesigner/QDesignerFormWindowToolInterface
+include/qt4/QtDesigner/QDesignerIconCacheInterface
+include/qt4/QtDesigner/QDesignerIntegrationInterface
+include/qt4/QtDesigner/QDesignerLanguageExtension
+include/qt4/QtDesigner/QDesignerLayoutDecorationExtension
+include/qt4/QtDesigner/QDesignerMemberSheetExtension
+include/qt4/QtDesigner/QDesignerMetaDataBaseInterface
+include/qt4/QtDesigner/QDesignerMetaDataBaseItemInterface
+include/qt4/QtDesigner/QDesignerObjectInspectorInterface
+include/qt4/QtDesigner/QDesignerPromotionInterface
+include/qt4/QtDesigner/QDesignerPropertyEditorInterface
+include/qt4/QtDesigner/QDesignerPropertySheetExtension
+include/qt4/QtDesigner/QDesignerResourceBrowserInterface
+include/qt4/QtDesigner/QDesignerTaskMenuExtension
+include/qt4/QtDesigner/QDesignerWidgetBoxInterface
+include/qt4/QtDesigner/QDesignerWidgetDataBaseInterface
+include/qt4/QtDesigner/QDesignerWidgetDataBaseItemInterface
+include/qt4/QtDesigner/QDesignerWidgetFactoryInterface
+include/qt4/QtDesigner/QExtensionFactory
+include/qt4/QtDesigner/QExtensionManager
+include/qt4/QtDesigner/QFormBuilder
+include/qt4/QtDesigner/QtDesigner
+include/qt4/QtDesigner/abstractactioneditor.h
+include/qt4/QtDesigner/abstractbrushmanager.h
+include/qt4/QtDesigner/abstractdnditem.h
+include/qt4/QtDesigner/abstractformbuilder.h
+include/qt4/QtDesigner/abstractformeditor.h
+include/qt4/QtDesigner/abstractformeditorplugin.h
+include/qt4/QtDesigner/abstractformwindow.h
+include/qt4/QtDesigner/abstractformwindowcursor.h
+include/qt4/QtDesigner/abstractformwindowmanager.h
+include/qt4/QtDesigner/abstractformwindowtool.h
+include/qt4/QtDesigner/abstracticoncache.h
+include/qt4/QtDesigner/abstractintegration.h
+include/qt4/QtDesigner/abstractlanguage.h
+include/qt4/QtDesigner/abstractmetadatabase.h
+include/qt4/QtDesigner/abstractobjectinspector.h
+include/qt4/QtDesigner/abstractpromotioninterface.h
+include/qt4/QtDesigner/abstractpropertyeditor.h
+include/qt4/QtDesigner/abstractresourcebrowser.h
+include/qt4/QtDesigner/abstractwidgetbox.h
+include/qt4/QtDesigner/abstractwidgetdatabase.h
+include/qt4/QtDesigner/abstractwidgetfactory.h
+include/qt4/QtDesigner/container.h
+include/qt4/QtDesigner/customwidget.h
+include/qt4/QtDesigner/default_extensionfactory.h
+include/qt4/QtDesigner/dynamicpropertysheet.h
+include/qt4/QtDesigner/extension.h
+include/qt4/QtDesigner/extension_global.h
+include/qt4/QtDesigner/extrainfo.h
+include/qt4/QtDesigner/formbuilder.h
+include/qt4/QtDesigner/layoutdecoration.h
+include/qt4/QtDesigner/membersheet.h
+include/qt4/QtDesigner/propertysheet.h
+include/qt4/QtDesigner/qdesigner_components.h
+include/qt4/QtDesigner/qdesigner_components_global.h
+include/qt4/QtDesigner/qdesignerexportwidget.h
+include/qt4/QtDesigner/qextensionmanager.h
+include/qt4/QtDesigner/sdk_global.h
+include/qt4/QtDesigner/taskmenu.h
+include/qt4/QtDesigner/uilib_global.h
+include/qt4/QtUiTools/QUiLoader
+include/qt4/QtUiTools/QtUiTools
+include/qt4/QtUiTools/quiloader.h
+lib/qt4/libQtDesigner.prl
+lib/qt4/libQtDesigner.so
+lib/qt4/libQtDesigner.so.4
+lib/qt4/libQtDesigner.so.4.4
+lib/qt4/libQtDesigner.so.4.4.1
+%%DEBUG%%lib/qt4/libQtDesigner.so.4.4.1.debug
+lib/qt4/libQtDesignerComponents.prl
+lib/qt4/libQtDesignerComponents.so
+lib/qt4/libQtDesignerComponents.so.4
+lib/qt4/libQtDesignerComponents.so.4.4
+lib/qt4/libQtDesignerComponents.so.4.4.1
+%%DEBUG%%lib/qt4/libQtDesignerComponents.so.4.4.1.debug
+lib/qt4/libQtUiTools.a
+lib/qt4/libQtUiTools.prl
lib/qt4/plugins/designer/libqt3supportwidgets.so
%%DEBUG%%lib/qt4/plugins/designer/libqt3supportwidgets.so.debug
+lib/qt4/plugins/designer/libqwebview.so
+%%DEBUG%%lib/qt4/plugins/designer/libqwebview.so.debug
libdata/pkgconfig/QtUiTools.pc
-@dirrm lib/qt4/plugins/designer
-@dirrm include/QtUiTools
-@dirrm include/QtDesigner
+libdata/pkgconfig/QtDesigner.pc
+libdata/pkgconfig/QtDesignerComponents.pc
+@dirrmtry lib/qt4/plugins/designer
+@dirrm include/qt4/QtUiTools
+@dirrm include/qt4/QtDesigner
diff --git a/devel/qt4-qdbusviewer/Makefile b/devel/qt4-qdbusviewer/Makefile
index 38b3fc3322e9..637f879d8873 100644
--- a/devel/qt4-qdbusviewer/Makefile
+++ b/devel/qt4-qdbusviewer/Makefile
@@ -8,7 +8,7 @@
PORTNAME= qdbusviewer
PORTVERSION= ${QT4_VERSION}
-PORTREVISION= 1
+PORTREVISION=0
CATEGORIES?= devel
MASTER_SITES= ${MASTER_SITE_QT}
PKGNAMEPREFIX= qt4-
@@ -26,32 +26,32 @@ QT_NONSTANDARD= yes
QT_DIST= yes
HAS_CONFIGURE= yes
-USE_LDCONFIG= yes
ALL_TARGET= first
CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib \
PATH=${WRKSRC}/bin:$$PATH
-EXTRACT_AFTER_ARGS=| ${TAR} -xf - \
- --exclude '${DISTNAME}/mkspecs' --exclude '${DISTNAME}/qmake' \
- --exclude '${DISTNAME}/demos' --exclude '${DISTNAME}/examples' \
- --exclude '${DISTNAME}/src/opengl' --exclude '${DISTNAME}/src/sql' \
- --exclude '${DISTNAME}/src/tools/moc' --exclude '${DISTNAME}/src/tools/rcc' \
- --exclude '${DISTNAME}/src/tools/uic3' --exclude '${DISTNAME}/tools/designer' \
- --exclude '${DISTNAME}/tools/linguist' --exclude '${DISTNAME}/tools/porting' \
- --exclude '${DISTNAME}/tools/qtconfig' --exclude '${DISTNAME}/tools/qvfb'
-WRKSRC= ${WRKDIR}/${DISTNAME}/tools/qdbus/tools/qdbusviewer
-CONFIGURE_WRKSRC=${WRKSRC}/../../../..
+
+DO_NOT_EXTRACT= demos doc examples mkspecs qmake translations \
+ src/network src/opengl src/phonon \
+ src/qt3support src/script src/sql src/svg src/testlib \
+ src/tools src/xmlpatterns src/3rdparty/clucene \
+ src/3rdparty/kdebase src/3rdparty/kdelibs src/3rdparty/webkit
+EXTRACT_AFTER_ARGS= | ${TAR} -xf -
+.for dne in ${DO_NOT_EXTRACT}
+EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
+.endfor
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/tools/qdbus/qdbusviewer
+CONFIGURE_WRKSRC=${WRKSRC}/../../..
.include <bsd.port.pre.mk>
pre-configure:
${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
- ${REINPLACE_CMD} -e 's|target.path.*|target.path=${PREFIX}/bin|g' \
- ${WRKSRC}/qdbusviewer.pro
- ${MKDIR} ${WRKSRC}/../../../../mkspecs
- ${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../../../bin/qmake
- ${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/../../../../bin/moc
- ${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/../../../../bin/rcc
+ ${MKDIR} ${WRKSRC}/../../../mkspecs
+ ${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../../bin/qmake
+ ${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/../../../bin/moc
+ ${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/../../../bin/rcc
.include <bsd.port.post.mk>
diff --git a/devel/qt4-qdbusviewer/distinfo b/devel/qt4-qdbusviewer/distinfo
index 9451a68b5c02..0c630f09baf6 100644
--- a/devel/qt4-qdbusviewer/distinfo
+++ b/devel/qt4-qdbusviewer/distinfo
@@ -1,3 +1,3 @@
-MD5 (KDE/qt-x11-opensource-src-4.3.4.tar.gz) = 9499101ec54eb7b0de195b3c5e3ffa93
-SHA256 (KDE/qt-x11-opensource-src-4.3.4.tar.gz) = 8864dd80f3456be70a3be60364502a0ca3f46125b2f156860ad880ff55fcabd2
-SIZE (KDE/qt-x11-opensource-src-4.3.4.tar.gz) = 43988710
+MD5 (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = b09decad252b5181f300135e3122481d
+SHA256 (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = 5aca7b784fc4de3db292666490ade84cfd1810f189c089c5c2810a710993f386
+SIZE (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = 108774120
diff --git a/devel/qt4/files/configure b/devel/qt4/files/configure
index 97ff95c9f0df..d0db1cecc72c 100644
--- a/devel/qt4/files/configure
+++ b/devel/qt4/files/configure
@@ -114,10 +114,10 @@ if [ -f "$relpath"/src/gui/kernel/qapplication_mac.cpp ] && [ -d /System/Library
# ~ this is the internal edition and Qt/Mac sources exist
PLATFORM_MAC=maybe
elif [ -f "$relpath"/src/gui/kernel/qapplication_qws.cpp ]; then
- # Qtopia Core
+ # Qt Embedded
# ~ src/gui/base/qapplication_qws.cpp is present
# ~ this is the free or commercial edition
- # ~ this is the internal edition and Qtopia Core is explicitly enabled
+ # ~ this is the internal edition and Qt Embedded is explicitly enabled
PLATFORM_QWS=maybe
fi
@@ -162,8 +162,8 @@ if [ -f "$relpath"/LICENSE.Qtopia ]; then
Licensee="Qtopia"
Edition="Qtopia"
QT_EDITION="QT_EDITION_DESKTOP"
-elif [ -f "$relpath"/LICENSE.QPL -o -f "$relpath"/LICENSE.GPL2 -o -f "$relpath"/LICENSE.GPL3 ]; then
- # Open Source edition - may only be used under the terms of the QPL or GPL.
+elif [ -f "$relpath"/LICENSE.GPL2 -o -f "$relpath"/LICENSE.GPL3 ]; then
+ # Open Source edition - may only be used under the terms of the GPL.
[ "$PLATFORM_MAC" = "maybe" ] && PLATFORM_MAC=yes
[ "$PLATFORM_QWS" = "maybe" ] && PLATFORM_QWS=yes
Licensee="Open Source"
@@ -315,23 +315,23 @@ else
LICENSE_EXTENSION=
if [ "$PLATFORM_QWS" = "yes" ]; then
case $PlatformCode in
- 4|8|V|P|G|Q|2|B)
- LICENSE_EXTENSION="-QTOPIACORE"
- # Qtopia Core
+ 2|4|8|A|B|E|G|J|K|P|Q|S|U|V|W|X)
+ LICENSE_EXTENSION="-EMBEDDED"
+ # Qt Embedded
;;
*)
echo
- echo "You are not licensed for Qtopia Core."
+ echo "You are not licensed for Qt for Embedded Linux."
echo
echo "Please contact sales@trolltech.com to upgrade your license"
- echo "to include Qtopia Core, or install the"
+ echo "to include Qt for Embedded Linux, or install the"
echo "Qt Open Source Edition if you intend to develop free software."
exit 1
;;
esac
elif [ "$PLATFORM_MAC" = "yes" ]; then
case $PlatformCode in
- 4|L|5|G|Y|2|F|B)
+ 2|4|5|7|9|B|C|E|F|G|L|M|U|W|X|Y)
# Qt/Mac
;;
*)
@@ -345,7 +345,7 @@ else
esac
else
case $PlatformCode in
- 4|Z|V|T|5|Q|2|F)
+ 2|3|4|5|7|D|E|F|J|M|Q|S|T|V|X|Z)
# Qt/X11
;;
*)
@@ -367,7 +367,7 @@ else
cp -f "$relpath/.LICENSE${LICENSE_EXTENSION}-US" "$outpath/LICENSE"
;;
Evaluation)
- cp -f "$relpath/.LICENSE${LICENSE_EXTENSION}-EVALUATION-US" "$outpath/LICENSE"
+ cp -f "$relpath/.LICENSE-EVALUATION-US" "$outpath/LICENSE"
;;
Academic)
cp -f "$relpath/.LICENSE-ACADEMIC-US" "$outpath/LICENSE"
@@ -384,7 +384,7 @@ else
cp -f "$relpath/.LICENSE${LICENSE_EXTENSION}" "$outpath/LICENSE"
;;
Evaluation)
- cp -f "$relpath/.LICENSE${LICENSE_EXTENSION}-EVALUATION" "$outpath/LICENSE"
+ cp -f "$relpath/.LICENSE-EVALUATION" "$outpath/LICENSE"
;;
Academic)
cp -f "$relpath/.LICENSE-ACADEMIC" "$outpath/LICENSE"
@@ -420,7 +420,7 @@ else
;;
esac
if [ '!' -f "$outpath/LICENSE" ]; then
- echo "The LICENSE, LICENSE.QPL, or LICENSE.GPL2 file shipped with"
+ echo "The LICENSE, LICENSE.GPL2, or LICENSE.GPL3 file shipped with"
echo "this software has disappeared."
echo
echo "Sorry, you are not licensed to use this software."
@@ -431,7 +431,7 @@ else
fi
if [ "$PLATFORM_QWS" = "yes" ]; then
- Platform="Qtopia Core"
+ Platform="Qt for Embedded Linux"
elif [ "$PLATFORM_MAC" = "yes" ]; then
Platform="Qt/Mac"
else
@@ -480,6 +480,7 @@ MIN_DBUS_1_VERSION=0.62
CFG_CONFIGURE_EXIT_ON_ERROR=yes
CFG_PROFILE=no
CFG_EXCEPTIONS=unspecified
+CFG_XMLPATTERNS=auto # (yes|no|auto)
CFG_INCREMENTAL=auto
CFG_QCONFIG=full
CFG_EMBEDDED=no
@@ -489,7 +490,8 @@ CFG_DEBUG_RELEASE=no
CFG_SHARED=yes
CFG_SM=auto
CFG_XSHAPE=auto
-CFG_XINERAMA=auto
+CFG_XINERAMA=runtime
+CFG_XFIXES=runtime
CFG_ZLIB=auto
CFG_SQLITE=qt
CFG_GIF=auto
@@ -501,7 +503,7 @@ CFG_JPEG=auto
CFG_LIBJPEG=auto
CFG_MNG=auto
CFG_LIBMNG=auto
-CFG_XCURSOR=auto
+CFG_XCURSOR=runtime
CFG_XRANDR=auto
CFG_XRENDER=auto
CFG_OPENGL=auto
@@ -510,10 +512,14 @@ CFG_FONTCONFIG=auto
CFG_QWS_FREETYPE=auto
CFG_LIBFREETYPE=auto
CFG_SQL_AVAILABLE=
-QT_DEFAULT_BUILD_PARTS="libs tools examples demos"
+QT_DEFAULT_BUILD_PARTS="libs tools examples demos docs translations"
CFG_BUILD_PARTS=""
CFG_NOBUILD_PARTS=""
CFG_RELEASE_QMAKE=no
+CFG_PHONON=auto
+CFG_SVG=yes
+CFG_WEBKIT=auto # (yes|no|auto)
+CFG_ASSISTANT_WEBKIT=no
CFG_GFX_AVAILABLE="linuxfb transformed qvfb vnc multiscreen"
CFG_GFX_ON="linuxfb multiscreen"
@@ -530,6 +536,10 @@ if [ "$Edition" = "Trolltech" ]; then
CFG_KBD_ON="${CFG_KBD_ON} um"
fi
+CFG_ARCH=
+CFG_HOST_ARCH=
+CFG_KBD_PLUGIN_AVAILABLE=
+CFG_KBD_PLUGIN=
CFG_KBD_OFF=
CFG_MOUSE_PLUGIN_AVAILABLE=
CFG_MOUSE_PLUGIN=
@@ -545,8 +555,9 @@ CFG_XKB=auto
CFG_NIS=auto
CFG_CUPS=auto
CFG_ICONV=auto
-CFG_QDBUS=auto
+CFG_DBUS=auto
CFG_GLIB=auto
+CFG_GSTREAMER=auto
CFG_LARGEFILE=auto
CFG_OPENSSL=auto
CFG_STL=auto
@@ -560,14 +571,16 @@ CFG_SSE2=auto
CFG_REDUCE_RELOCATIONS=no
CFG_IPV6=auto
CFG_NAS=no
-CFG_QWS_DEPTHS=prompted
+CFG_QWS_DEPTHS=all
CFG_USER_BUILD_KEY=
CFG_ACCESSIBILITY=auto
CFG_QT3SUPPORT=yes
CFG_ENDIAN=auto
+CFG_HOST_ENDIAN=auto
CFG_DOUBLEFORMAT=auto
CFG_ARMFPA=auto
CFG_IWMMXT=no
+CFG_CLOCK_GETTIME=auto
CFG_CLOCK_MONOTONIC=auto
CFG_MREMAP=auto
CFG_GETADDRINFO=auto
@@ -587,7 +600,7 @@ L_FLAGS=
RPATH_FLAGS=
l_FLAGS=
QCONFIG_FLAGS=
-XPLATFORM=
+XPLATFORM= # This seems to be the QMAKESPEC, like "linux-g++"
PLATFORM=$QMAKESPEC
QT_CROSS_COMPILE=no
OPT_CONFIRM_LICENSE=no
@@ -628,6 +641,10 @@ QT_LIBS_DBUS=
QT_CFLAGS_GLIB=
QT_LIBS_GLIB=
+# flags for GStreamer (X11 only)
+QT_CFLAGS_GSTREAMER=
+QT_LIBS_GSTREAMER=
+
#-------------------------------------------------------------------------------
# check SQL drivers, mouse drivers and decorations available in this package
#-------------------------------------------------------------------------------
@@ -658,6 +675,16 @@ if [ -d "$relpath/src/plugins/decorations" ]; then
done
fi
+CFG_KBD_PLUGIN_AVAILABLE=
+if [ -d "$relpath/src/plugins/kbddrivers" ]; then
+ for a in "$relpath/src/plugins/kbddrivers/"*; do
+ if [ -d "$a" ]; then
+ base_a=`basename $a`
+ CFG_KBD_PLUGIN_AVAILABLE="${CFG_KBD_PLUGIN_AVAILABLE} ${base_a}"
+ fi
+ done
+fi
+
CFG_MOUSE_PLUGIN_AVAILABLE=
if [ -d "$relpath/src/plugins/mousedrivers" ]; then
for a in "$relpath/src/plugins/mousedrivers/"*; do
@@ -720,10 +747,13 @@ while [ "$#" -gt 0 ]; do
VAL=no
;;
#Qt style yes options
- -incremental|-qvfb|-profile|-shared|-static|-sm|-xinerama|-xshape|-tablet|-reduce-exports|-pch|-separate-debug-info|-stl|-freetype|-xcursor|-xfixes|-xrandr|-xrender|-fontconfig|-xkb|-nis|-qdbus|-glib|-cups|-iconv|-largefile|-h|-help|-v|-verbose|-debug|-release|-fast|-opengl|-accessibility|-confirm-license|-gnumake|-framework|-qt3support|-debug-and-release|-exceptions|-universal|-prefix-install|-silent|-armfpa|-optimized-qmake|-dwarf2|-reduce-relocations|-sse|-openssl)
+ -incremental|-qvfb|-profile|-shared|-static|-sm|-xinerama|-xshape|-tablet|-reduce-exports|-pch|-separate-debug-info|-stl|-freetype|-xcursor|-xfixes|-xrandr|-xrender|-fontconfig|-xkb|-nis|-qdbus|-dbus|-dbus-linked|-glib|-gstreamer|-cups|-iconv|-largefile|-h|-help|-v|-verbose|-debug|-release|-fast|-opengl|-accessibility|-confirm-license|-gnumake|-framework|-qt3support|-debug-and-release|-exceptions|-universal|-prefix-install|-silent|-armfpa|-optimized-qmake|-dwarf2|-reduce-relocations|-sse|-openssl|-openssl-linked|-xmlpatterns|-phonon|-svg|-webkit|-assistant-webkit)
VAR=`echo $1 | sed "s,^-\(.*\),\1,"`
VAL=yes
;;
+ -force-pkg-config)
+ QT_FORCE_PKGCONFIG=yes
+ ;;
#Qt style options that pass an argument
-qconfig)
if [ "$PLATFORM_QWS" = "yes" ]; then
@@ -735,7 +765,7 @@ while [ "$#" -gt 0 ]; do
UNKNOWN_ARG=yes
fi
;;
- -prefix|-docdir|-headerdir|-plugindir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-examplesdir|-demosdir|-depths|-make|-nomake|-platform|-xplatform|-buildkey|-sdk|-arch|-mysql_config)
+ -prefix|-docdir|-headerdir|-plugindir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-examplesdir|-demosdir|-depths|-make|-nomake|-platform|-xplatform|-buildkey|-sdk|-arch|-host-arch|-mysql_config)
VAR=`echo $1 | sed "s,^-\(.*\),\1,"`
shift
VAL="$1"
@@ -775,13 +805,24 @@ while [ "$#" -gt 0 ]; do
VAL=$1
fi
;;
- -iwmmxt)
- CFG_IWMMXT="yes"
- ;;
+ -host-*-endian)
+ VAR=host_endian
+ VAL=`echo $1 | sed "s,^-.*-\(.*\)-.*,\1,"`
+ ;;
-*-endian)
VAR=endian
VAL=`echo $1 | sed "s,^-\(.*\)-.*,\1,"`
;;
+ -qtnamespace)
+ VAR="qtnamespace"
+ shift
+ VAL="$1"
+ ;;
+ -qtlibinfix)
+ VAR="qtlibinfix"
+ shift
+ VAL="$1"
+ ;;
-D?*|-D)
VAR="add_define"
if [ "$1" = "-D" ]; then
@@ -903,6 +944,12 @@ while [ "$#" -gt 0 ]; do
libdir)
QT_INSTALL_LIBS="$VAL"
;;
+ qtnamespace)
+ QT_NAMESPACE="$VAL"
+ ;;
+ qtlibinfix)
+ QT_LIBINFIX="$VAL"
+ ;;
translationdir)
QT_INSTALL_TRANSLATIONS="$VAL"
;;
@@ -936,11 +983,11 @@ while [ "$#" -gt 0 ]; do
PLATFORM_QWS=yes
fi
else
- echo "No license exists to enable Qtopia Core. Disabling."
+ echo "No license exists to enable Qt for Embedded Linux. Disabling."
CFG_EMBEDDED=no
fi
;;
- sse)
+ sse)
if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
CFG_SSE="$VAL"
else
@@ -956,6 +1003,15 @@ while [ "$#" -gt 0 ]; do
UNKNOWN_OPT=yes
fi
;;
+ host_endian)
+ if [ "$VAL" = "little" ]; then
+ CFG_HOST_ENDIAN="Q_LITTLE_ENDIAN"
+ elif [ "$VAL" = "big" ]; then
+ CFG_HOST_ENDIAN="Q_BIG_ENDIAN"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ ;;
armfpa)
if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
CFG_ARMFPA="$VAL"
@@ -994,16 +1050,15 @@ while [ "$#" -gt 0 ]; do
CFG_BUILD_PARTS="$CFG_BUILD_PARTS $VAL"
;;
x11)
- if [ "$Edition" = "Trolltech" ] && [ "$VAL" = "yes" ]; then
- if [ "$PLATFORM_MAC" = "yes" ]; then
- PLATFORM_MAC=no
- elif [ "$PLATFORM_QWS" = "yes" ]; then
- PLATFORM_QWS=no
- fi
- PLATFORM_X11=yes
- else
- UNKNOWN_OPT=yes
+ if [ "$PLATFORM_MAC" = "yes" ]; then
+ PLATFORM_MAC=no
+ elif [ "$PLATFORM_QWS" = "yes" ]; then
+ PLATFORM_QWS=no
+ fi
+ if [ "$CFG_FRAMEWORK" = "auto" ]; then
+ CFG_FRAMEWORK=no
fi
+ PLATFORM_X11=yes
;;
sdk)
if [ "$PLATFORM_MAC" = "yes" ]; then
@@ -1023,9 +1078,12 @@ while [ "$#" -gt 0 ]; do
if [ "$PLATFORM_MAC" = "yes" ]; then
CFG_MAC_ARCHS="$CFG_MAC_ARCHS $VAL"
else
- UNKNOWN_OPT=yes
+ CFG_ARCH=$VAL
fi
;;
+ host-arch)
+ CFG_HOST_ARCH=$VAL
+ ;;
universal)
if [ "$PLATFORM_MAC" = "yes" ] && [ "$VAL" = "yes" ]; then
CFG_MAC_ARCHS="$CFG_MAC_ARCHS x86 ppc"
@@ -1218,7 +1276,7 @@ while [ "$#" -gt 0 ]; do
;;
xinerama)
- if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
+ if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ] || [ "$VAL" = "runtime" ]; then
CFG_XINERAMA="$VAL"
else
UNKNOWN_OPT=yes
@@ -1294,6 +1352,9 @@ while [ "$#" -gt 0 ]; do
UNKNOWN_OPT=yes
fi
;;
+ iwmmxt)
+ CFG_IWMMXT="yes"
+ ;;
reduce-relocations)
if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
CFG_REDUCE_RELOCATIONS="$VAL"
@@ -1316,7 +1377,8 @@ while [ "$#" -gt 0 ]; do
else
UNKNOWN_OPT=yes
fi
- [ "$VAL" = "no" ] && CFG_LIBPNG=no
+ # No longer supported:
+ #[ "$VAL" = "no" ] && CFG_LIBPNG=no
;;
sqlite)
if [ "$VAL" = "system" ]; then
@@ -1365,14 +1427,14 @@ while [ "$#" -gt 0 ]; do
fi
;;
xcursor)
- if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
+ if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ] || [ "$VAL" = "runtime" ]; then
CFG_XCURSOR="$VAL"
else
UNKNOWN_OPT=yes
fi
;;
xfixes)
- if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
+ if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ] || [ "$VAL" = "runtime" ]; then
CFG_XFIXES="$VAL"
else
UNKNOWN_OPT=yes
@@ -1427,13 +1489,29 @@ while [ "$#" -gt 0 ]; do
UNKNOWN_OPT=yes
fi
;;
- qdbus)
+ gstreamer)
if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
- CFG_QDBUS="$VAL"
+ CFG_GSTREAMER="$VAL"
else
UNKNOWN_OPT=yes
fi
;;
+ qdbus|dbus)
+ if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ] || [ "$VAL" = "linked" ]; then
+ CFG_DBUS="$VAL"
+ elif [ "$VAL" = "runtime" ]; then
+ CFG_DBUS="yes"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ ;;
+ dbus-linked)
+ if [ "$VAL" = "yes" ]; then
+ CFG_DBUS="linked"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ ;;
nis)
if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
CFG_NIS="$VAL"
@@ -1455,6 +1533,57 @@ while [ "$#" -gt 0 ]; do
UNKNOWN_OPT=yes
fi
;;
+ openssl-linked)
+ if [ "$VAL" = "yes" ]; then
+ CFG_OPENSSL="linked"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ ;;
+ xmlpatterns)
+ if [ "$VAL" = "yes" ] || [ "$VAL" = "auto" ]; then
+ CFG_XMLPATTERNS="yes"
+ else
+ if [ "$VAL" = "no" ]; then
+ CFG_XMLPATTERNS="no"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ fi
+ ;;
+ svg)
+ if [ "$VAL" = "yes" ] || [ "$VAL" = "auto" ]; then
+ CFG_SVG="yes"
+ else
+ if [ "$VAL" = "no" ]; then
+ CFG_SVG="no"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ fi
+ ;;
+ webkit)
+ if [ "$VAL" = "yes" ] || [ "$VAL" = "auto" ]; then
+ CFG_WEBKIT="yes"
+ else
+ if [ "$VAL" = "no" ]; then
+ CFG_WEBKIT="no"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ fi
+ ;;
+ assistant-webkit)
+ if [ "$VAL" = "yes" ]; then
+ CFG_ASSISTANT_WEBKIT="yes"
+ else
+ if [ "$VAL" = "no" ]; then
+ CFG_ASSISTANT_WEBKIT="no"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ fi
+ ;;
confirm-license)
if [ "$VAL" = "yes" ]; then
OPT_CONFIRM_LICENSE="$VAL"
@@ -1501,6 +1630,9 @@ while [ "$#" -gt 0 ]; do
;;
kbd)
avail="$CFG_KBD_AVAILABLE"
+ if [ "$OPT" = "plugin" ]; then
+ avail="$CFG_KBD_PLUGIN_AVAILABLE"
+ fi
;;
mouse)
avail="$CFG_MOUSE_AVAILABLE"
@@ -1534,6 +1666,8 @@ while [ "$#" -gt 0 ]; do
if [ "$OPT" = "plugin" ]; then
[ "$VAR" = "decoration" ] && QMakeVar del "${VAR}s" "$VAL"
[ "$VAR" = "decoration" ] && CFG_DECORATION_ON=`echo "${CFG_DECORATION_ON} " | sed "s,${VAL} ,,g"` && CFG_DECORATION_PLUGIN="$CFG_DECORATION_PLUGIN ${VAL}"
+ [ "$VAR" = "kbd" ] && QMakeVar del "${VAR}s" "$VAL"
+ [ "$VAR" = "kbd" ] && CFG_KBD_ON=`echo "${CFG_MOUSE_ON} " | sed "s,${VAL} ,,g"` && CFG_KBD_PLUGIN="$CFG_KBD_PLUGIN ${VAL}"
[ "$VAR" = "mouse" ] && QMakeVar del "${VAR}s" "$VAL"
[ "$VAR" = "mouse" ] && CFG_MOUSE_ON=`echo "${CFG_MOUSE_ON} " | sed "s,${VAL} ,,g"` && CFG_MOUSE_PLUGIN="$CFG_MOUSE_PLUGIN ${VAL}"
[ "$VAR" = "gfx" ] && QMakeVar del "${VAR}s" "$VAL"
@@ -1632,6 +1766,13 @@ while [ "$#" -gt 0 ]; do
silent)
CFG_SILENT="$VAL"
;;
+ phonon)
+ if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
+ CFG_PHONON="$VAL"
+ else
+ UNKNOWN_OPT=yes
+ fi
+ ;;
*)
UNKNOWN_OPT=yes
;;
@@ -1648,6 +1789,12 @@ if [ "$CFG_QCONFIG" != "full" ] && [ "$CFG_QT3SUPPORT" = "yes" ]; then
CFG_QT3SUPPORT="no"
fi
+if [ "$CFG_ASSISTANT_WEBKIT" = "yes" ] && [ "$CFG_WEBKIT" = "no" ]; then
+ echo "Warning: WebKit cannot be used in Qt Assistant, since the Qt WebKit module"
+ echo "won't be built with the current configuration."
+ CFG_ASSISTANT_WEBKIT="no"
+fi
+
#-------------------------------------------------------------------------------
# build tree initialization
#-------------------------------------------------------------------------------
@@ -1657,6 +1804,8 @@ unixtests="$relpath/config.tests/unix"
mactests="$relpath/config.tests/mac"
WHICH="$unixtests/which.test"
+PKG_CONFIG=`$WHICH pkg-config 2>/dev/null`
+
# find out which awk we want to use, prefer gawk, then nawk, then regular awk
AWK=
for e in gawk nawk awk; do
@@ -1691,7 +1840,7 @@ fi
if [ "$PLATFORM_X11" = "yes" -o "$PLATFORM_QWS" = "yes" ] && [ "$CFG_DEBUG_RELEASE" = "yes" ]; then
echo
- echo "WARNING: -debug-and-release is not supported anymore on Qt/X11 and Qtopia Core"
+ echo "WARNING: -debug-and-release is not supported anymore on Qt/X11 and Qt for Embedded Linux"
echo "By default, Qt is built in release mode with separate debug information, so"
echo "-debug-and-release is not necessary anymore"
echo
@@ -1753,7 +1902,7 @@ if [ "$OPT_SHADOW" = "yes" ]; then
mkdir -p "$outpath/bin"
echo "#!/bin/sh" >"$outpath/bin/syncqt"
echo "QTDIR=\"$relpath\"; export QTDIR" >>"$outpath/bin/syncqt"
- [ "$Edition" = "Trolltech" ] && echo "perl \"$relpath/bin/syncqt\" -outdir \"$relpath\"" >>"$outpath/bin/syncqt"
+ [ "$Edition" = "Trolltech" ] && echo "perl \"$relpath/bin/syncqt\" -outdir \"$relpath\" \$*" >>"$outpath/bin/syncqt"
echo "perl \"$relpath/bin/syncqt\" -outdir \"$outpath\"" >>"$outpath/bin/syncqt"
chmod 755 "$outpath/bin/syncqt"
fi
@@ -1777,6 +1926,14 @@ if [ "$Edition" = "Trolltech" -o "$Edition" = "Qtopia" ]; then
done
fi
+# symlink fonts to be able to run application from build directory
+if [ "$PLATFORM_QWS" = "yes" ] && [ ! -e "${outpath}/lib/fonts" ]; then
+ if [ "$PLATFORM" = "$XPLATFORM" ]; then
+ mkdir -p "${outpath}/lib"
+ ln -s "${relpath}/dist/embedded-linux/lib/fonts" "${outpath}/lib/fonts"
+ fi
+fi
+
if [ "$OPT_FAST" = "auto" ]; then
if [ '!' -z "$AWK" ] && [ "$Edition" = "Trolltech" ]; then
OPT_FAST=yes
@@ -1847,23 +2004,30 @@ if [ "$CFG_EMBEDDED" != "no" ]; then
fi
if [ -z "$XPLATFORM" ]; then
if [ "$CFG_EMBEDDED" = "auto" ]; then
- case "$UNAME_MACHINE" in
- *86)
- CFG_EMBEDDED=x86
- ;;
- *86_64)
- CFG_EMBEDDED=x86_64
- ;;
- *)
- CFG_EMBEDDED=generic
- ;;
- esac
+ if [ -n "$CFG_ARCH" ]; then
+ CFG_EMBEDDED=$CFG_ARCH
+ else
+ case "$UNAME_MACHINE" in
+ *86)
+ CFG_EMBEDDED=x86
+ ;;
+ *86_64)
+ CFG_EMBEDDED=x86_64
+ ;;
+ *)
+ CFG_EMBEDDED=generic
+ ;;
+ esac
+ fi
fi
XPLATFORM="qws/linux-$CFG_EMBEDDED-g++"
fi
;;
+ CYGWIN*:*)
+ CFG_EMBEDDED=x86
+ ;;
*)
- echo "Qtopia Core is not supported on this platform. Disabling."
+ echo "Qt for Embedded Linux is not supported on this platform. Disabling."
CFG_EMBEDDED=no
PLATFORM_QWS=no
;;
@@ -2095,7 +2259,9 @@ if [ '!' -f "${XQMAKESPEC}/qplatformdefs.h" ]; then
fi
# now look at the configs and figure out what platform we are config'd for
-[ '!' -z "`getQMakeConf \"$XQMAKESPEC\" | grep QMAKE_LIBS_X11 | awk '{print $3;}'`" ] && PLATFORM_X11=yes
+[ "$CFG_EMBEDDED" = "no" ] \
+ && [ '!' -z "`getQMakeConf \"$XQMAKESPEC\" | grep QMAKE_LIBS_X11 | awk '{print $3;}'`" ] \
+ && PLATFORM_X11=yes
### echo "$XQMAKESPEC" | grep mkspecs/qws >/dev/null 2>&1 && PLATFORM_QWS=yes
if [ "$UNAME_SYSTEM" = "SunOS" ]; then
@@ -2113,27 +2279,23 @@ if [ "$OPT_VERBOSE" = "yes" ]; then
echo "Determining system architecture... ($UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_MACHINE)"
fi
-if [ "$PLATFORM" != "$XPLATFORM" -a "$CFG_EMBEDDED" != "no" ]; then
- case "$CFG_EMBEDDED" in
- x86)
- ARCH=i386
- ;;
- x86_64)
- ARCH=x86_64
- ;;
- ipaq|sharp)
- ARCH=arm
- ;;
- *)
- ARCH="$CFG_EMBEDDED"
- ;;
- esac
-else
+if [ "$CFG_EMBEDDED" != "no" -a "$CFG_EMBEDDED" != "auto" ] && [ -n "$CFG_ARCH" ]; then
+ if [ "$CFG_ARCH" != "$CFG_EMBEDDED" ]; then
+ echo ""
+ echo "You have specified a target architecture with -embedded and -arch."
+ echo "The two architectures you have specified are different, so we can"
+ echo "not proceed. Either set both to be the same, or only use -embedded."
+ echo ""
+ exit 1
+ fi
+fi
+
+if [ -z "${CFG_HOST_ARCH}" ]; then
case "$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_MACHINE" in
IRIX*:*:*)
- ARCH=`uname -p`
+ CFG_HOST_ARCH=`uname -p`
if [ "$OPT_VERBOSE" = "yes" ]; then
- echo " SGI ($ARCH)"
+ echo " SGI ($CFG_HOST_ARCH)"
fi
;;
SunOS:5*:*)
@@ -2142,7 +2304,7 @@ else
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " Sun SPARC (sparc)"
fi
- ARCH=sparc
+ CFG_HOST_ARCH=sparc
;;
i86pc)
case "$PLATFORM" in
@@ -2150,13 +2312,13 @@ else
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " 64-bit AMD 80x86 (x86_64)"
fi
- ARCH=x86_64
+ CFG_HOST_ARCH=x86_64
;;
*)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " 32-bit Intel 80x86 (i386)"
fi
- ARCH=i386
+ CFG_HOST_ARCH=i386
;;
esac
esac
@@ -2174,97 +2336,162 @@ else
fi
;;
esac
- ARCH=macosx
+ CFG_HOST_ARCH=macosx
;;
AIX:*:00????????00)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " 64-bit IBM PowerPC (powerpc)"
fi
- ARCH=powerpc
+ CFG_HOST_ARCH=powerpc
;;
HP-UX:*:9000*)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " HP PA-RISC (parisc)"
fi
- ARCH=parisc
+ CFG_HOST_ARCH=parisc
;;
*:*:i?86)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " 32-bit Intel 80x86 (i386)"
fi
- ARCH=i386
+ CFG_HOST_ARCH=i386
;;
*:*:x86_64|*:*:amd64)
if [ "$PLATFORM" = "linux-g++-32" -o "$PLATFORM" = "linux-icc-32" ]; then
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " 32 bit on 64-bit AMD 80x86 (i386)"
fi
- ARCH=i386
+ CFG_HOST_ARCH=i386
else
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " 64-bit AMD 80x86 (x86_64)"
fi
- ARCH=x86_64
+ CFG_HOST_ARCH=x86_64
fi
;;
*:*:ppc)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " 32-bit PowerPC (powerpc)"
fi
- ARCH=powerpc
+ CFG_HOST_ARCH=powerpc
;;
*:*:ppc64)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " 64-bit PowerPC (powerpc)"
fi
- ARCH=powerpc
+ CFG_HOST_ARCH=powerpc
;;
*:*:s390*)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " IBM S/390 (s390)"
fi
- ARCH=s390
+ CFG_HOST_ARCH=s390
;;
*:*:arm*)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " ARM (arm)"
fi
- ARCH=arm
+ CFG_HOST_ARCH=arm
+ ;;
+ Linux:*:sparc*)
+ if [ "$OPT_VERBOSE" = "yes" ]; then
+ echo " Linux on SPARC"
+ fi
+ CFG_HOST_ARCH=sparc
;;
- Linux:*:sparc*)
- if [ "$OPT_VERBOSE" = "yes" ]; then
- echo " Linux on SPARC"
- fi
- ARCH=sparc
- ;;
*:*:*)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " Trying '$UNAME_MACHINE'..."
fi
- ARCH="$UNAME_MACHINE"
+ CFG_HOST_ARCH="$UNAME_MACHINE"
+ ;;
+ esac
+fi
+
+if [ "$PLATFORM" != "$XPLATFORM" -a "$CFG_EMBEDDED" != "no" ]; then
+ if [ -n "$CFG_ARCH" ]; then
+ CFG_EMBEDDED=$CFG_ARCH
+ fi
+
+ case "$CFG_EMBEDDED" in
+ x86)
+ CFG_ARCH=i386
+ ;;
+ x86_64)
+ CFG_ARCH=x86_64
+ ;;
+ ipaq|sharp)
+ CFG_ARCH=arm
+ ;;
+ *)
+ CFG_ARCH="$CFG_EMBEDDED"
;;
esac
+elif [ "$PLATFORM_MAC" = "yes" ] || [ -z "$CFG_ARCH" ]; then
+ CFG_ARCH=$CFG_HOST_ARCH
fi
-if [ -d "$relpath/src/corelib/arch/$ARCH" ]; then
+if [ -d "$relpath/src/corelib/arch/$CFG_ARCH" ]; then
if [ "$OPT_VERBOSE" = "yes" ]; then
- echo " '$ARCH' is supported"
+ echo " '$CFG_ARCH' is supported"
fi
else
if [ "$OPT_VERBOSE" = "yes" ]; then
- echo " '$ARCH' is unsupported, using 'generic'"
+ echo " '$CFG_ARCH' is unsupported, using 'generic'"
+ fi
+ CFG_ARCH=generic
+fi
+if [ "$CFG_HOST_ARCH" != "$CFG_ARCH" ]; then
+ if [ -d "$relpath/src/corelib/arch/$CFG_HOST_ARCH" ]; then
+ if [ "$OPT_VERBOSE" = "yes" ]; then
+ echo " '$CFG_HOST_ARCH' is supported"
+ fi
+ else
+ if [ "$OPT_VERBOSE" = "yes" ]; then
+ echo " '$CFG_HOST_ARCH' is unsupported, using 'generic'"
+ fi
+ CFG_HOST_ARCH=generic
fi
- ARCH=generic
fi
if [ "$OPT_VERBOSE" = "yes" ]; then
- echo "System architecture: '$ARCH'"
+ echo "System architecture: '$CFG_ARCH'"
+ if [ "$PLATFORM_QWS" = "yes" ]; then
+ echo "Host architecture: '$CFG_HOST_ARCH'"
+ fi
fi
#-------------------------------------------------------------------------------
# tests that don't need qmake (must be run before displaying help)
#-------------------------------------------------------------------------------
+# Work out if we can use pkg-config
+if [ "$QT_CROSS_COMPILE" = "yes" ]; then
+ if [ -n "$QT_FORCE_PKGCONFIG" ]; then
+ echo >&2 ""
+ echo >&2 "You have asked to use pkg-config and are cross-compiling."
+ echo >&2 "Please make sure you have a correctly set-up pkg-config"
+ echo >&2 "environment!"
+ echo >&2 ""
+ if [ -z "$PKG_CONFIG_PATH" ]; then
+ echo >&2 ""
+ echo >&2 "Warning: PKG_CONFIG_PATH has not been set. This could mean"
+ echo >&2 "the host compiler's .pc files will be used. This is probably"
+ echo >&2 "not what you want."
+ echo >&2 ""
+ elif [ -z "$PKG_CONFIG_SYSROOT" ]; then
+ echo >&2 ""
+ echo >&2 "Warning: PKG_CONFIG_SYSROOT has not been set. This means"
+ echo >&2 "your toolchain's .pc files must contain the paths to the"
+ echo >&2 "toolchain's libraries & headers. If configure tests are"
+ echo >&2 "failing, please check these files."
+ echo >&2 ""
+ fi
+ else
+ PKG_CONFIG=""
+ fi
+fi
+
# find the default framework value
if [ "$PLATFORM_MAC" = "yes" ] && [ "$PLATFORM" != "macx-xlc" ]; then
if [ "$CFG_FRAMEWORK" = "auto" ]; then
@@ -2279,8 +2506,9 @@ else
CFG_FRAMEWORK=no
fi
+QMAKE_CONF_COMPILER=`getQMakeConf "$XQMAKESPEC" | grep "^QMAKE_CXX[^_A-Z0-9]" | sed "s,.* *= *\(.*\)$,\1," | tail -1`
TEST_COMPILER="$CC"
-[ -z "$TEST_COMPILER" ] && TEST_COMPILER=`getQMakeConf "$XQMAKESPEC" | grep "^QMAKE_CXX[^_A-Z0-9]" | sed "s,.* *= *\(.*\)$,\1,"`
+[ -z "$TEST_COMPILER" ] && TEST_COMPILER=$QMAKE_CONF_COMPILER
# auto-detect precompiled header support
if [ "$CFG_PRECOMPILE" = "auto" ]; then
@@ -2299,22 +2527,28 @@ elif [ "$CFG_PRECOMPILE" = "yes" ] && [ `echo "$CFG_MAC_ARCHS" | wc -w` -gt 1 ];
fi
#auto-detect DWARF2 on the mac
-if [ "$PLATFORM_MAC" = "yes" ] && [ "$CFG_MAC_DWARF2" != "no" ]; then
- if "$mactests/dwarf2.test" "$TEST_COMPILER" "$OPT_VERBOSE"; then
+if [ "$PLATFORM_MAC" = "yes" ] && [ "$CFG_MAC_DWARF2" != "no" ]; then
+ if "$mactests/dwarf2.test" "$TEST_COMPILER" "$OPT_VERBOSE"; then
CFG_MAC_DWARF2=no
else
CFG_MAC_DWARF2=yes
fi
fi
+# don't autodetect support for separate debug info on objcopy when
+# cross-compiling as lots of toolchains seems to have problems with this
+if [ "$QT_CROSS_COMPILE" = "yes" ] && [ "$CFG_SEPARATE_DEBUG_INFO" = "auto" ]; then
+ CFG_SEPARATE_DEBUG_INFO="no"
+fi
+
# auto-detect support for separate debug info in objcopy
if [ "$CFG_SEPARATE_DEBUG_INFO" != "no" ] && [ "$CFG_SHARED" = "yes" ]; then
TEST_COMPILER_CFLAGS=`getQMakeConf "$XQMAKESPEC" | sed -n -e 's%QMAKE_CFLAGS[^_].*=%%p' | tr '\n' ' '`
TEST_COMPILER_CXXFLAGS=`getQMakeConf "$XQMAKESPEC" | sed -n -e 's%QMAKE_CXXFLAGS[^_].*=%%p' | tr '\n' ' '`
- TEST_CXX_COMPILER=`getQMakeConf "$XQMAKESPEC" | grep "^QMAKE_CXX[^_A-Z0-9]" | sed "s%.* *= *\(.*\)$%\1%" | tr '\n' ' '`
- COMPILER_WITH_FLAGS="$TEST_CXX_COMPILER $TEST_COMPILER_CXXFLAGS"
- COMPILER_WITH_FLAGS=`echo "$COMPILER_WITH_FLAGS" | sed -e "s%\\$\\$QMAKE_CFLAGS%$TEST_COMPILER_CFLAGS%"`
- if "$unixtests/objcopy.test" "$COMPILER_WITH_FLAGS" "$OPT_VERBOSE"; then
+ TEST_OBJCOPY=`getQMakeConf "$XQMAKESPEC" | grep "^QMAKE_OBJCOPY" | sed "s%.* *= *\(.*\)$%\1%" | tail -1`
+ COMPILER_WITH_FLAGS="$TEST_COMPILER $TEST_COMPILER_CXXFLAGS"
+ COMPILER_WITH_FLAGS=`echo "$COMPILER_WITH_FLAGS" | sed -e "s%\\$\\$QMAKE_CFLAGS%$TEST_COMPILER_CFLAGS%g"`
+ if "$unixtests/objcopy.test" "$COMPILER_WITH_FLAGS" "$TEST_OBJCOPY" "$OPT_VERBOSE"; then
CFG_SEPARATE_DEBUG_INFO=no
else
case "$PLATFORM" in
@@ -2378,7 +2612,7 @@ fi
# embedded
if [ "$PLATFORM_QWS" = "yes" ]; then
- # No OpenGL by default for Qtopia Core
+ # No OpenGL by default for Qt Embedded
if [ "$CFG_OPENGL" = "auto" ]; then
CFG_OPENGL=no
fi
@@ -2413,9 +2647,9 @@ if [ -z "$QT_INSTALL_PREFIX" ]; then
if [ "$Edition" = "Trolltech" ]; then
QT_INSTALL_PREFIX="$outpath" # At Trolltech, we use sandboxed builds by default
elif [ "$PLATFORM_QWS" = "yes" ]; then
- QT_INSTALL_PREFIX="/usr/local/Trolltech/QtopiaCore-${QT_VERSION}"
+ QT_INSTALL_PREFIX="/usr/local/Trolltech/QtEmbedded-${QT_VERSION}"
if [ "$PLATFORM" != "$XPLATFORM" ]; then
- QT_INSTALL_PREFIX="${QT_INSTALL_PREFIX}-${ARCH}"
+ QT_INSTALL_PREFIX="${QT_INSTALL_PREFIX}-${CFG_ARCH}"
fi
else
QT_INSTALL_PREFIX="/usr/local/Trolltech/Qt-${QT_VERSION}" # the default install prefix is /usr/local/Trolltech/Qt-$QT_VERSION
@@ -2582,13 +2816,6 @@ if [ "$OPT_HELP" = "yes" ]; then
PHY="*"
PHN=" "
fi
- if [ "$CFG_SEPARATE_DEBUG_INFO" = "auto" ] || [ "$CFG_SEPARATE_DEBUG_INFO" = "yes" ]; then
- SBY="*"
- SBN=" "
- else
- SBY=" "
- SBN="*"
- fi
cat <<EOF
Usage: $relconf [-prefix <dir>] [-prefix-install] [-bindir <dir>] [-libdir <dir>]
@@ -2596,21 +2823,24 @@ Usage: $relconf [-prefix <dir>] [-prefix-install] [-bindir <dir>] [-libdir <dir
[-translationdir <dir>] [-sysconfdir <dir>] [-examplesdir <dir>]
[-demosdir <dir>] [-buildkey <key>] [-release] [-debug]
[-debug-and-release] [-shared] [-static] [-no-fast] [-fast] [-no-largefile]
- [-largefile] [-no-exceptions] [-exceptions] [-no-accessibility]
- [-accessibility] [-no-stl] [-stl] [-no-sql-<driver>] [-sql-<driver>]
- [-plugin-sql-<driver>] [-system-sqlite] [-no-qt3support] [-qt3support]
- [-platform] [-D <string>] [-I <string>] [-L <string>] [-help] [-no-zlib]
- [-qt-zlib] [-system-zlib] [-no-gif] [-qt-gif] [-no-libtiff] [-system-libtiff]
- [-no-libpng] [-qt-libpng] [-system-libpng] [-no-libmng] [-qt-libmng]
- [-system-libmng] [-no-libjpeg] [-qt-libjpeg] [-system-libjpeg] [-make <part>]
- [-no-make <part>] [-R <string>] [-l <string>] [-no-rpath] [-rpath] [-continue]
- [-verbose] [-v] [-silent] [-no-nis] [-nis] [-no-cups] [-cups] [-no-iconv]
- [-iconv] [-no-pch] [-pch] [-no-qdbus] [-qdbus] [-no-separate-debug-info]
- [-no-mmx] [-no-3dnow] [-no-sse] [-no-sse2]
- [-separate-debug-info] [-armfpa] [-no-optimized-qmake] [-optimized-qmake]
+ [-largefile] [-no-exceptions] [-exceptions] [-no-accessibility]
+ [-accessibility] [-no-stl] [-stl] [-no-sql-<driver>] [-sql-<driver>]
+ [-plugin-sql-<driver>] [-system-sqlite] [-no-qt3support] [-qt3support]
+ [-platform] [-D <string>] [-I <string>] [-L <string>] [-help]
+ [-qt-zlib] [-system-zlib] [-no-gif] [-qt-gif] [-no-libtiff] [-system-libtiff]
+ [-no-libpng] [-qt-libpng] [-system-libpng] [-no-libmng] [-qt-libmng]
+ [-system-libmng] [-no-libjpeg] [-qt-libjpeg] [-system-libjpeg] [-make <part>]
+ [-no-make <part>] [-R <string>] [-l <string>] [-no-rpath] [-rpath] [-continue]
+ [-verbose] [-v] [-silent] [-no-nis] [-nis] [-no-cups] [-cups] [-no-iconv]
+ [-iconv] [-no-pch] [-pch] [-no-dbus] [-dbus] [-dbus-linked]
+ [-no-separate-debug-info] [-no-mmx] [-no-3dnow] [-no-sse] [-no-sse2]
+ [-qtnamespace <namespace>] [-separate-debug-info] [-armfpa]
+ [-no-optimized-qmake] [-optimized-qmake] [-no-xmlpatterns] [-xmlpatterns]
+ [-no-phonon] [-phonon] [-no-svg] [-svg] [-no-webkit] [-webkit]
+ [-no-assistant-webkit] [-assistant-webkit]
[additional platform specific options (see below)]
-
+
Installation options:
@@ -2651,7 +2881,7 @@ cat <<EOF
(default PREFIX/plugins)
-datadir <dir> ........ Data used by Qt programs will be installed to <dir>
(default PREFIX)
- -translationdir <dir>.. Translations of Qt programs will be installed to <dir>
+ -translationdir <dir> . Translations of Qt programs will be installed to <dir>
(default PREFIX/translations)
-sysconfdir <dir> ..... Settings used by Qt programs will be looked for in <dir>
(default PREFIX/etc/settings)
@@ -2675,7 +2905,7 @@ Configure options:
* -release ........... Compile and link Qt with debugging turned off.
-debug ............. Compile and link Qt with debugging turned on.
-debug-and-release . Compile and link two versions of Qt, with and without
- debugging turned on. [Mac only]
+ debugging turned on (Mac only).
* -shared ............ Create and use shared Qt libraries.
-static ............ Create and use static Qt libraries.
@@ -2686,8 +2916,8 @@ Configure options:
library and subdirectory targets. All other Makefiles
are created as wrappers, which will in turn run qmake.
- -no-largefile....... Disables large file support.
- + -largefile.......... Enables Qt to access files larger than 4 GB.
+ -no-largefile ...... Disables large file support.
+ + -largefile ......... Enables Qt to access files larger than 4 GB.
EOF
if [ "$PLATFORM_QWS" = "yes" ]; then
@@ -2697,13 +2927,14 @@ else
EXCN=" "
EXCY="*"
fi
-if [ "$CFG_QDBUS" = "no" ]; then
+if [ "$CFG_DBUS" = "no" ]; then
DBY=" "
DBN="+"
else
DBY="+"
DBN=" "
fi
+
cat << EOF
$EXCN -no-exceptions ..... Disable exceptions on compilers that support it.
$EXCY -exceptions ........ Enable exceptions on compilers that support it.
@@ -2728,6 +2959,27 @@ fi
-no-qt3support ..... Disables the Qt 3 support functionality.
* -qt3support ........ Enables the Qt 3 support functionality.
+ -no-xmlpatterns..... Do not build the QtXmlPatterns module.
+ + -xmlpatterns........ Build the QtXmlPatterns module.
+ QtXmlPatterns is built if a decent C++ compiler
+ is used and exceptions are enabled.
+
+ -no-phonon ......... Do not build the Phonon module.
+ + -phonon ............ Build the Phonon module.
+ Phonon is built if a decent C++ compiler is used.
+
+ -no-svg ............ Do not build the SVG module.
+ + -svg ............... Build the SVG module.
+
+ -no-webkit ......... Do not build the WebKit module.
+ + -webkit ............ Build the WebKit module.
+ WebKit is built if a decent C++ compiler is used.
+
+ * -no-assistant-webkit Do not use WebKit as the html rendering engine in
+ Assistant.
+ -assistant-webkit Use WebKit as html rendering engine in Assistant.
+ This is only available if the WebKit module is built.
+
-platform target ... The operating system and compiler you are building
on ($PLATFORM).
@@ -2739,6 +2991,9 @@ fi
-no-sse ............ Do not compile with use of SSE instructions.
-no-sse2 ........... Do not compile with use of SSE2 instructions.
+ -qtnamespace <name> Wraps all Qt library code in 'namespace <name> {...}'.
+ -qtlibinfix <infix> Renames all libQt*.so to libQt*<infix>.so.
+
-D <string> ........ Add an explicit define to the preprocessor.
-I <string> ........ Add an explicit include path.
-L <string> ........ Add an explicit library path.
@@ -2747,7 +3002,6 @@ fi
Third Party Libraries:
- -no-zlib ........... Do not compile in ZLIB support. Implies -no-libpng.
-qt-zlib ........... Use the zlib bundled with Qt.
+ -system-zlib ....... Use zlib from the operating system.
See http://www.gzip.org/zlib
@@ -2777,7 +3031,8 @@ Third Party Libraries:
See http://www.ijg.org
-no-openssl ........ Do not compile support for OpenSSL.
- + -openssl ........... Use OpenSSL from the operating system.
+ + -openssl ........... Enable run-time OpenSSL support.
+ -openssl-linked .... Enabled linked OpenSSL support.
Additional options:
@@ -2795,7 +3050,7 @@ Additional options:
install path as a runtime library path. Equivalent
to -R install_libpath
- -continue........... Continue as far as possible if an error occurs.
+ -continue .......... Continue as far as possible if an error occurs.
-verbose, -v ....... Print verbose information about each step of the
configure process.
@@ -2809,24 +3064,51 @@ Additional options:
$NSN -no-nis ............ Do not compile NIS support.
$NSY -nis ............... Compile NIS support.
- $CUN -no-cups............ Do not compile CUPS support.
+ $CUN -no-cups ........... Do not compile CUPS support.
$CUY -cups .............. Compile CUPS support.
- $CIN -no-iconv........... Do not compile support for iconv(3).
- $CIY -iconv.............. Compile support for iconv(3).
+ $CIN -no-iconv .......... Do not compile support for iconv(3).
+ $CIY -iconv ............. Compile support for iconv(3).
$PHN -no-pch ............ Do not use precompiled header support.
$PHY -pch ............... Use precompiled header support.
- $DBN -no-qdbus........... Do not compile the QtDBus module.
- $DBY -qdbus.............. Compile the QtDBus module.
+ $DBN -no-dbus ........... Do not compile the QtDBus module.
+ $DBY -dbus .............. Compile the QtDBus module and dynamically load libdbus-1.
+ -dbus-linked........ Compile the QtDBus module and link to libdbus-1.
+
+ -reduce-relocations ..... Reduce relocations in the libraries through extra
+ linker optimizations (Qt/X11 and Qt for Embedded Linux only;
+ experimental; needs GNU ld >= 2.18).
+EOF
+
+if [ "$CFG_SEPARATE_DEBUG_INFO" = "auto" ]; then
+ if [ "$QT_CROSS_COMPILE" = "yes" ]; then
+ SBY=""
+ SBN="*"
+ else
+ SBY="*"
+ SBN=" "
+ fi
+elif [ "$CFG_SEPARATE_DEBUG_INFO" = "yes" ]; then
+ SBY="*"
+ SBN=" "
+else
+ SBY=" "
+ SBN="*"
+fi
+
+if [ "$PLATFORM_X11" = "yes" -o "$PLATFORM_QWS" = "yes" ]; then
- -reduce-relocations ... Reduce relocations in the libraries through extra linker
- optimizations (Qt/X11 / Qtopia/Core only;
- experimental; needs GNU ld >= 2.18)
+ cat << EOF
+
+ $SBN -no-separate-debug-info . Do not store debug information in a separate file.
+ $SBY -separate-debug-info .... Strip debug information into a separate .debug file.
EOF
+fi # X11/QWS
+
if [ "$PLATFORM_X11" = "yes" ]; then
if [ "$CFG_SM" = "no" ]; then
SMY=" "
@@ -2905,9 +3187,9 @@ Qt/X11 only:
* -no-nas-sound ...... Do not compile in NAS sound support.
-system-nas-sound .. Use NAS libaudio from the operating system.
See http://radscan.com/nas.html
-
- -no-opengl.......... Do not support OpenGL.
- + -opengl............. Enable OpenGL support.
+
+ -no-opengl ......... Do not support OpenGL.
+ + -opengl ............ Enable OpenGL support.
$SMN -no-sm ............. Do not support X Session Management.
$SMY -sm ................ Support X Session Management, links in -lSM -lICE.
@@ -2919,14 +3201,23 @@ Qt/X11 only:
$XRN -no-xinerama ....... Do not compile Xinerama (multihead) support.
$XRY -xinerama .......... Compile Xinerama support.
Requires X11/extensions/Xinerama.h and libXinerama.
+ By default, Xinerama support will be compiled if
+ available and the shared libraries are dynamically
+ loaded at runtime.
$XCN -no-xcursor ........ Do not compile Xcursor support.
$XCY -xcursor ........... Compile Xcursor support.
Requires X11/Xcursor/Xcursor.h and libXcursor.
+ By default, Xcursor support will be compiled if
+ available and the shared libraries are dynamically
+ loaded at runtime.
$XCN -no-xfixes ......... Do not compile Xfixes support.
$XCY -xfixes ............ Compile Xfixes support.
Requires X11/extensions/Xfixes.h and libXfixes.
+ By default, Xfixes support will be compiled if
+ available and the shared libraries are dynamically
+ loaded at runtime.
$XZN -no-xrandr ......... Do not compile Xrandr (resize and rotate) support.
$XZY -xrandr ............ Compile Xrandr support.
@@ -2949,9 +3240,6 @@ Qt/X11 only:
$XKN -no-xkb ............ Do not compile XKB (X KeyBoard extension) support.
$XKY -xkb ............... Compile XKB support.
- $SBN -no-separate-debug-info Do not store debug information in a separate file
- $SBY -separate-debug-info Strip debug information into a separate .debug file
-
EOF
fi
@@ -2975,7 +3263,8 @@ Qt/Mac only:
-arch <arch> ....... Build Qt for <arch>
Example values for <arch>: x86 ppc x86_64 ppc64
- -sdk <sdk>.......... Build Qt using Apple provided SDK <sdk>.
+ -sdk <sdk> ......... Build Qt using Apple provided SDK <sdk>. This option requires gcc 4.
+ To use a different SDK with gcc 3.3, set the SDKROOT environment variable.
EOF
fi
@@ -2983,7 +3272,7 @@ fi
if [ "$PLATFORM_QWS" = "yes" ]; then
cat << EOF
-Qtopia Core only:
+Qt for Embedded Linux only:
-xplatform target ... The target platform when cross-compiling.
@@ -2991,7 +3280,7 @@ Qtopia Core only:
-feature-<feature> .. Compile in <feature>. The available features
are described in src/corelib/global/qfeatures.txt
- -embedded <arch>..... This will enable the embedded build, you must have a
+ -embedded <arch> .... This will enable the embedded build, you must have a
proper license for this switch to work.
Example values for <arch>: arm mips x86 generic
@@ -3004,6 +3293,9 @@ Qtopia Core only:
-little-endian ...... Target platform is little endian (LSB first).
-big-endian ......... Target platform is big endian (MSB first).
+ -host-little-endian . Host platform is little endian (LSB first).
+ -host-big-endian .... Host platform is big endian (MSB first).
+
You only need to specify the endianness when
cross-compiling, otherwise the host
endianness will be used.
@@ -3017,7 +3309,7 @@ Qtopia Core only:
default ($CFG_QCONFIG).
-depths <list> ...... Comma-separated list of supported bit-per-pixel
- depths, from: 1, 4, 8, 16, 18, 24, and 32.
+ depths, from: 1, 4, 8, 12, 15, 16, 18, 24, 32 and 'all'.
-qt-decoration-<style> ....Enable a decoration <style> in the QtGui library,
by default all available decorations are on.
@@ -3037,19 +3329,24 @@ Qtopia Core only:
Possible values for <driver>: [ $CFG_GFX_AVAILABLE ]
-qt-kbd-<driver> ... Enable a keyboard <driver> in the QtGui library.
- -no-kbd-<driver> ... Disable keyboard <driver> entirely.
+ Possible values for <driver>: [ $CFG_KBD_AVAILABLE ]
+ -plugin-kbd-<driver> Enable keyboard <driver> as a plugin to be linked to
+ at runtime.
+ Possible values for <driver>: [ $CFG_KBD_PLUGIN_AVAILABLE ]
+
+ -no-kbd-<driver> ... Disable keyboard <driver> entirely.
Possible values for <driver>: [ $CFG_KBD_AVAILABLE ]
-qt-mouse-<driver> ... Enable a mouse <driver> in the QtGui library.
Possible values for <driver>: [ $CFG_MOUSE_AVAILABLE ]
- -plugin-mouse-<driver> Enable mouse <driver> as a plugin to be
- linked to at runtime.
+ -plugin-mouse-<driver> Enable mouse <driver> as a plugin to be linked to
+ at runtime.
Possible values for <driver>: [ $CFG_MOUSE_PLUGIN_AVAILABLE ]
-no-mouse-<driver> ... Disable mouse <driver> entirely.
Possible values for <driver>: [ $CFG_MOUSE_AVAILABLE ]
- -iwmmxt............. Compile using the iWMMXt instruction set
+ -iwmmxt ............ Compile using the iWMMXt instruction set
(available on some XScale CPUs).
EOF
@@ -3060,16 +3357,13 @@ if [ "$PLATFORM_QWS" = "yes" -o "$PLATFORM_X11" = "yes" ]; then
if [ "$CFG_GLIB" = "no" ]; then
GBY=" "
GBN="+"
- elif [ "$CFG_GLIB" = "yes" -o "$PLATFORM_X11" = "yes" ]; then
+ else
GBY="+"
GBN=" "
- else # auto and qtopia core
- GBY=" "
- GBN="+"
fi
cat << EOF
- $GBN -no-glib............ Do not compile Glib support.
- $GBY -glib............... Compile Glib support.
+ $GBN -no-glib ........... Do not compile Glib support.
+ $GBY -glib .............. Compile Glib support.
EOF
fi
@@ -3121,18 +3415,16 @@ elif [ "$Edition" = "OpenSource" ]; then
echo "You are licensed to use this software under the terms of"
echo "the GNU General Public License (GPL) versions 2 or 3."
echo
- affix="the"
+ affix="either"
elif [ "$PLATFORM_MAC" = "yes" ]; then
echo "You are licensed to use this software under the terms of"
echo "the GNU General Public License (GPL) versions 2 or 3."
echo
- affix="the"
+ affix="either"
elif [ "$PLATFORM_X11" = "yes" ]; then
- echo "You are licensed to use this software under the terms of either"
- echo "the Q Public License (QPL) or the GNU General Public License (GPL)"
- echo "versions 2 or 3"
+ echo "You are licensed to use this software under the terms of"
+ echo "the GNU General Public License (GPL) versions 2 or 3."
echo
- [ "$OPT_CONFIRM_LICENSE" = "no" ] && echo "Type 'Q' to view the Q Public License."
affix="either"
fi
if [ "$OPT_CONFIRM_LICENSE" = "yes" ]; then
@@ -3162,10 +3454,6 @@ elif [ "$Edition" = "OpenSource" ]; then
more "$relpath/LICENSE.GPL2"
elif [ "$acceptance" = "3" ]; then
more "$relpath/LICENSE.GPL3"
- elif [ "$acceptance" = "Q" -o "$acceptance" = "q" ]; then
- if [ "$PLATFORM_QWS" != "yes" ]; then
- more "$relpath/LICENSE.QPL"
- fi
fi
done
elif [ "$Edition" = "Preview" ]; then
@@ -3365,19 +3653,29 @@ esac
#-------------------------------------------------------------------------------
[ -d "$outpath/src/corelib/global" ] || mkdir -p "$outpath/src/corelib/global"
-LICENSE_USER_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_lcnsuser=$Licensee" "\\0"`
-LICENSE_PRODUCTS_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_lcnsprod=$Edition" "\\0"`
-PREFIX_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_prfxpath=$QT_INSTALL_PREFIX" "\\0"`
-DOCUMENTATION_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_docspath=$QT_INSTALL_DOCS" "\\0"`
-HEADERS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_hdrspath=$QT_INSTALL_HEADERS" "\\0"`
-LIBRARIES_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_libspath=$QT_INSTALL_LIBS" "\\0"`
-BINARIES_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_binspath=$QT_INSTALL_BINS" "\\0"`
-PLUGINS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_plugpath=$QT_INSTALL_PLUGINS" "\\0"`
-DATA_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_datapath=$QT_INSTALL_DATA" "\\0"`
-TRANSLATIONS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_trnspath=$QT_INSTALL_TRANSLATIONS" "\\0"`
-SETTINGS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_stngpath=$QT_INSTALL_SETTINGS" "\\0"`
-EXAMPLES_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_xmplpath=$QT_INSTALL_EXAMPLES" "\\0"`
-DEMOS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_demopath=$QT_INSTALL_DEMOS" "\\0"`
+PADDING="\\0"
+
+if [ "$PLATFORM_MAC" = "yes" ]; then
+ case $UNAME_RELEASE in
+ 9.*)
+ PADDING="\\\\0"
+ ;;
+ esac
+fi
+
+LICENSE_USER_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_lcnsuser=$Licensee" "$PADDING"`
+LICENSE_PRODUCTS_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_lcnsprod=$Edition" "$PADDING"`
+PREFIX_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_prfxpath=$QT_INSTALL_PREFIX" "$PADDING"`
+DOCUMENTATION_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_docspath=$QT_INSTALL_DOCS" "$PADDING"`
+HEADERS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_hdrspath=$QT_INSTALL_HEADERS" "$PADDING"`
+LIBRARIES_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_libspath=$QT_INSTALL_LIBS" "$PADDING"`
+BINARIES_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_binspath=$QT_INSTALL_BINS" "$PADDING"`
+PLUGINS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_plugpath=$QT_INSTALL_PLUGINS" "$PADDING"`
+DATA_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_datapath=$QT_INSTALL_DATA" "$PADDING"`
+TRANSLATIONS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_trnspath=$QT_INSTALL_TRANSLATIONS" "$PADDING"`
+SETTINGS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_stngpath=$QT_INSTALL_SETTINGS" "$PADDING"`
+EXAMPLES_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_xmplpath=$QT_INSTALL_EXAMPLES" "$PADDING"`
+DEMOS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_demopath=$QT_INSTALL_DEMOS" "$PADDING"`
cat > "$outpath/src/corelib/global/qconfig.cpp.new" <<EOF
/* License Info */
@@ -3386,17 +3684,17 @@ static const char qt_configure_licensed_products_str [256 + 12] = "$LICENSE_PROD
EOF
if [ ! -z "$QT_HOST_PREFIX" ]; then
- HOSTPREFIX_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_prfxpath=$QT_HOST_PREFIX" "\\0"`
- HOSTDOCUMENTATION_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_docspath=$QT_HOST_PREFIX/doc" "\\0"`
- HOSTHEADERS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_hdrspath=$QT_HOST_PREFIX/include" "\\0"`
- HOSTLIBRARIES_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_libspath=$QT_HOST_PREFIX/lib" "\\0"`
- HOSTBINARIES_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_binspath=$QT_HOST_PREFIX/bin" "\\0"`
- HOSTPLUGINS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_plugpath=$QT_HOST_PREFIX/plugins" "\\0"`
- HOSTDATA_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_datapath=$QT_HOST_PREFIX" "\\0"`
- HOSTTRANSLATIONS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_trnspath=$QT_HOST_PREFIX/translations" "\\0"`
- HOSTSETTINGS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_stngpath=$QT_INSTALL_SETTINGS" "\\0"`
- HOSTEXAMPLES_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_xmplpath=$QT_INSTALL_EXAMPLES" "\\0"`
- HOSTDEMOS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_demopath=$QT_INSTALL_DEMOS" "\\0"`
+ HOSTPREFIX_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_prfxpath=$QT_HOST_PREFIX" "$PADDING"`
+ HOSTDOCUMENTATION_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_docspath=$QT_HOST_PREFIX/doc" "$PADDING"`
+ HOSTHEADERS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_hdrspath=$QT_HOST_PREFIX/include" "$PADDING"`
+ HOSTLIBRARIES_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_libspath=$QT_HOST_PREFIX/lib" "$PADDING"`
+ HOSTBINARIES_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_binspath=$QT_HOST_PREFIX/bin" "$PADDING"`
+ HOSTPLUGINS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_plugpath=$QT_HOST_PREFIX/plugins" "$PADDING"`
+ HOSTDATA_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_datapath=$QT_HOST_PREFIX" "$PADDING"`
+ HOSTTRANSLATIONS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_trnspath=$QT_HOST_PREFIX/translations" "$PADDING"`
+ HOSTSETTINGS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_stngpath=$QT_INSTALL_SETTINGS" "$PADDING"`
+ HOSTEXAMPLES_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_xmplpath=$QT_INSTALL_EXAMPLES" "$PADDING"`
+ HOSTDEMOS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_demopath=$QT_INSTALL_DEMOS" "$PADDING"`
cat >> "$outpath/src/corelib/global/qconfig.cpp.new" <<EOF
@@ -3574,7 +3872,7 @@ if false; then ###[ '!' -f "$outpath/bin/qmake" ];
EXTRA_CFLAGS="\$(QMAKE_CFLAGS)"
EXTRA_CXXFLAGS="\$(QMAKE_CXXFLAGS)"
EXTRA_LFLAGS="\$(QMAKE_LFLAGS)"
-
+
if [ "$PLATFORM" = "irix-cc" ] || [ "$PLATFORM" = "irix-cc-64" ]; then
EXTRA_LFLAGS="$EXTRA_LFLAGS -lm"
fi
@@ -3615,7 +3913,11 @@ if false; then ###[ '!' -f "$outpath/bin/qmake" ];
done
fi
if [ "$PLATFORM_MAC" = "yes" ]; then
- echo "export MACOSX_DEPLOYMENT_TARGET = 10.3" >>"$mkfile"
+ if [ "$PLATFORM" = "macx-icc" ]; then
+ echo "export MACOSX_DEPLOYMENT_TARGET = 10.4" >>"$mkfile"
+ else
+ echo "export MACOSX_DEPLOYMENT_TARGET = 10.3" >>"$mkfile"
+ fi
echo "CARBON_LFLAGS =-framework ApplicationServices" >>"$mkfile"
echo "CARBON_CFLAGS =-fconstant-cfstrings" >>"$mkfile"
EXTRA_LFLAGS="$EXTRA_LFLAGS \$(CARBON_LFLAGS)"
@@ -3737,6 +4039,19 @@ if [ "$CFG_IWMMXT" = "yes" ]; then
fi
# detect zlib
+if [ "$CFG_ZLIB" = "no" ]; then
+ # Note: Qt no longer support builds without zlib
+ # So we force a "no" to be "auto" here.
+ # If you REALLY really need no zlib support, you can still disable
+ # it by doing the following:
+ # add "no-zlib" to mkspecs/qconfig.pri
+ # #define QT_NO_COMPRESS (probably by adding to src/corelib/global/qconfig.h)
+ #
+ # There's no guarantee that Qt will build under those conditions
+
+ CFG_ZLIB=auto
+ ZLIB_FORCED=yes
+fi
if [ "$CFG_ZLIB" = "auto" ]; then
if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/zlib "zlib" $L_FLAGS $I_FLAGS $l_FLAGS; then
CFG_ZLIB=system
@@ -3830,7 +4145,7 @@ for _SQLDR in $CFG_SQL_AVAILABLE; do
QT_CFLAGS_MYSQL=`$CFG_MYSQL_CONFIG --include 2>/dev/null`
QT_LFLAGS_MYSQL_R=`$CFG_MYSQL_CONFIG --libs_r 2>/dev/null`
QT_LFLAGS_MYSQL=`$CFG_MYSQL_CONFIG --libs 2>/dev/null`
- QT_MYSQL_VERSION=`$CFG_MYSQL_VERSION --version 2>/dev/null`
+ QT_MYSQL_VERSION=`$CFG_MYSQL_CONFIG --version 2>/dev/null`
QT_MYSQL_VERSION_MAJOR=`echo $QT_MYSQL_VERSION | cut -d . -f 1`
fi
if [ -n "$QT_MYSQL_VERSION" ] && [ "$QT_MYSQL_VERSION_MAJOR" -lt 4 ]; then
@@ -3879,9 +4194,10 @@ for _SQLDR in $CFG_SQL_AVAILABLE; do
if "$WHICH" pg_config >/dev/null 2>&1; then
QT_CFLAGS_PSQL=`pg_config --includedir 2>/dev/null`
QT_LFLAGS_PSQL=`pg_config --libdir 2>/dev/null`
+ QT_LIBS_PSQL=`pg_config --libs 2>/dev/null`
fi
[ -z "$QT_CFLAGS_PSQL" ] || QT_CFLAGS_PSQL="-I$QT_CFLAGS_PSQL"
- [ -z "$QT_LFLAGS_PSQL" ] || QT_LFLAGS_PSQL="-L$QT_LFLAGS_PSQL"
+ [ -z "$QT_LFLAGS_PSQL" ] || QT_LFLAGS_PSQL="-L$QT_LFLAGS_PSQL $QT_LIBS_PSQL"
if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/psql "PostgreSQL" $QT_LFLAGS_PSQL $L_FLAGS $QT_CFLAGS_PSQL $I_FLAGS $l_FLAGS; then
if [ "$CFG_SQL_psql" = "auto" ]; then
CFG_SQL_psql=plugin
@@ -4019,9 +4335,9 @@ for _SQLDR in $CFG_SQL_AVAILABLE; do
if [ "$CFG_SQL_sqlite" != "no" ]; then
SQLITE_AUTODETECT_FAILED="no"
if [ "$CFG_SQLITE" = "system" ]; then
- if [ "$QT_CROSS_COMPILE" = "no" ] && $WHICH pkg-config >/dev/null 2>&1; then
- QT_CFLAGS_SQLITE=`pkg-config --cflags sqlite3`
- QT_LFLAGS_SQLITE=`pkg-config --libs sqlite3`
+ if [ -n "$PKG_CONFIG" ]; then
+ QT_CFLAGS_SQLITE=`$PKG_CONFIG --cflags sqlite3 2>/dev/null`
+ QT_LFLAGS_SQLITE=`$PKG_CONFIG --libs sqlite3 2>/dev/null`
fi
if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/sqlite "SQLite" $QT_LFLAGS_SQLITE $L_FLAGS $QT_CFLAGS_SQLITE $I_FLAGS $l_FLAGS; then
if [ "$CFG_SQL_sqlite" = "auto" ]; then
@@ -4096,9 +4412,9 @@ fi
if [ "$CFG_ICONV" != "no" ]; then
if [ "$PLATFORM_QWS" = "yes" ]; then
CFG_ICONV=no
- elif "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" "$OPT_VERBOSE" "$relpath" "$outpath" "config.tests/unix/iconv" "POSIX iconv" "$L_FLAGS" "$I_FLAGS" "$l_FLAGS"; then
+ elif "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" "$OPT_VERBOSE" "$relpath" "$outpath" "config.tests/unix/iconv" "POSIX iconv" $L_FLAGS $I_FLAGS $l_FLAGS; then
CFG_ICONV=yes
- elif "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" "$OPT_VERBOSE" "$relpath" "$outpath" "config.tests/unix/gnu-libiconv" "GNU libiconv" "$L_FLAGS" "$I_FLAGS" "$l_FLAGS"; then
+ elif "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" "$OPT_VERBOSE" "$relpath" "$outpath" "config.tests/unix/gnu-libiconv" "GNU libiconv" $L_FLAGS $I_FLAGS $l_FLAGS; then
CFG_ICONV=gnu
else
if [ "$CFG_ICONV" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
@@ -4114,25 +4430,26 @@ if [ "$CFG_ICONV" != "no" ]; then
fi
# auto-detect libdbus-1 support
-if [ "$CFG_QDBUS" != "no" ]; then
- if [ "$QT_CROSS_COMPILE" = "no" ] && "$WHICH" pkg-config >/dev/null 2>&1 && \
- pkg-config --atleast-version="$MIN_DBUS_1_VERSION" dbus-1 2>/dev/null; then
- QT_CFLAGS_DBUS=`pkg-config --cflags dbus-1`
- QT_LIBS_DBUS=`pkg-config --libs dbus-1`
+if [ "$CFG_DBUS" != "no" ]; then
+ if [ -n "$PKG_CONFIG" ] && $PKG_CONFIG --atleast-version="$MIN_DBUS_1_VERSION" dbus-1 2>/dev/null; then
+ QT_CFLAGS_DBUS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
+ QT_LIBS_DBUS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
fi
if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/dbus "D-Bus" $L_FLAGS $I_FLAGS $l_FLAGS $QT_CFLAGS_DBUS $QT_LIBS_DBUS; then
- CFG_QDBUS=yes
+ [ "$CFG_DBUS" = "auto" ] && CFG_DBUS=yes
QMakeVar set QT_CFLAGS_DBUS "$QT_CFLAGS_DBUS"
QMakeVar set QT_LIBS_DBUS "$QT_LIBS_DBUS"
else
- if [ "$CFG_QDBUS" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
+ if [ "$CFG_DBUS" = "auto" ]; then
+ CFG_DBUS=no
+ elif [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
+ # CFG_DBUS is "yes" or "linked" here
+
echo "The QtDBus module cannot be enabled because libdbus-1 version $MIN_DBUS_1_VERSION was not found."
echo " Turn on verbose messaging (-v) to $0 to see the final report."
echo " If you believe this message is in error you may use the continue"
echo " switch (-continue) to $0 to continue."
exit 101
- else
- CFG_QDBUS=no
fi
fi
fi
@@ -4162,7 +4479,9 @@ if [ "$PLATFORM_X11" = "yes" ]; then
# auto-detect Xcursor support
if [ "$CFG_XCURSOR" != "no" ]; then
if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/x11/xcursor "Xcursor" $L_FLAGS $I_FLAGS $l_FLAGS $X11TESTS_FLAGS; then
- CFG_XCURSOR=yes
+ if [ "$CFG_XCURSOR" != "runtime" ]; then
+ CFG_XCURSOR=yes;
+ fi
else
if [ "$CFG_XCURSOR" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
echo "Xcursor support cannot be enabled due to functionality tests!"
@@ -4179,7 +4498,9 @@ if [ "$PLATFORM_X11" = "yes" ]; then
# auto-detect Xfixes support
if [ "$CFG_XFIXES" != "no" ]; then
if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/x11/xfixes "Xfixes" $L_FLAGS $I_FLAGS $X11TESTS_FLAGS; then
- CFG_XFIXES=yes
+ if [ "$CFG_XFIXES" != "runtime" ]; then
+ CFG_XFIXES=yes;
+ fi
else
if [ "$CFG_XFIXES" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
echo "Xfixes support cannot be enabled due to functionality tests!"
@@ -4283,7 +4604,9 @@ if [ "$PLATFORM_X11" = "yes" ]; then
# auto-detect Xinerama support
if [ "$CFG_XINERAMA" != "no" ]; then
if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/x11/xinerama "Xinerama" $L_FLAGS $I_FLAGS $l_FLAGS $X11TESTS_FLAGS; then
- CFG_XINERAMA=yes
+ if [ "$CFG_XINERAMA" != "runtime" ]; then
+ CFG_XINERAMA=yes
+ fi
else
if [ "$CFG_XINERAMA" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
echo "Xinerama support cannot be enabled due to functionality tests!"
@@ -4335,14 +4658,10 @@ fi # X11
if [ "$PLATFORM_X11" = "yes" -o "$PLATFORM_QWS" = "yes" ]; then
# auto-detect Glib support
- if [ "$PLATFORM_QWS" = "yes" -a "$CFG_GLIB" = "auto" ]; then
- CFG_GLIB="no"
- fi
-
if [ "$CFG_GLIB" != "no" ]; then
- if [ "$QT_CROSS_COMPILE" = "no" ] && "$WHICH" pkg-config >/dev/null 2>&1; then
- QT_CFLAGS_GLIB=`pkg-config --cflags glib-2.0 gthread-2.0`
- QT_LIBS_GLIB=`pkg-config --libs glib-2.0 gthread-2.0`
+ if [ -n "$PKG_CONFIG" ]; then
+ QT_CFLAGS_GLIB=`$PKG_CONFIG --cflags glib-2.0 gthread-2.0 2>/dev/null`
+ QT_LIBS_GLIB=`$PKG_CONFIG --libs glib-2.0 gthread-2.0 2>/dev/null`
fi
if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/glib "Glib" $L_FLAGS $I_FLAGS $l_FLAGS $QT_CFLAGS_GLIB $QT_LIBS_GLIB $X11TESTS_FLAGS; then
CFG_GLIB=yes
@@ -4360,8 +4679,55 @@ if [ "$PLATFORM_X11" = "yes" -o "$PLATFORM_QWS" = "yes" ]; then
fi
fi
fi
+
+ if [ "$CFG_GLIB" = "yes" -a "$CFG_GSTREAMER" != "no" -a "$CFG_PHONON" != "no" ]; then
+ if [ -n "$PKG_CONFIG" ]; then
+ QT_CFLAGS_GSTREAMER=`$PKG_CONFIG --cflags gstreamer-0.10 gstreamer-plugins-base-0.10 2>/dev/null`
+ QT_LIBS_GSTREAMER=`$PKG_CONFIG --libs gstreamer-0.10 gstreamer-plugins-base-0.10 2>/dev/null`
+ fi
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/gstreamer "GStreamer" $L_FLAGS $I_FLAGS $l_FLAGS $QT_CFLAGS_GSTREAMER $QT_LIBS_GSTREAMER $X11TESTS_FLAGS; then
+ CFG_GSTREAMER=yes
+ QMakeVar set QT_CFLAGS_GSTREAMER "$QT_CFLAGS_GSTREAMER"
+ QMakeVar set QT_LIBS_GSTREAMER "$QT_LIBS_GSTREAMER"
+ else
+ if [ "$CFG_GSTREAMER" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
+ echo "Gstreamer support cannot be enabled due to functionality tests!"
+ echo " Turn on verbose messaging (-v) to $0 to see the final report."
+ echo " If you believe this message is in error you may use the continue"
+ echo " switch (-continue) to $0 to continue."
+ exit 101
+ else
+ CFG_GSTREAMER=no
+ fi
+ fi
+ elif [ "$CFG_GLIB" = "no" ]; then
+ CFG_GSTREAMER=no
+ fi
+
+ if [ "$CFG_PHONON" != "no" ]; then
+ if [ "$CFG_GSTREAMER" = "yes" ]; then
+ CFG_PHONON=yes
+ else
+ if [ "$CFG_PHONON" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
+ echo "Phonon support cannot be enabled due to functionality tests!"
+ echo " Turn on verbose messaging (-v) to $0 to see the final report."
+ echo " If you believe this message is in error you may use the continue"
+ echo " switch (-continue) to $0 to continue."
+ exit 101
+ else
+ CFG_PHONON=no
+ fi
+ fi
+ fi
fi # X11/QWS
+if [ "$PLATFORM_MAC" = "yes" ]; then
+ if [ "$CFG_PHONON" != "no" ]; then
+ # Always enable Phonon (unless it was explicitly disabled)
+ CFG_PHONON=yes
+ fi
+fi
+
# QWS
if [ "$PLATFORM_QWS" = "yes" ]; then
@@ -4374,21 +4740,60 @@ if [ "$PLATFORM_QWS" = "yes" ]; then
echo " ${XQMAKESPEC}."
exit 1
fi
-
+
fi
+ # screen drivers
+ for screen in ${CFG_GFX_ON} ${CFG_GFX_PLUGIN}; do
+ if [ "${screen}" = "ahi" ] && [ "${CFG_CONFIGURE_EXIT_ON_ERROR}" = "yes" ]; then
+ if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/qws/ahi "Ahi" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ echo "The Ahi screen driver functionality test failed!"
+ echo " You might need to modify the include and library search paths by editing"
+ echo " QMAKE_INCDIR and QMAKE_LIBDIR in"
+ echo " ${XQMAKESPEC}."
+ exit 1
+ fi
+ fi
+
+ if [ "${screen}" = "svgalib" ] && [ "${CFG_CONFIGURE_EXIT_ON_ERROR}" = "yes" ]; then
+ if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/qws/svgalib "SVGAlib" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ echo "The SVGAlib screen driver functionality test failed!"
+ echo " You might need to modify the include and library search paths by editing"
+ echo " QMAKE_INCDIR and QMAKE_LIBDIR in"
+ echo " ${XQMAKESPEC}."
+ exit 1
+ fi
+ fi
+
+ if [ "${screen}" = "directfb" ] && [ "${CFG_CONFIGURE_EXIT_ON_ERROR}" = "yes" ]; then
+ if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/qws/directfb "DirectFB" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ echo "The DirectFB screen driver functionality test failed!"
+ echo " You might need to modify the include and library search paths by editing"
+ echo " QMAKE_INCDIR and QMAKE_LIBDIR in"
+ echo " ${XQMAKESPEC}."
+ exit 1
+ fi
+ fi
+ done
+
# mouse drivers
for mouse in ${CFG_MOUSE_ON} ${CFG_MOUSE_PLUGIN}; do
if [ "${mouse}" = "tslib" ] && [ "${CFG_CONFIGURE_EXIT_ON_ERROR}" = "yes" ]; then
if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/tslib "tslib" $L_FLAGS $I_FLAGS $l_FLAGS; then
- echo "The tslib functionality test failed!"
- echo " You might need to add additional include and library search paths"
- echo " by passing the -I and -L switches to $0."
+ echo "The tslib functionality test failed!"
+ echo " You might need to modify the include and library search paths by editing"
+ echo " QMAKE_INCDIR and QMAKE_LIBDIR in"
+ echo " ${XQMAKESPEC}."
exit 1
fi
fi
done
+ # sound
+ if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/qws/sound "sound" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_SOUND"
+ fi
+
fi # QWS
# freetype support
@@ -4414,7 +4819,7 @@ if [ "$CFG_ENDIAN" = "auto" ]; then
CFG_ENDIAN="Q_BIG_ENDIAN"
else
echo
- echo "The system byte order could not be detected!"
+ echo "The target system byte order could not be detected!"
echo "Turn on verbose messaging (-v) to see the final report."
echo "You can use the -little-endian or -big-endian switch to"
echo "$0 to continue."
@@ -4423,6 +4828,27 @@ if [ "$CFG_ENDIAN" = "auto" ]; then
fi
fi
+if [ "$CFG_HOST_ENDIAN" = "auto" ]; then
+ if [ "$PLATFORM_MAC" = "yes" ]; then
+ true #leave as auto
+ else
+ "$unixtests/endian.test" "$QMAKESPEC" $OPT_VERBOSE "$relpath" "$outpath"
+ F="$?"
+ if [ "$F" -eq 0 ]; then
+ CFG_HOST_ENDIAN="Q_LITTLE_ENDIAN"
+ elif [ "$F" -eq 1 ]; then
+ CFG_HOST_ENDIAN="Q_BIG_ENDIAN"
+ else
+ echo
+ echo "The host system byte order could not be detected!"
+ echo "Turn on verbose messaging (-v) to see the final report."
+ echo "You can use the -host-little-endian or -host-big-endian switch to"
+ echo "$0 to continue."
+ exit 101
+ fi
+ fi
+fi
+
if [ "$CFG_ARMFPA" != "auto" ]; then
if [ "$CFG_ARMFPA" = "yes" ]; then
if [ "$CFG_ENDIAN" = "Q_LITTLE_ENDIAN" ]; then
@@ -4461,7 +4887,7 @@ if [ "$CFG_DOUBLEFORMAT" = "auto" ]; then
echo "The system floating point format could not be detected."
echo "This may cause data to be generated in a wrong format"
echo "Turn on verbose messaging (-v) to see the final report."
- # we do not fail on this since this is a new test, and if it fails,
+ # we do not fail on this since this is a new test, and if it fails,
# the old behavior should be correct in most cases
CFG_DOUBLEFORMAT=normal
fi
@@ -4500,13 +4926,24 @@ if [ "$CFG_IPV6" != "no" ]; then
fi
fi
+# detect POSIX clock_gettime()
+if [ "$CFG_CLOCK_GETTIME" = "auto" ]; then
+ if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/clock-gettime "POSIX clock_gettime()" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ CFG_CLOCK_GETTIME=yes
+ else
+ CFG_CLOCK_GETTIME=no
+ fi
+fi
+
# detect POSIX monotonic clocks
-if [ "$CFG_CLOCK_MONOTONIC" = "auto" ]; then
+if [ "$CFG_CLOCK_GETTIME" = "yes" ] && [ "$CFG_CLOCK_MONOTONIC" = "auto" ]; then
if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/clock-monotonic "POSIX Monotonic Clock" $L_FLAGS $I_FLAGS $l_FLAGS; then
CFG_CLOCK_MONOTONIC=yes
else
CFG_CLOCK_MONOTONIC=no
fi
+elif [ "$CFG_CLOCK_GETTIME" = "no" ]; then
+ CFG_CLOCK_MONOTONIC=no
fi
# detect mremap
@@ -4606,9 +5043,11 @@ fi
# detect OpenSSL
if [ "$CFG_OPENSSL" != "no" ]; then
if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/openssl "OpenSSL" $L_FLAGS $I_FLAGS $l_FLAGS; then
- CFG_OPENSSL=yes
+ if [ "$CFG_OPENSSL" = "auto" ]; then
+ CFG_OPENSSL=yes
+ fi
else
- if [ "$CFG_OPENSSL" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
+ if ( [ "$CFG_OPENSSL" = "yes" ] || [ "$CFG_OPENSSL" = "linked" ] ) && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
echo "OpenSSL support cannot be enabled due to functionality tests!"
echo " Turn on verbose messaging (-v) to $0 to see the final report."
echo " If you believe this message is in error you may use the continue"
@@ -4629,13 +5068,16 @@ if [ "$CFG_QWS_DEPTHS" = "prompted" -a "$PLATFORM_QWS" = "yes" ]; then
echo
echo "Choose pixel-depths to support:"
echo
- echo " 1. 1bpp black/white"
- echo " 4. 4bpp grayscale"
- echo " 8. 8bpp"
- echo " 16. 16bpp"
- echo " 18. 18bpp"
- echo " 24. 24bpp"
- echo " 32. 32bpp"
+ echo " 1. 1bpp, black/white"
+ echo " 4. 4bpp, grayscale"
+ echo " 8. 8bpp, paletted"
+ echo " 12. 12bpp, rgb 4-4-4"
+ echo " 15. 15bpp, rgb 5-5-5"
+ echo " 16. 16bpp, rgb 5-6-5"
+ echo " 18. 18bpp, rgb 6-6-6"
+ echo " 24. 24bpp, rgb 8-8-8"
+ echo " 32. 32bpp, argb 8-8-8-8 and rgb 8-8-8"
+ echo " all. All supported depths"
echo
echo "Your choices (default 8,16,32):"
read CFG_QWS_DEPTHS
@@ -4644,14 +5086,18 @@ if [ "$CFG_QWS_DEPTHS" = "prompted" -a "$PLATFORM_QWS" = "yes" ]; then
fi
fi
if [ -n "$CFG_QWS_DEPTHS" -a "$PLATFORM_QWS" = "yes" ]; then
+ if [ "$CFG_QWS_DEPTHS" = "all" ]; then
+ CFG_QWS_DEPTHS="1 4 8 12 15 16 18 24 32 generic"
+ fi
for D in `echo "$CFG_QWS_DEPTHS" | sed -e 's/,/ /g'`; do
case $D in
- 1|4|8|16|18|24|32) QCONFIG_FLAGS="$QCONFIG_FLAGS QT_QWS_DEPTH_$D";;
+ 1|4|8|12|15|16|18|24|32) QCONFIG_FLAGS="$QCONFIG_FLAGS QT_QWS_DEPTH_$D";;
+ generic) QCONFIG_FLAGS="$QCONFIG_FLAGS QT_QWS_DEPTH_GENERIC";;
esac
done
fi
-# enable dwarf2 support on Mac
+# enable dwarf2 support on Mac
if [ "$CFG_MAC_DWARF2" = "yes" ]; then
QT_CONFIG="$QT_CONFIG dwarf2"
fi
@@ -4661,6 +5107,13 @@ if [ "$CFG_QT3SUPPORT" = "yes" ]; then
QT_CONFIG="$QT_CONFIG qt3support"
fi
+# enable Phonon
+if [ "$CFG_PHONON" = "yes" ]; then
+ QT_CONFIG="$QT_CONFIG phonon"
+else
+ QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_PHONON"
+fi
+
# disable accessibility
if [ "$CFG_ACCESSIBILITY" = "no" ]; then
QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_ACCESSIBILITY"
@@ -4758,6 +5211,9 @@ fi
if [ "$CFG_IPV6" = "yes" ]; then
QT_CONFIG="$QT_CONFIG ipv6"
fi
+if [ "$CFG_CLOCK_GETTIME" = "yes" ]; then
+ QT_CONFIG="$QT_CONFIG clock-gettime"
+fi
if [ "$CFG_CLOCK_MONOTONIC" = "yes" ]; then
QT_CONFIG="$QT_CONFIG clock-monotonic"
fi
@@ -4829,10 +5285,7 @@ if [ "x$PLATFORM_MAC" = "xyes" ]; then
#never use the 3rdparty stuff.
[ "$CFG_ZLIB" = "yes" ] && CFG_ZLIB="system"
fi
-if [ "$CFG_ZLIB" = "no" ]; then
- QT_CONFIG="$QT_CONFIG no-zlib"
- QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_COMPRESS"
-elif [ "$CFG_ZLIB" = "yes" ]; then
+if [ "$CFG_ZLIB" = "yes" ]; then
QT_CONFIG="$QT_CONFIG zlib"
elif [ "$CFG_ZLIB" = "system" ]; then
QT_CONFIG="$QT_CONFIG system-zlib"
@@ -4843,9 +5296,12 @@ fi
[ "$CFG_ICONV" = "yes" ] && QT_CONFIG="$QT_CONFIG iconv"
[ "$CFG_ICONV" = "gnu" ] && QT_CONFIG="$QT_CONFIG gnu-libiconv"
[ "$CFG_GLIB" = "yes" ] && QT_CONFIG="$QT_CONFIG glib"
-[ "$CFG_QDBUS" = "yes" ] && QT_CONFIG="$QT_CONFIG qdbus"
+[ "$CFG_GSTREAMER" = "yes" ] && QT_CONFIG="$QT_CONFIG gstreamer"
+[ "$CFG_DBUS" = "yes" ] && QT_CONFIG="$QT_CONFIG dbus"
+[ "$CFG_DBUS" = "linked" ] && QT_CONFIG="$QT_CONFIG dbus dbus-linked"
[ "$CFG_NAS" = "system" ] && QT_CONFIG="$QT_CONFIG nas"
[ "$CFG_OPENSSL" = "yes" ] && QT_CONFIG="$QT_CONFIG openssl"
+[ "$CFG_OPENSSL" = "linked" ] && QT_CONFIG="$QT_CONFIG openssl-linked"
if [ "$PLATFORM_X11" = "yes" ]; then
[ "$CFG_SM" = "yes" ] && QT_CONFIG="$QT_CONFIG x11sm"
@@ -4935,7 +5391,7 @@ fi
# turn off exceptions for the compilers that support it
if [ "$PLATFORM_QWS" = "yes" ]; then
- COMPILER=`echo $PLATFORM | cut -f 3- -d-`
+ COMPILER=`echo $XPLATFORM | cut -f 3- -d-`
else
COMPILER=`echo $PLATFORM | cut -f 2- -d-`
fi
@@ -4943,6 +5399,106 @@ if [ "$CFG_EXCEPTIONS" = "unspecified" -a "$PLATFORM_QWS" = "yes" ]; then
CFG_EXCEPTIONS=no
fi
+if [ "$CFG_EXCEPTIONS" != "no" ]; then
+ QTCONFIG_CONFIG="$QTCONFIG_CONFIG exceptions"
+fi
+
+#
+# Some Qt modules are too advanced in C++ for some old compilers
+# Detect here the platforms where they are known to work.
+#
+# See Qt documentation for more information on which features are
+# supported and on which compilers.
+#
+canBuildPatternist="yes"
+canBuildWebKit="yes"
+
+# WebKit requires stdint.h
+if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/stdint "Stdint" $L_FLAGS $I_FLAGS $l_FLAGS; then
+ canBuildWebKit="no"
+fi
+
+case "$XPLATFORM" in
+ *-g++*)
+ # Check gcc's version
+ case "$(${QMAKE_CONF_COMPILER} -dumpversion)" in
+ 4*|3.4*)
+ ;;
+ 3.3*)
+ canBuildWebKit="no"
+ ;;
+ *)
+ canBuildWebKit="no"
+ canBuildPatternist="no"
+ ;;
+ esac
+ ;;
+ solaris-cc*)
+ # Check the compiler version
+ case `${QMAKE_CONF_COMPILER} -V 2>&1 | awk '{print $4}'` in
+ 5.[0123456])
+ canBuildWebKit="no"
+ canBuildPatternist="no"
+ ;;
+ 5.[78])
+ canBuildWebKit="no"
+ ;;
+ esac
+ ;;
+ hpux-acc*)
+ canBuildWebKit="no"
+ canBuildPatternist="no"
+ ;;
+ hpuxi-acc*)
+ canBuildWebKit="no"
+ ;;
+ aix-xlc*)
+ canBuildWebKit="no"
+ canBuildPatternist="no"
+ ;;
+ irix-cc*)
+ canBuildWebKit="no"
+ ;;
+esac
+
+if [ "$CFG_XMLPATTERNS" = "yes" -a "$CFG_EXCEPTIONS" = "no" ]; then
+ echo "QtXmlPatterns was requested, but it can't be built due to exceptions being disabled."
+ exit 1
+fi
+if [ "$CFG_XMLPATTERNS" = "auto" -a "$CFG_EXCEPTIONS" != "no" ]; then
+ CFG_XMLPATTERNS="$canBuildPatternist"
+elif [ "$CFG_EXCEPTIONS" = "no" ]; then
+ CFG_XMLPATTERNS="no"
+fi
+if [ "$CFG_XMLPATTERNS" = "yes" ]; then
+ QT_CONFIG="$QT_CONFIG xmlpatterns"
+else
+ QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XMLPATTERNS"
+fi
+
+if [ "$CFG_SVG" = "yes" ]; then
+ QT_CONFIG="$QT_CONFIG svg"
+else
+ QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_SVG"
+fi
+
+if [ "$CFG_WEBKIT" = "auto" ]; then
+ CFG_WEBKIT="$canBuildWebKit"
+fi
+
+if [ "$CFG_WEBKIT" = "yes" ]; then
+ QT_CONFIG="$QT_CONFIG webkit"
+ # The reason we set CFG_WEBKIT, is such that the printed overview of what will be enabled, shows correctly.
+ CFG_WEBKIT="yes"
+else
+ CFG_WEBKIT="no"
+ QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_WEBKIT"
+fi
+
+if [ "$CFG_ASSISTANT_WEBKIT" = "yes" ]; then
+ QT_CONFIG="$QT_CONFIG assistant_webkit"
+fi
+
if [ "$CFG_EXCEPTIONS" = "no" ]; then
case "$COMPILER" in
g++*)
@@ -4962,6 +5518,7 @@ if [ "$CFG_EXCEPTIONS" = "no" ]; then
;;
*) ;;
esac
+ QMAKE_CONFIG="$QMAKE_CONFIG exceptions_off"
fi
#-------------------------------------------------------------------------------
@@ -4973,8 +5530,7 @@ fi
case "$COMPILER" in
g++*)
# GNU C++
- QMAKE_CONF_COMPILER=`getQMakeConf | grep "^QMAKE_CXX[^_A-Z0-9]" | sed "s,.* *= *\(.*\)$,\1,"`
- COMPILER_VERSION=`${QMAKE_CONF_COMPILER} --version 2>/dev/null | sed 's,^[^0-9]*,,g'`
+ COMPILER_VERSION=`${QMAKE_CONF_COMPILER} -dumpversion 2>/dev/null`
case "$COMPILER_VERSION" in
2.95.*)
COMPILER_VERSION="2.95.*"
@@ -5105,7 +5661,14 @@ fi
rm -f .options
BUILD_OPTIONS="$BUILD_CONFIG $BUILD_OPTIONS"
-QT_BUILD_KEY="$CFG_USER_BUILD_KEY $UNAME_MACHINE $UNAME_SYSTEM $COMPILER $BUILD_OPTIONS"
+if [ "$QT_CROSS_COMPILE" = "yes" ]; then
+ # extract the operating system from the XPLATFORM
+ TARGET_OPERATING_SYSTEM=`echo $XPLATFORM | cut -f 2- -d/ | cut -f -1 -d-`
+ # when cross-compiling, don't include build-host information (build key is target specific)
+ QT_BUILD_KEY="$CFG_USER_BUILD_KEY $CFG_ARCH $TARGET_OPERATING_SYSTEM $COMPILER $BUILD_OPTIONS"
+else
+ QT_BUILD_KEY="$CFG_USER_BUILD_KEY $UNAME_MACHINE $UNAME_SYSTEM $COMPILER $BUILD_OPTIONS"
+fi
# strip out leading/trailing/extra whitespace
QT_BUILD_KEY=`echo $QT_BUILD_KEY | sed -e "s, *, ,g" -e "s,^ *,," -e "s, *$,,"`
@@ -5136,7 +5699,24 @@ cat >>"$outpath/src/corelib/global/qconfig.h.new" <<EOF
/* Machine byte-order */
#define Q_BIG_ENDIAN 4321
#define Q_LITTLE_ENDIAN 1234
+
EOF
+
+echo "#ifdef QT_BOOTSTRAPPED" >>"$outpath/src/corelib/global/qconfig.h.new"
+if [ "$CFG_HOST_ENDIAN" = "auto" ]; then
+ cat >>"$outpath/src/corelib/global/qconfig.h.new" <<EOF
+#if defined(__BIG_ENDIAN__)
+# define Q_BYTE_ORDER Q_BIG_ENDIAN
+#elif defined(__LITTLE_ENDIAN__)
+# define Q_BYTE_ORDER Q_LITTLE_ENDIAN
+#else
+# error "Unable to determine byte order!"
+#endif
+EOF
+else
+ echo "#define Q_BYTE_ORDER $CFG_HOST_ENDIAN" >>"$outpath/src/corelib/global/qconfig.h.new"
+fi
+echo "#else" >>"$outpath/src/corelib/global/qconfig.h.new"
if [ "$CFG_ENDIAN" = "auto" ]; then
cat >>"$outpath/src/corelib/global/qconfig.h.new" <<EOF
#if defined(__BIG_ENDIAN__)
@@ -5144,12 +5724,13 @@ if [ "$CFG_ENDIAN" = "auto" ]; then
#elif defined(__LITTLE_ENDIAN__)
# define Q_BYTE_ORDER Q_LITTLE_ENDIAN
#else
-# message "Unable to determine byte order!"
+# error "Unable to determine byte order!"
#endif
EOF
else
echo "#define Q_BYTE_ORDER $CFG_ENDIAN" >>"$outpath/src/corelib/global/qconfig.h.new"
fi
+echo "#endif" >>"$outpath/src/corelib/global/qconfig.h.new"
if [ "$CFG_DOUBLEFORMAT" != "normal" ]; then
cat >>"$outpath/src/corelib/global/qconfig.h.new" <<EOF
@@ -5160,14 +5741,29 @@ if [ "$CFG_DOUBLEFORMAT" != "normal" ]; then
#define Q_DOUBLE_BIG_SWAPPED "32107654"
#define Q_DOUBLE_FORMAT $CFG_DOUBLEFORMAT
EOF
-fi
+fi
if [ "$CFG_ARMFPA" = "yes" ]; then
- echo "#define QT_ARMFPA" >>"$outpath/src/corelib/global/qconfig.h.new"
+ if [ "$CFG_ARCH" != "$CFG_HOST_ARCH" ]; then
+ cat >>"$outpath/src/corelib/global/qconfig.h.new" <<EOF
+#ifndef QT_BOOTSTRAPPED
+# define QT_ARMFPA
+#endif
+EOF
+ else
+ echo "#define QT_ARMFPA" >>"$outpath/src/corelib/global/qconfig.h.new"
+ fi
fi
-echo '/* Machine Architecture */' >>"$outpath/src/corelib/global/qconfig.h.new"
-ARCH_STR=`echo $ARCH | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
-echo "#define QT_ARCH_${ARCH_STR}" >>"$outpath/src/corelib/global/qconfig.h.new"
+CFG_ARCH_STR=`echo $CFG_ARCH | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+CFG_HOST_ARCH_STR=`echo $CFG_HOST_ARCH | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+cat >>"$outpath/src/corelib/global/qconfig.h.new" <<EOF
+/* Machine Architecture */
+#ifndef QT_BOOTSTRAPPED
+# define QT_ARCH_${CFG_ARCH_STR}
+#else
+# define QT_ARCH_${CFG_HOST_ARCH_STR}
+#endif
+EOF
echo '/* Compile time features */' >>"$outpath/src/corelib/global/qconfig.h.new"
[ '!' -z "$LicenseKeyExt" ] && echo "#define QT_PRODUCT_LICENSEKEY \"$LicenseKeyExt\"" >>"$outpath/src/corelib/global/qconfig.h.new"
@@ -5180,18 +5776,18 @@ if [ "$CFG_FRAMEWORK" = "yes" ]; then
echo "#define QT_MAC_FRAMEWORK_BUILD" >>"$outpath/src/corelib/global/qconfig.h.new"
fi
-if [ "$PLATFORM_MAC" = "yes" ]; then
- cat >>"$outpath/src/corelib/global/qconfig.h.new" <<EOF
-#if defined(__LP64__)
-# define QT_POINTER_SIZE 8
-#else
-# define QT_POINTER_SIZE 4
-#endif
+if [ "$PLATFORM_MAC" = "yes" ]; then
+ cat >>"$outpath/src/corelib/global/qconfig.h.new" <<EOF
+#if defined(__LP64__)
+# define QT_POINTER_SIZE 8
+#else
+# define QT_POINTER_SIZE 4
+#endif
EOF
-else
- "$unixtests/ptrsize.test" "$XQMAKESPEC" $OPT_VERBOSE "$relpath" "$outpath"
- echo "#define QT_POINTER_SIZE $?" >>"$outpath/src/corelib/global/qconfig.h.new"
-fi
+else
+ "$unixtests/ptrsize.test" "$XQMAKESPEC" $OPT_VERBOSE "$relpath" "$outpath"
+ echo "#define QT_POINTER_SIZE $?" >>"$outpath/src/corelib/global/qconfig.h.new"
+fi
echo "" >>"$outpath/src/corelib/global/qconfig.h.new"
@@ -5281,12 +5877,13 @@ QMakeVar set sql-plugins "$SQL_PLUGINS"
[ "$CFG_TABLET" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_TABLET"
[ "$CFG_IPV6" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_IPV6"
[ "$CFG_SXE" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_SXE"
-[ "$CFG_QDBUS" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_DBUS"
+[ "$CFG_DBUS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_DBUS"
# X11/Unix/Mac only configs
[ "$CFG_CUPS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_CUPS"
[ "$CFG_ICONV" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_ICONV"
[ "$CFG_GLIB" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GLIB"
+[ "$CFG_GSTREAMER" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GSTREAMER"
[ "$CFG_CLOCK_MONOTONIC" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_CLOCK_MONOTONIC"
[ "$CFG_MREMAP" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_MREMAP"
[ "$CFG_GETADDRINFO" = "no" ]&& QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GETADDRINFO"
@@ -5296,6 +5893,7 @@ QMakeVar set sql-plugins "$SQL_PLUGINS"
[ "$CFG_NAS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_NAS"
[ "$CFG_NIS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_NIS"
[ "$CFG_OPENSSL" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_OPENSSL"
+[ "$CFG_OPENSSL" = "linked" ]&& QCONFIG_FLAGS="$QCONFIG_FLAGS QT_LINKED_OPENSSL"
[ "$CFG_SM" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_SESSIONMANAGER"
[ "$CFG_XCURSOR" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XCURSOR"
@@ -5307,6 +5905,10 @@ QMakeVar set sql-plugins "$SQL_PLUGINS"
[ "$CFG_XRENDER" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_XRENDER"
[ "$CFG_XSHAPE" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_SHAPE"
+[ "$CFG_XCURSOR" = "runtime" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_RUNTIME_XCURSOR"
+[ "$CFG_XINERAMA" = "runtime" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_RUNTIME_XINERAMA"
+[ "$CFG_XFIXES" = "runtime" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_RUNTIME_XFIXES"
+
# sort QCONFIG_FLAGS for neatness if we can
[ '!' -z "$AWK" ] && QCONFIG_FLAGS=`echo $QCONFIG_FLAGS | $AWK '{ gsub(" ", "\n"); print }' | sort | uniq`
QCONFIG_FLAGS=`echo $QCONFIG_FLAGS`
@@ -5402,7 +6004,7 @@ fi
cat >>"$QTCONFIG.tmp" <<EOF
#configuration
CONFIG += $QTCONFIG_CONFIG
-QT_ARCH = $ARCH
+QT_ARCH = $CFG_ARCH
QT_EDITION = $Edition
QT_CONFIG += $QT_CONFIG
@@ -5412,6 +6014,10 @@ QT_MAJOR_VERSION = $QT_MAJOR_VERSION
QT_MINOR_VERSION = $QT_MINOR_VERSION
QT_PATCH_VERSION = $QT_PATCH_VERSION
+#namespaces
+QT_LIBINFIX = $QT_LIBINFIX
+QT_NAMESPACE = $QT_NAMESPACE
+
EOF
if [ "$CFG_RPATH" = "yes" ]; then
echo "QMAKE_RPATHDIR += \"$QT_INSTALL_LIBS\"" >> "$QTCONFIG.tmp"
@@ -5471,6 +6077,13 @@ if [ "$QT_EDITION" != "QT_EDITION_OPENSOURCE" ]; then
echo "DEFINES *= QT_EDITION=QT_EDITION_DESKTOP" >> "$CACHEFILE.tmp"
fi
+#dump in the OPENSSL_LIBS info
+if [ '!' -z "$OPENSSL_LIBS" ]; then
+ echo "OPENSSL_LIBS = $OPENSSL_LIBS" >> "$CACHEFILE.tmp"
+elif [ "$CFG_OPENSSL" = "linked" ]; then
+ echo "OPENSSL_LIBS = -lssl -lcrypto" >> "$CACHEFILE.tmp"
+fi
+
#dump in the SDK info
if [ '!' -z "$CFG_SDK" ]; then
echo "QMAKE_MAC_SDK = $CFG_SDK" >> "$CACHEFILE.tmp"
@@ -5560,7 +6173,10 @@ else
echo "Building on: $PLATFORM"
echo "Building for: $XPLATFORM"
fi
-echo "Architecture: $ARCH"
+echo "Architecture: $CFG_ARCH"
+if [ "$PLATFORM_QWS" = "yes" ]; then
+ echo "Host architecture: $CFG_HOST_ARCH"
+fi
if [ -n "$PLATFORM_NOTES" ]; then
echo "Platform notes:"
@@ -5593,10 +6209,20 @@ else
echo "Debug ............... $CFG_DEBUG"
fi
echo "Qt 3 compatibility .. $CFG_QT3SUPPORT"
-echo "QtDBus module ....... $CFG_QDBUS"
+[ "$CFG_DBUS" = "no" ] && echo "QtDBus module ....... no"
+[ "$CFG_DBUS" = "yes" ] && echo "QtDBus module ....... yes (run-time)"
+[ "$CFG_DBUS" = "linked" ] && echo "QtDBus module ....... yes (linked)"
+echo "QtXmlPatterns module $CFG_XMLPATTERNS"
+echo "Phonon module ....... $CFG_PHONON"
+echo "SVG module .......... $CFG_SVG"
+echo "WebKit module ....... $CFG_WEBKIT"
+echo "WebKit in Assistant $CFG_ASSISTANT_WEBKIT"
echo "STL support ......... $CFG_STL"
echo "PCH support ......... $CFG_PRECOMPILE"
echo "MMX/3DNOW/SSE/SSE2.. ${CFG_MMX}/${CFG_3DNOW}/${CFG_SSE}/${CFG_SSE2}"
+if [ "${CFG_ARCH}" = "arm" ]; then
+ echo "iWMMXt support ...... ${CFG_IWMMXT}"
+fi
echo "IPv6 support ........ $CFG_IPV6"
echo "IPv6 ifname support . $CFG_IPV6IFNAME"
echo "getaddrinfo support . $CFG_GETADDRINFO"
@@ -5606,6 +6232,7 @@ echo "NIS support ......... $CFG_NIS"
echo "CUPS support ........ $CFG_CUPS"
echo "Iconv support ....... $CFG_ICONV"
echo "Glib support ........ $CFG_GLIB"
+echo "GStreamer support ... $CFG_GSTREAMER"
echo "Large File support .. $CFG_LARGEFILE"
echo "GIF support ......... $CFG_GIF"
if [ "$CFG_TIFF" = "no" ]; then
@@ -5646,7 +6273,9 @@ if [ "$PLATFORM_QWS" = "yes" ]; then
echo "Decorations (qt) .... $CFG_DECORATION_ON"
echo "Decorations (plugin) $CFG_DECORATION_PLUGIN"
CFG_KBD_ON=`echo ${CFG_KBD_ON}`
- echo "Keyboard driver ..... ${CFG_KBD_ON}"
+ CFG_KBD_PLUGIN=`echo ${CFG_KBD_PLUGIN}`
+ echo "Keyboard driver (qt). ${CFG_KBD_ON}"
+ echo "Keyboard driver (plugin) ${CFG_KBD_PLUGIN}"
CFG_MOUSE_ON=`echo ${CFG_MOUSE_ON}`
CFG_MOUSE_PLUGIN=`echo ${CFG_MOUSE_PLUGIN}`
echo "Mouse driver (qt) ... $CFG_MOUSE_ON"
@@ -5676,7 +6305,13 @@ fi
[ "$CFG_SQL_sqlite2" != "no" ] && echo "SQLite 2 support .... $CFG_SQL_sqlite2"
[ "$CFG_SQL_sqlite" != "no" ] && echo "SQLite support ...... $CFG_SQL_sqlite ($CFG_SQLITE)"
-echo "OpenSSL support ..... $CFG_OPENSSL"
+OPENSSL_LINKAGE=""
+if [ "$CFG_OPENSSL" = "yes" ]; then
+ OPENSSL_LINKAGE="(run-time)"
+elif [ "$CFG_OPENSSL" = "linked" ]; then
+ OPENSSL_LINKAGE="(linked)"
+fi
+echo "OpenSSL support ..... $CFG_OPENSSL $OPENSSL_LINKAGE"
# complain about not being able to use dynamic plugins if we are using a static build
if [ "$CFG_SHARED" = "no" ]; then
@@ -5686,6 +6321,14 @@ if [ "$CFG_SHARED" = "no" ]; then
echo "or compile needed modules into the library."
echo
fi
+if [ "$CFG_OPENSSL" = "linked" ] && [ "$OPENSSL_LIBS" = "" ]; then
+ echo
+ echo "NOTE: When linking against OpenSSL, you can override the default"
+ echo "library names through OPENSSL_LIBS."
+ echo "For example:"
+ echo " ./configure -openssl-linked OPENSSL_LIBS='-L/opt/ssl/lib -lssl -lcrypto'"
+ echo
+fi
if [ "$PLATFORM_MAC" = "yes" ] && [ "$CFG_FRAMEWORK" = "yes" ] && [ "$CFG_DEBUG" = "yes" ] && [ "$CFG_DEBUG_RELEASE" = "no" ]; then
echo
echo "NOTE: Mac OS X frameworks implicitly build debug and release Qt libraries."
@@ -5859,7 +6502,7 @@ for file in .projects .projects.3; do
case $a in
*winmain/winmain.pro) continue ;;
*/qmake/qmake.pro) continue ;;
- *moc*|*rcc*|*uic*) SPEC=$QMAKESPEC ;;
+ *tools/moc*|*tools/rcc*|*tools/uic*) SPEC=$QMAKESPEC ;;
*) SPEC=$XQMAKESPEC ;;
esac
dir=`dirname $a | sed -e "s;$sepath;.;g"`
@@ -5940,15 +6583,36 @@ fi
#-------------------------------------------------------------------------------
# check for platforms that we don't yet know about
#-------------------------------------------------------------------------------
-if [ "$ARCH" = "generic" ]; then
+if [ "$CFG_ARCH" = "generic" ]; then
cat <<EOF
NOTICE: Atomic operations are not yet supported for this
architecture.
- Qt will use the 'generic' architecture instead, which will use
- non-atomic operations instead. Applications that rely on atomic
- operation support will NOT work with this library!
+ Qt will use the 'generic' architecture instead, which uses a
+ single pthread_mutex_t to protect all atomic operations. This
+ implementation is the slow (but safe) fallback implementation
+ for architectures Qt does not yet support.
+EOF
+fi
+
+#-------------------------------------------------------------------------------
+# check if the user passed the -no-zlib option, which is no longer supported
+#-------------------------------------------------------------------------------
+if [ -n "$ZLIB_FORCED" ]; then
+ which_zlib="supplied"
+ if [ "$CFG_ZLIB" = "system" ]; then
+ which_zlib="system"
+ fi
+
+cat <<EOF
+
+ NOTICE: The -no-zlib option was supplied but is no longer
+ supported.
+
+ Qt now requires zlib support in all builds, so the -no-zlib
+ option was ignored. Qt will be built using the $which_zlib
+ zlib.
EOF
fi
diff --git a/devel/qt4/files/extrapatch-configure b/devel/qt4/files/extrapatch-configure
new file mode 100644
index 000000000000..07f050b0e14c
--- /dev/null
+++ b/devel/qt4/files/extrapatch-configure
@@ -0,0 +1,51 @@
+--- configure.orig 2008-04-28 17:11:12.000000000 +0400
++++ configure 2008-06-15 11:00:20.000000000 +0400
+@@ -1887,12 +1887,6 @@
+ chmod 755 "$outpath/bin/syncqt"
+ fi
+
+- # symlink the mkspecs directory
+- mkdir -p "$outpath/mkspecs"
+- rm -f "$outpath"/mkspecs/*
+- ln -s "$relpath"/mkspecs/* "$outpath/mkspecs"
+- rm -f "$outpath/mkspecs/default"
+-
+ # symlink the doc directory
+ rm -rf "$outpath/doc"
+ ln -s "$relpath/doc" "$outpath/doc"
+@@ -1931,7 +1925,7 @@
+ # find a make command
+ if [ -z "$MAKE" ]; then
+ MAKE=
+- for mk in gmake make; do
++ for mk in make; do
+ if "$WHICH" $mk >/dev/null 2>&1; then
+ MAKE=`$WHICH $mk`
+ break
+@@ -3791,7 +3785,7 @@
+ }
+
+ # build qmake
+-if true; then ###[ '!' -f "$outpath/bin/qmake" ];
++if false; then ###[ '!' -f "$outpath/bin/qmake" ];
+ echo "Creating qmake. Please wait..."
+
+ OLD_QCONFIG_H=
+@@ -6309,7 +6303,7 @@
+ if [ -f "${relpath}/projects.pro" ]; then
+ mkfile="${outpath}/Makefile"
+ [ -f "$mkfile" ] && chmod +w "$mkfile"
+- QTDIR="$outpath" "$outpath/bin/qmake" -spec "$XQMAKESPEC" "${relpath}/projects.pro" -o "$mkfile"
++ QTDIR="$outpath" qmake-qt4 -spec "$XQMAKESPEC" "${relpath}/projects.pro" -o "$mkfile"
+ fi
+
+ # .projects -> projects to process
+@@ -6482,7 +6476,7 @@
+ echo " for $a\c"
+ fi
+
+- QMAKE="$outpath/bin/qmake"
++ QMAKE="qmake-qt4"
+ QMAKE_ARGS="$QMAKE_SWITCHES $QMAKE_SPEC_ARGS"
+ if [ "$file" = ".projects.3" ]; then
+ if echo '\c' | grep '\c' >/dev/null; then