laserpants / qt-material-widgets

:art: Qt widgets-based implementation of the Material Design specification.
BSD 3-Clause "New" or "Revised" License
2.94k stars 660 forks source link

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

Open mrboojum opened 6 years ago

mrboojum commented 6 years ago

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