summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/src.pro4
-rw-r--r--src/tools/tools.pro9
2 files changed, 7 insertions, 6 deletions
diff --git a/src/src.pro b/src/src.pro
index 77605a8..28dc5be 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -8,9 +8,9 @@ wince*:{
} else:symbian {
SRC_SUBDIRS += src_s60main src_corelib src_xml src_gui src_network src_sql src_testlib src_s60installs
} else {
- include(tools/tools.pro)
SRC_SUBDIRS += src_corelib src_xml src_network src_gui src_sql src_testlib
!vxworks:contains(QT_CONFIG, qt3support): SRC_SUBDIRS += src_qt3support
+ include(tools/tools.pro)
contains(QT_CONFIG, dbus):SRC_SUBDIRS += src_dbus
}
win32:SRC_SUBDIRS += src_activeqt
@@ -93,6 +93,8 @@ src_webkit.target = sub-webkit
src_sql.depends = src_corelib
src_testlib.depends = src_corelib
src_qt3support.depends = src_gui src_xml src_network src_sql
+ src_tools_idc.depends = src_corelib # target defined in tools.pro
+ src_tools_uic3.depends = src_qt3support src_xml # target defined in tools.pro
src_phonon.depends = src_gui
src_multimedia.depends = src_gui
src_tools_activeqt.depends = src_tools_idc src_gui
diff --git a/src/tools/tools.pro b/src/tools/tools.pro
index 798bd0b..7c8fb47 100644
--- a/src/tools/tools.pro
+++ b/src/tools/tools.pro
@@ -2,8 +2,8 @@ TEMPLATE = subdirs
TOOLS_SUBDIRS = src_tools_bootstrap src_tools_moc src_tools_rcc src_tools_uic
!cross_compile {
- contains(QT_CONFIG, qt3support): TOOLS_SUBDIRS += src_tools_uic3
- win32:!wince*: TOOLS_SUBDIRS += src_tools_idc
+ contains(QT_CONFIG, qt3support): SRC_SUBDIRS += src_tools_uic3
+ win32:!wince*: SRC_SUBDIRS += src_tools_idc
}
# Set subdir and respective target name
@@ -24,8 +24,6 @@ src_tools_idc.target = sub-idc
src_tools_moc.depends = src_tools_bootstrap
src_tools_rcc.depends = src_tools_bootstrap
src_tools_uic.depends = src_tools_bootstrap
-src_tools_idc.depends = src_corelib # defined in parent pro, in any, if not ignored
-src_tools_uic3.depends = src_qt3support src_xml # defined in parent pro, in any, if not ignored
# Special handling, depending on type of project, if it used debug/release or only has one configuration
EXTRA_DEBUG_TARGETS =
@@ -68,4 +66,5 @@ EXTRA_RELEASE_TARGETS =
}
}
-SUBDIRS += $$TOOLS_SUBDIRS
+SUBDIRS = $$TOOLS_SUBDIRS $$SUBDIRS
+isEqual(TARGET,tools): SUBDIRS += $$SRC_SUBDIRS