diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2012-12-05 20:54:09 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-06 12:49:02 +0100 |
commit | 787373d376785af56f3ea9abc7096c2c3522b5f0 (patch) | |
tree | 45248a82a82fc92eb6b10753992a9d0fae582ec0 /src/corelib/corelib.pro | |
parent | ccea7b71142bf41d4f8e7cb413834135bfa2c81e (diff) |
export only 'host_bins' to pkg-config, rather than a random selection of tools
the "export location" of the linguist tools was just bogus, and lconvert
was missing anyway. the two dbus tools and qdoc were missing, too.
generally, it seems useless to report the paths of some random tools -
instead, just report the install location of the host binaries and let
users figure out the complete paths themselves - this should be ok, as
we decided that distributors are not supposed to do tool renaming any
more.
for the binary path just use the final location, as the files won't be
used before installation anyway. this allows us removing the scary
generic prefix replace from the pc file installs.
and as a side effect this also fixes debug_and_release builds of core
and widgets by not loading various prf files prematurely and thereby
messing up the dir replacement magic.
Task-number: QTBUG-28286
Change-Id: I99de419301fc07fb923959db4bd5cab9072d1c31
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/corelib/corelib.pro')
-rw-r--r-- | src/corelib/corelib.pro | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/src/corelib/corelib.pro b/src/corelib/corelib.pro index 46c771e6a5..1059d0defe 100644 --- a/src/corelib/corelib.pro +++ b/src/corelib/corelib.pro @@ -6,6 +6,7 @@ MODULE = core # not corelib, as per project file MODULE_CONFIG = moc resources !isEmpty(QT_NAMESPACE): MODULE_DEFINES = QT_NAMESPACE=$$QT_NAMESPACE +CONFIG += $$MODULE_CONFIG DEFINES += QT_NO_USING_NAMESPACE win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x67000000 irix-cc*:QMAKE_CXXFLAGS += -no_prelink -ptused @@ -50,29 +51,11 @@ QMAKE_DYNAMIC_LIST_FILE = $$PWD/QtCore.dynlist contains(DEFINES,QT_EVAL):include(eval.pri) -load(moc) -load(resources) +HOST_BINS = $$[QT_HOST_BINS] +host_bins.name = host_bins +host_bins.variable = HOST_BINS -moc_dir.name = moc_location -moc_dir.variable = QMAKE_MOC - -rcc_dir.name = rcc_location -rcc_dir.variable = QMAKE_RCC - -QMAKE_PKGCONFIG_VARIABLES += moc_dir rcc_dir - -# These are aliens, but Linguist installs no own module, and it fits here best. - -qtPrepareTool(QMAKE_LUPDATE, lupdate) -qtPrepareTool(QMAKE_LRELEASE, lrelease) - -lupdate_dir.name = lupdate_location -lupdate_dir.variable = QMAKE_LUPDATE - -lrelease_dir.name = lrelease_location -lrelease_dir.variable = QMAKE_LRELEASE - -QMAKE_PKGCONFIG_VARIABLES += lupdate_dir lrelease_dir +QMAKE_PKGCONFIG_VARIABLES += host_bins ctest_macros_file.input = $$PWD/Qt5CTestMacros.cmake ctest_macros_file.output = $$DESTDIR/cmake/Qt5Core/Qt5CTestMacros.cmake |