aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/utils.pro
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@digia.com>2013-12-04 07:37:07 +0100
committerDaniel Teske <daniel.teske@digia.com>2014-01-31 12:02:17 +0100
commit0eea7ca90bbf1ee44e836ab8ab3b6aab41dc82a1 (patch)
tree8b8edebd587394a93bfff346ae38fe7f090a734b /src/libs/utils/utils.pro
parent50d93a656789d6e776ecca4adc2e5b487bac0dbc (diff)
Utils: Fix getting a case sensitive path on windows.
Until now we used GetShortPathName which relies on having 8.3 paths. This short path names are converted into long names which also corrects the case. The 8.3 paths can be manually deactivated via the fsutil. When this is done GetShortPathName does not return a convertible path string. If the case isn't corrected on windows we are opening multiple editors for the same file. For example, when reaching a breakpoint when using cdb or opening an entry from the issue panel generated by the msvc compile. Task-number: QTCREATORBUG-11199 Change-Id: Ic04055685e0e9bbe0d45cde20563929b7370695d Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/libs/utils/utils.pro')
-rw-r--r--src/libs/utils/utils.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/utils.pro b/src/libs/utils/utils.pro
index 2b3c85bfac3..c79847b0aaf 100644
--- a/src/libs/utils/utils.pro
+++ b/src/libs/utils/utils.pro
@@ -18,6 +18,6 @@ lessThan(QT_MAJOR_VERSION, 5) {
}
}
-win32: LIBS += -luser32
+win32: LIBS += -luser32 -lshell32
# PortsGatherer
win32: LIBS += -liphlpapi -lws2_32