diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-08-19 11:47:26 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-08-19 11:47:26 (GMT) |
commit | a1e9064df37b4d82a239d86d1c4822b37d47f4d6 (patch) | |
tree | a5fce220dc6d533563b83368d0b2495c7252757f /tools/designer/src/components/lib | |
parent | 660a11df364615b390fc18d6e7c601eb24476948 (diff) | |
download | Qt-a1e9064df37b4d82a239d86d1c4822b37d47f4d6.zip Qt-a1e9064df37b4d82a239d86d1c4822b37d47f4d6.tar.gz Qt-a1e9064df37b4d82a239d86d1c4822b37d47f4d6.tar.bz2 |
make Qt Designer compile when Qt is configured with -no-script
Diffstat (limited to 'tools/designer/src/components/lib')
-rw-r--r-- | tools/designer/src/components/lib/lib.pro | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/designer/src/components/lib/lib.pro b/tools/designer/src/components/lib/lib.pro index 92cf387..8d0e692 100644 --- a/tools/designer/src/components/lib/lib.pro +++ b/tools/designer/src/components/lib/lib.pro @@ -64,7 +64,10 @@ PRECOMPILED_HEADER= lib_pch.h include(../../sharedcomponents.pri) include(../component.pri) -unix:QMAKE_PKGCONFIG_REQUIRES = QtCore QtDesigner QtGui QtScript QtXml +unix { + QMAKE_PKGCONFIG_REQUIRES = QtCore QtDesigner QtGui QtXml + contains(QT_CONFIG, script): QMAKE_PKGCONFIG_REQUIRES += QtScript +} target.path=$$[QT_INSTALL_LIBS] INSTALLS += target |