Examples don't link on windows with visual studio 2015 toolset
mrboojum opened this issue · comments
mrboojum commented
The examples don't link on windows with visual studio 2015 toolset. In the examples.pro the dependency on the component library is specified as libcomponents.a. However the visual studio toolset generates a components.lib file. Changing the name in the examples. pro resolves this porblem for the visual studio toolset (but brake the mingw 32 build). My qmake knowledge is too limited to provide a general solution.
LIBS += $$top_builddir/components/$(OBJECTS_DIR)/components.lib
PRE_TARGETDEPS += $$top_builddir/components/$(OBJECTS_DIR)/components.lib