summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-12-14 11:57:13 +0100
committeraxis <qt-info@nokia.com>2011-04-27 12:05:48 +0200
commit36e174563e385a539b4b3887f339ce39e89af712 (patch)
treec463bb003cee334f56baf20b02b670d4fae03c90
parent9e22888b79e9af42c065ba9cf671a4e7f7731fdd (diff)
Some support for Qt3Support
-rw-r--r--modules/qt_qt3support.pri9
-rw-r--r--src/qt3support/qt3support.pro7
-rw-r--r--sync.profile15
3 files changed, 30 insertions, 1 deletions
diff --git a/modules/qt_qt3support.pri b/modules/qt_qt3support.pri
new file mode 100644
index 0000000..4b8c04c
--- /dev/null
+++ b/modules/qt_qt3support.pri
@@ -0,0 +1,9 @@
+QT_QT3SUPPORT_VERSION = $$QT_VERSION
+QT_QT3SUPPORT_MAJOR_VERSION = $$QT_MAJOR_VERSION
+QT_QT3SUPPORT_MINOR_VERSION = $$QT_MINOR_VERSION
+QT_QT3SUPPORT_PATCH_VERSION = $$QT_PATCH_VERSION
+
+QT.qt3support.name = Qt3Support
+QT.qt3support.includes = $$QT_MODULE_INCLUDE_BASE $$QT_MODULE_INCLUDE_BASE/Qt3Support
+QT.qt3support.libs = $$QT_MODULE_LIB_BASE
+QT.qt3support.depends = core gui
diff --git a/src/qt3support/qt3support.pro b/src/qt3support/qt3support.pro
index 1e0717d..b1ecca6 100644
--- a/src/qt3support/qt3support.pro
+++ b/src/qt3support/qt3support.pro
@@ -1,3 +1,5 @@
+load(qt_module)
+
TARGET = Qt3Support
QPRO_PWD = $$PWD
QT = core gui network sql
@@ -5,7 +7,7 @@ DEFINES += QT_BUILD_COMPAT_LIB
DEFINES += QT_NO_USING_NAMESPACE
win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x60000000
-include(../qbase.pri)
+include($$QT_SOURCE_TREE/src/qbase.pri)
DEFINES -= QT_ASCII_CAST_WARNINGS
PRECOMPILED_HEADER = other/qt_compat_pch.h
@@ -37,3 +39,6 @@ MOCDIR = .moc
CONFIG -= separate_debug_info
CONFIG += no_debug_info
+INCLUDEPATH += $$OUT_PWD/../../include \
+ $$OUT_PWD/../../include/Qt3Support \
+ $$OUT_PWD/../../include/Qt3Support/private
diff --git a/sync.profile b/sync.profile
new file mode 100644
index 0000000..af98983
--- /dev/null
+++ b/sync.profile
@@ -0,0 +1,15 @@
+%modules = ( # path to module name map
+ "Qt3Support" => "$basedir/src/qt3support",
+);
+%moduleheaders = ( # restrict the module headers to those found in relative path
+);
+%classnames = (
+);
+%mastercontent = (
+ "core" => "#include <QtCore/QtCore>\n",
+ "gui" => "#include <QtGui/QtGui>\n",
+);
+
+%modulepris = (
+ "Qt3Support" => "$basedir/modules/qt_qt3support.pri",
+);