summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2010-02-04 14:37:24 (GMT)
committerThomas Zander <t.zander@nokia.com>2010-02-04 15:22:31 (GMT)
commit09c8071d634e043b8706f876e05e6b9e37343251 (patch)
tree717495cd18b814053261e09304df9bfdd1b7fd39 /tools
parentb8705c3dd756243503fd1e469f6ac4907222b321 (diff)
downloadQt-09c8071d634e043b8706f876e05e6b9e37343251.zip
Qt-09c8071d634e043b8706f876e05e6b9e37343251.tar.gz
Qt-09c8071d634e043b8706f876e05e6b9e37343251.tar.bz2
Fix linking for armlink
using LIBS += -LanyDir is wrong as that depends on 'ld' accepting -L the correct cross-platform approach is to use QMAKE_LIBDIR += anyDir
Diffstat (limited to 'tools')
-rw-r--r--tools/assistant/tools/assistant/assistant.pro2
-rw-r--r--tools/designer/src/designer/designer.pro6
2 files changed, 3 insertions, 5 deletions
diff --git a/tools/assistant/tools/assistant/assistant.pro b/tools/assistant/tools/assistant/assistant.pro
index 1a7e874..2a654fc 100644
--- a/tools/assistant/tools/assistant/assistant.pro
+++ b/tools/assistant/tools/assistant/assistant.pro
@@ -20,7 +20,7 @@ INSTALLS += target
### Work around a qmake issue when statically linking to
### not-yet-installed plugins
-LIBS += -L$$QT_BUILD_TREE/plugins/sqldrivers
+QMAKE_LIBDIR += $$QT_BUILD_TREE/plugins/sqldrivers
HEADERS += helpviewer.h \
mainwindow.h \
diff --git a/tools/designer/src/designer/designer.pro b/tools/designer/src/designer/designer.pro
index 2050c72..8590c7b 100644
--- a/tools/designer/src/designer/designer.pro
+++ b/tools/designer/src/designer/designer.pro
@@ -14,10 +14,8 @@ INCLUDEPATH += \
../lib/uilib \
extra
-LIBS += -L../../lib \
- -L../../../../lib \
- -lQtDesignerComponents \
- -lQtDesigner
+QMAKE_LIBDIR += ../../lib ../../../../lib
+LIBS += -lQtDesignerComponents -lQtDesigner
RESOURCES += designer.qrc