summaryrefslogtreecommitdiffstats
path: root/src/moc/moc.pro
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-08 12:31:36 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-08 12:31:36 -0600
commitd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (patch)
tree6e3dcca4f77e20ec8966c666aac7c35bd4704053 /src/moc/moc.pro
downloadtqt3-d796c9dd933ab96ec83b9a634feedd5d32e1ba3f.tar.gz
tqt3-d796c9dd933ab96ec83b9a634feedd5d32e1ba3f.zip
Test conversion to TQt3 from Qt3 8c6fc1f8e35fd264dd01c582ca5e7549b32ab731
Diffstat (limited to 'src/moc/moc.pro')
-rw-r--r--src/moc/moc.pro65
1 files changed, 65 insertions, 0 deletions
diff --git a/src/moc/moc.pro b/src/moc/moc.pro
new file mode 100644
index 000000000..da95b173c
--- /dev/null
+++ b/src/moc/moc.pro
@@ -0,0 +1,65 @@
+TEMPLATE = app
+TARGET = moc
+
+CONFIG = console release qtinc yacc lex_included yacc_no_name_mangle
+DEFINES += QT_MOC QT_NO_CODECS QT_LITE_UNICODE QT_NO_COMPONENT \
+ QT_NO_STL QT_NO_COMPRESS
+win32:DEFINES += QT_NODLL
+DESTDIR = ../../bin
+
+
+INCLUDEPATH += $$QT_SOURCE_TREE/include ../tools .
+DEPENDPATH += $$QT_SOURCE_TREE/include ../tools .
+LIBS =
+OBJECTS_DIR = .
+SOURCES = ../tools/qbuffer.cpp \
+ ../tools/qptrcollection.cpp \
+ ../tools/qcstring.cpp \
+ ../tools/qdatastream.cpp \
+ ../tools/qdatetime.cpp \
+ ../tools/qfile.cpp \
+ ../tools/qdir.cpp \
+ ../tools/qfileinfo.cpp \
+ ../tools/qgarray.cpp \
+ ../tools/qgdict.cpp \
+ ../tools/qglist.cpp \
+ ../tools/qglobal.cpp \
+ ../tools/qgvector.cpp \
+ ../tools/qiodevice.cpp \
+ ../tools/qregexp.cpp \
+ ../tools/qstring.cpp \
+ ../tools/qlocale.cpp \
+ ../tools/qunicodetables.cpp \
+ ../tools/qstringlist.cpp \
+ ../tools/qtextstream.cpp \
+ ../tools/qbitarray.cpp \
+ ../tools/qmap.cpp \
+ ../tools/qgcache.cpp \
+ ../codecs/qtextcodec.cpp \
+ ../codecs/qutfcodec.cpp
+
+isEmpty(QT_PRODUCT)|contains(QT_PRODUCT, qt-internal) {
+ LEXSOURCES = moc.l
+ YACCSOURCES = moc.y
+} else {
+ SOURCES += moc_yacc.cpp
+}
+
+unix:SOURCES += ../tools/qfile_unix.cpp ../tools/qdir_unix.cpp ../tools/qfileinfo_unix.cpp
+win32:SOURCES += ../tools/qfile_win.cpp ../tools/qdir_win.cpp ../tools/qfileinfo_win.cpp
+macx:LIBS += -framework Carbon
+
+target.path=$$bins.path
+INSTALLS += target
+
+*-mwerks {
+ TEMPLATE = lib
+ TARGET = McMoc
+ CONFIG -= static
+ CONFIG += shared plugin
+ DEFINES += MOC_MWERKS_PLUGIN
+ MWERKSDIR = $QT_SOURCE_TREE/util/mwerks_plugin
+ INCLUDEPATH += $$MWERKSDIR/Headers
+ LIBS += $$MWERKSDIR/Libraries/PluginLib4.shlb
+ SOURCES += mwerks_mac.cpp
+}