diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2019-09-06 05:41:53 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2019-09-06 09:07:01 +0000 |
commit | cf825f2503206f38b97aec8ae1beb52fd7ef4a8d (patch) | |
tree | 0f3851173d8a4333b0af9d95a78719301e7d7ff5 | |
parent | 6c96eb0a20c5c1e88ca45b0a5d5db32d6a2a9fcf (diff) |
Use qtLibraryTargetName to link against KUserFeedback
$$qtLibraryName(KUserFeedbackCore) would return "KUserFeedbackCored4.lib"
on Windows, but the library is called "KUserFeedbackCored.lib".
$$qtLibraryTargetName(KUserFeedbackCore) returns the proper string.
Task-number: QTCREATORBUG-22860
Change-Id: Iffc2511fc91cbb2952d40ce5ad375a32ad94d022
Reviewed-by: Vitaly Fanaskov <vitaly.fanaskov@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r-- | usagestatistic.pro | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usagestatistic.pro b/usagestatistic.pro index 73526c3..7126239 100644 --- a/usagestatistic.pro +++ b/usagestatistic.pro @@ -149,11 +149,11 @@ QTC_PLUGIN_RECOMMENDS += \ include($$IDE_SOURCE_TREE/src/qtcreatorplugin.pri) -# Put it here to use qtLibraryName function without extra hacks +# Put it here to use qtLibraryTargetName function without extra hacks LIBS *= -L"$$shell_path($${KUSERFEEDBACK_INSTALL_PATH}/lib)" \ - -l$$qtLibraryName(KUserFeedbackCore) \ - -l$$qtLibraryName(KUserFeedbackWidgets) \ - -l$$qtLibraryName(KUserFeedbackCommon) + -l$$qtLibraryTargetName(KUserFeedbackCore) \ + -l$$qtLibraryTargetName(KUserFeedbackWidgets) \ + -l$$qtLibraryTargetName(KUserFeedbackCommon) FORMS += \ ui/usagestatisticwidget.ui \ |