e28271bff4
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2776 6952d904-891a-0410-993b-d76249ca496b
115 lines
3.6 KiB
Prolog
115 lines
3.6 KiB
Prolog
TEMPLATE = app
|
|
QT = xml core
|
|
CONFIG += warn_on console no_batch
|
|
CONFIG -= app_bundle
|
|
build_all:!build_pass {
|
|
CONFIG -= build_all
|
|
CONFIG += release
|
|
}
|
|
|
|
unix:!contains(QT_CONFIG, zlib):LIBS += -lz
|
|
|
|
TARGET = uic
|
|
DESTDIR = ../../../bin
|
|
|
|
DEFINES += QT_BOOTSTRAPPED QT_UIC QT_LITE_UNICODE QT_NO_DATASTREAM \
|
|
QT_NO_THREAD QT_NO_QOBJECT QT_NO_UNICODETABLES QT_NO_LIBRARY \
|
|
QT_NO_SYSTEMLOCALE QT_NO_GEOM_VARIANT
|
|
DEFINES += QT_NO_USING_NAMESPACE
|
|
DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII
|
|
|
|
win32:DEFINES += QT_NODLL
|
|
win32:LIBS += -luser32
|
|
|
|
!contains(QT_CONFIG, qt3support):DEFINES += QT_NO_QT3_SUPPORT
|
|
|
|
CONFIG -= qt
|
|
INCLUDEPATH = ../../corelib/arch/generic $$QT_BUILD_TREE/include . \
|
|
$$QT_BUILD_TREE/include/QtCore $$QT_BUILD_TREE/include/QtXml ../../xml
|
|
DEPENDPATH += $$INCLUDEPATH ../../corelib/base ../../corelib/tools ../../corelib/io ../../corelib/codecs ../../xml
|
|
|
|
include(uic.pri)
|
|
include(cpp/cpp.pri)
|
|
|
|
HEADERS += uic.h
|
|
|
|
SOURCES += main.cpp \
|
|
uic.cpp
|
|
|
|
|
|
# Qt tools needed to link rcc
|
|
SOURCES += ../../corelib/global/qglobal.cpp \
|
|
../../corelib/global/qmalloc.cpp \
|
|
../../corelib/global/qnumeric.cpp \
|
|
../../corelib/io/qbuffer.cpp \
|
|
../../corelib/io/qdir.cpp \
|
|
../../corelib/io/qdiriterator.cpp \
|
|
../../corelib/io/qfile.cpp \
|
|
../../corelib/io/qfileinfo.cpp \
|
|
../../corelib/io/qfsfileengine.cpp \
|
|
../../corelib/io/qfsfileengine_iterator.cpp \
|
|
../../corelib/io/qiodevice.cpp \
|
|
../../corelib/io/qtemporaryfile.cpp \
|
|
../../corelib/io/qtextstream.cpp \
|
|
../../corelib/io/qurl.cpp \
|
|
../../corelib/tools/qbytearraymatcher.cpp \
|
|
../../corelib/tools/qdatetime.cpp \
|
|
../../corelib/tools/qhash.cpp \
|
|
../../corelib/tools/qlistdata.cpp \
|
|
../../corelib/tools/qlocale.cpp \
|
|
../../corelib/tools/qmap.cpp \
|
|
../../corelib/tools/qstring.cpp \
|
|
../../corelib/tools/qstringlist.cpp \
|
|
../../corelib/tools/qvector.cpp \
|
|
../../corelib/io/qabstractfileengine.cpp \
|
|
../../corelib/tools/qbytearray.cpp \
|
|
../../corelib/tools/qbitarray.cpp \
|
|
../../corelib/tools/qvsnprintf.cpp \
|
|
../../corelib/tools/qregexp.cpp \
|
|
../../corelib/kernel/qmetatype.cpp \
|
|
../../corelib/kernel/qvariant.cpp \
|
|
../../corelib/codecs/qtextcodec.cpp \
|
|
../../corelib/codecs/qutfcodec.cpp \
|
|
../../corelib/codecs/qisciicodec.cpp \
|
|
../../corelib/codecs/qtsciicodec.cpp \
|
|
../../corelib/codecs/qlatincodec.cpp \
|
|
../../corelib/codecs/qsimplecodec.cpp \
|
|
../../corelib/xml/qxmlutils.cpp \
|
|
../../corelib/xml/qxmlstream.cpp \
|
|
../../xml/dom/qdom.cpp \
|
|
../../xml/sax/qxml.cpp
|
|
|
|
unix:SOURCES += ../../corelib/io/qfsfileengine_unix.cpp ../../corelib/io/qfsfileengine_iterator_unix.cpp
|
|
|
|
win32:SOURCES += ../../corelib/io/qfsfileengine_win.cpp ../../corelib/io/qfsfileengine_iterator_win.cpp
|
|
|
|
macx: {
|
|
SOURCES += ../../corelib/kernel/qcore_mac.cpp
|
|
LIBS += -framework CoreServices
|
|
}
|
|
|
|
contains(QT_CONFIG, zlib) {
|
|
INCLUDEPATH += ../../3rdparty/zlib
|
|
SOURCES+= \
|
|
../3rdparty/zlib/adler32.c \
|
|
../3rdparty/zlib/compress.c \
|
|
../3rdparty/zlib/crc32.c \
|
|
../3rdparty/zlib/deflate.c \
|
|
../3rdparty/zlib/gzio.c \
|
|
../3rdparty/zlib/inffast.c \
|
|
../3rdparty/zlib/inflate.c \
|
|
../3rdparty/zlib/inftrees.c \
|
|
../3rdparty/zlib/trees.c \
|
|
../3rdparty/zlib/uncompr.c \
|
|
../3rdparty/zlib/zutil.c
|
|
} else:!contains(QT_CONFIG, no-zlib) {
|
|
unix:LIBS += -lz
|
|
# win32:LIBS += libz.lib
|
|
}
|
|
|
|
target.path=$$[QT_INSTALL_BINS]
|
|
INSTALLS += target
|
|
|
|
DESTDIR = ../../../bin
|
|
include(../../qt_targets.pri)
|