diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-05-13 00:33:59 (GMT) |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-05-13 00:47:04 (GMT) |
commit | dde94b1737e9860838c87d3f432cf76de3157ad7 (patch) | |
tree | 7457a91ab126b0fee28c188b5b3486f739456514 | |
parent | 8a4fbf2edfd88128aeead769adb9842338e09623 (diff) | |
download | Qt-dde94b1737e9860838c87d3f432cf76de3157ad7.zip Qt-dde94b1737e9860838c87d3f432cf76de3157ad7.tar.gz Qt-dde94b1737e9860838c87d3f432cf76de3157ad7.tar.bz2 |
Fixed compile on Windows in debug-only mode.
A Qt project can't unconditionally do `CONFIG+=release' or
`CONFIG+=debug' since the release and debug libraries are named
differently on Windows. In this case, CONFIG+=release meant
this project was looking for QtSql.lib, but when Qt is configured
with `-debug', only QtSqld.lib exists.
Reviewed-by: Rhys Weatherley
-rw-r--r-- | tools/qtestlib/chart/chart.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qtestlib/chart/chart.pro b/tools/qtestlib/chart/chart.pro index 6f6e6d5..7328e5d 100644 --- a/tools/qtestlib/chart/chart.pro +++ b/tools/qtestlib/chart/chart.pro @@ -4,7 +4,7 @@ SOURCES += main.cpp RESOURCES = $$PWD/chart.qrc QT += sql xml -CONFIG += console release +CONFIG += console CONFIG -= app_bundle |