diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-03-25 14:43:21 (GMT) |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-03-25 14:43:21 (GMT) |
commit | ceda1f6dc0bafae2516496b54c76c3b89c079951 (patch) | |
tree | fa930961b69b5b61b4d5f14fb75bab7892e8f90f | |
parent | af617c319772a34115d0c4d802f25a807cb43065 (diff) | |
download | Qt-ceda1f6dc0bafae2516496b54c76c3b89c079951.zip Qt-ceda1f6dc0bafae2516496b54c76c3b89c079951.tar.gz Qt-ceda1f6dc0bafae2516496b54c76c3b89c079951.tar.bz2 |
Make QtUiTools use the lib-infix passed to configure.
Patch contributed by OpenEmbedded project.
Reviewed-by: hjk
Task-number: QTBUG-7169
-rw-r--r-- | mkspecs/features/uitools.prf | 6 | ||||
-rw-r--r-- | tools/designer/src/uitools/uitools.pro | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/mkspecs/features/uitools.prf b/mkspecs/features/uitools.prf index 2d14b04..6599577 100644 --- a/mkspecs/features/uitools.prf +++ b/mkspecs/features/uitools.prf @@ -3,11 +3,11 @@ qt:load(qt) # Include the correct version of the UiLoader library symbian: QTUITOOLS_LINKAGE = -lQtUiTools.lib -else: QTUITOOLS_LINKAGE = -lQtUiTools +else: QTUITOOLS_LINKAGE = -lQtUiTools$${QT_LIBINFIX} CONFIG(debug, debug|release) { - mac: QTUITOOLS_LINKAGE = -lQtUiTools_debug - win32: QTUITOOLS_LINKAGE = -lQtUiToolsd + mac: QTUITOOLS_LINKAGE = -lQtUiTools$${QT_LIBINFIX}_debug + win32: QTUITOOLS_LINKAGE = -lQtUiTools$${QT_LIBINFIX}d } LIBS += $$QTUITOOLS_LINKAGE diff --git a/tools/designer/src/uitools/uitools.pro b/tools/designer/src/uitools/uitools.pro index 6e0a247..be46afc 100644 --- a/tools/designer/src/uitools/uitools.pro +++ b/tools/designer/src/uitools/uitools.pro @@ -1,5 +1,5 @@ TEMPLATE = lib -TARGET = $$qtLibraryTarget(QtUiTools) +TARGET = QtUiTools QT += xml CONFIG += qt staticlib DESTDIR = ../../../../lib @@ -43,3 +43,5 @@ unix|win32-g++* { QMAKE_PKGCONFIG_DESTDIR = pkgconfig QMAKE_PKGCONFIG_REQUIRES += QtXml } + +TARGET = $$qtLibraryTarget($$TARGET$$QT_LIBINFIX) #do this towards the end |