laserpants / qt-material-widgets

:art: Qt widgets-based implementation of the Material Design specification.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Examples don't link on windows with visual studio 2015 toolset

mrboojum opened this issue · comments

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