osechet/conan-qt

Linux libs should not be added to cpp_info.libs on Windows

Closed this issue · 0 comments

@Slonegg reported this problem in conan-io/wishlist#2:

I've following issue on VS2013
LINK : fatal error LNK1104: cannot open file 'Qt5X11Extrasd.lib'
I've solved it by removing some libs from CONAN_LIBS:
list(REMOVE_ITEM CONAN_LIBS Qt5X11Extras Qt5X11Extrasd Qt5XcbQpa Qt5XcbQpad)
And I needed to copy platforms/plugins folder to bin