summaryrefslogtreecommitdiffstats
path: root/src/qt.pro
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-10 15:24:15 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-10 15:24:15 -0500
commitbd0f3345a938b35ce6a12f6150373b0955b8dd12 (patch)
tree7a520322212d48ebcb9fbe1087e7fca28b76185c /src/qt.pro
downloadqt3-bd0f3345a938b35ce6a12f6150373b0955b8dd12.tar.gz
qt3-bd0f3345a938b35ce6a12f6150373b0955b8dd12.zip
Add Qt3 development HEAD version
Diffstat (limited to 'src/qt.pro')
-rw-r--r--src/qt.pro208
1 files changed, 208 insertions, 0 deletions
diff --git a/src/qt.pro b/src/qt.pro
new file mode 100644
index 0000000..41908ae
--- /dev/null
+++ b/src/qt.pro
@@ -0,0 +1,208 @@
+# Qt project file
+TEMPLATE = lib
+TARGET = qt
+embedded:TARGET = qte
+VERSION = 3.3.8
+DESTDIR = $$QMAKE_LIBDIR_QT
+DLLDESTDIR = ../bin
+
+CONFIG += qt warn_on depend_includepath
+CONFIG += qmake_cache
+
+win32:!shared:CONFIG += staticlib
+
+win32-borland {
+ mng:QMAKE_CFLAGS_WARN_ON += -w-par
+ mng:QMAKE_CXXFLAGS_WARN_ON += -w-par
+ # Keep the size of the .tds file for the Qt library smaller than
+ # 34 Mbytes to avoid linking problems
+ QMAKE_CFLAGS_DEBUG += -vi -y-
+ QMAKE_CXXFLAGS_DEBUG += -vi -y-
+}
+
+linux-*:version_script {
+ QMAKE_LFLAGS += -Wl,--version-script=libqt.map
+ TARGETDEPS += libqt.map
+}
+
+KERNEL_CPP = kernel
+CANVAS_CPP = canvas
+WIDGETS_CPP = widgets
+SQL_CPP = sql
+TABLE_CPP = table
+DIALOGS_CPP = dialogs
+ICONVIEW_CPP = iconview
+NETWORK_CPP = network
+OPENGL_CPP = opengl
+TOOLS_CPP = tools
+CODECS_CPP = codecs
+WORKSPACE_CPP = workspace
+INPUTMETHOD_CPP = inputmethod
+XML_CPP = xml
+STYLES_CPP = styles
+EMBEDDED_CPP = embedded
+
+win32 {
+ contains(QT_PRODUCT,qt-internal) {
+ SQL_H = $$SQL_CPP
+ KERNEL_H = $$KERNEL_CPP
+ WIDGETS_H = $$WIDGETS_CPP
+ TABLE_H = $$TABLE_CPP
+ DIALOGS_H = $$DIALOGS_CPP
+ ICONVIEW_H = $$ICONVIEW_CPP
+ NETWORK_H = $$NETWORK_CPP
+ OPENGL_H = $$OPENGL_CPP
+ TOOLS_H = $$TOOLS_CPP
+ CODECS_H = $$CODECS_CPP
+ WORKSPACE_H = $$WORKSPACE_CPP
+ #INPUTMETHOD_H = $$INPUTMETHOD_CPP
+ XML_H = $$XML_CPP
+ CANVAS_H = $$CANVAS_CPP
+ STYLES_H = $$STYLES_CPP
+ } else {
+ WIN_ALL_H = ../include
+ SQL_H = $$WIN_ALL_H
+ KERNEL_H = $$WIN_ALL_H
+ WIDGETS_H = $$WIN_ALL_H
+ TABLE_H = $$WIN_ALL_H
+ DIALOGS_H = $$WIN_ALL_H
+ ICONVIEW_H = $$WIN_ALL_H
+ NETWORK_H = $$WIN_ALL_H
+ OPENGL_H = $$WIN_ALL_H
+ TOOLS_H = $$WIN_ALL_H
+ CODECS_H = $$WIN_ALL_H
+ WORKSPACE_H = $$WIN_ALL_H
+ #INPUTMETHOD_H = $$WIN_ALL_H
+ XML_H = $$WIN_ALL_H
+ CANVAS_H = $$WIN_ALL_H
+ STYLES_H = $$WIN_ALL_H
+ CONFIG -= incremental
+ }
+
+ CONFIG += zlib
+ INCLUDEPATH += tmp
+ !staticlib {
+ DEFINES+=QT_MAKEDLL
+ exists(qt.rc):RC_FILE = qt.rc
+ }
+}
+win32-borland:INCLUDEPATH += kernel
+
+unix {
+ CANVAS_H = $$CANVAS_CPP
+ KERNEL_H = $$KERNEL_CPP
+ WIDGETS_H = $$WIDGETS_CPP
+ SQL_H = $$SQL_CPP
+ TABLE_H = $$TABLE_CPP
+ DIALOGS_H = $$DIALOGS_CPP
+ ICONVIEW_H = $$ICONVIEW_CPP
+ NETWORK_H = $$NETWORK_CPP
+ OPENGL_H = $$OPENGL_CPP
+ TOOLS_H = $$TOOLS_CPP
+ CODECS_H = $$CODECS_CPP
+ WORKSPACE_H = $$WORKSPACE_CPP
+ INPUTMETHOD_H = $$INPUTMETHOD_CPP
+ XML_H = $$XML_CPP
+ STYLES_H = $$STYLES_CPP
+ !embedded:!mac:CONFIG += x11 x11inc
+}
+
+aix-g++ {
+ QMAKE_CFLAGS += -mminimal-toc
+ QMAKE_CXXFLAGS += -mminimal-toc
+}
+
+embedded {
+ EMBEDDED_H = $$EMBEDDED_CPP
+}
+
+DEPENDPATH += ;$$NETWORK_H;$$KERNEL_H;$$WIDGETS_H;$$INPUTMETHOD_H;$$SQL_H;$$TABLE_H;$$DIALOGS_H;
+DEPENDPATH += $$ICONVIEW_H;$$OPENGL_H;$$TOOLS_H;$$CODECS_H;$$WORKSPACE_H;$$XML_H;
+DEPENDPATH += $$CANVAS_H;$$STYLES_H
+embedded:DEPENDPATH += ;$$EMBEDDED_H
+
+thread {
+ !win32-borland:TARGET = qt-mt
+ win32-borland:TARGET = qtmt
+ embedded:TARGET = qte-mt
+ DEFINES += QT_THREAD_SUPPORT
+}
+
+!cups:DEFINES += QT_NO_CUPS
+
+!nis:DEFINES += QT_NO_NIS
+
+largefile {
+ unix:!darwin:DEFINES += _LARGEFILE_SOURCE _LARGE_FILES _FILE_OFFSET_BITS=64
+}
+
+#here for compatability, should go away ####
+include($$KERNEL_CPP/qt_compat.pri)
+
+#platforms
+x11:include($$KERNEL_CPP/qt_x11.pri)
+mac:include($$KERNEL_CPP/qt_mac.pri)
+win32:include($$KERNEL_CPP/qt_win.pri)
+embedded:include($$KERNEL_CPP/qt_qws.pri)
+
+#modules
+include($$KERNEL_CPP/qt_kernel.pri)
+include($$WIDGETS_CPP/qt_widgets.pri)
+include($$DIALOGS_CPP/qt_dialogs.pri)
+include($$ICONVIEW_CPP/qt_iconview.pri)
+include($$WORKSPACE_CPP/qt_workspace.pri)
+include($$INPUTMETHOD_CPP/qt_inputmethod.pri)
+include($$NETWORK_CPP/qt_network.pri)
+include($$CANVAS_CPP/qt_canvas.pri)
+include($$TABLE_CPP/qt_table.pri)
+include($$XML_CPP/qt_xml.pri)
+include($$OPENGL_CPP/qt_opengl.pri)
+include($$SQL_CPP/qt_sql.pri)
+include($$KERNEL_CPP/qt_gfx.pri)
+include($$TOOLS_CPP/qt_tools.pri)
+include($$CODECS_CPP/qt_codecs.pri)
+include($$STYLES_CPP/qt_styles.pri)
+embedded:include($$EMBEDDED_CPP/qt_embedded.pri)
+
+# qconfig.cpp
+exists($$QT_BUILD_TREE/src/tools/qconfig.cpp) {
+ SOURCES += $$QT_BUILD_TREE/src/tools/qconfig.cpp
+}
+
+#install directives
+include(qt_install.pri)
+!staticlib:PRL_EXPORT_DEFINES += QT_SHARED
+
+unix {
+ CONFIG += create_libtool create_pc
+ QMAKE_PKGCONFIG_LIBDIR = $$target.path
+ QMAKE_PKGCONFIG_INCDIR = $$headers.path
+}
+
+unix {
+ # Debian - compile __debian_export_symbols.cpp with -fno-inline
+ debian_no_inline.output = .obj/${QMAKE_FILE_BASE}.o
+ debian_no_inline.commands = $(CXX) -c $(CXXFLAGS) $(INCPATH) -fno-inline ${QMAKE_FILE_NAME} -o ${QMAKE_FILE_OUT}
+ debian_no_inline.input = DEBIAN_NO_INLINE
+ QMAKE_EXTRA_UNIX_COMPILERS += debian_no_inline
+
+ DEBIAN_NO_INLINE = __debian_export_symbols.cpp
+}
+
+wince-* {
+ CONFIG -= incremental
+ message( ...removing plugin stuff... (not permanent) )
+ HEADERS -= $$TOOLS_CPP/qcomlibrary.h \
+ $$KERNEL_CPP/qgplugin.h \
+ $$KERNEL_CPP/qimageformatplugin.h \
+ $$STYLES_CPP/qstyleplugin.h \
+ $$CODECS_CPP/qtextcodecplugin.h \
+ $$WIDGETS_CPP/qwidgetplugin.h
+
+ SOURCES -= $$TOOLS_CPP/qcomlibrary.cpp \
+ $$KERNEL_CPP/qgplugin.cpp \
+ $$KERNEL_CPP/qimageformatplugin.cpp \
+ $$STYLES_CPP/qstyleplugin.cpp \
+ $$CODECS_CPP/qtextcodecplugin.cpp \
+ $$WIDGETS_CPP/qwidgetplugin.cpp
+}