visual studio 2013 - Is it possible to statically link against dynamically linked Qt? -
i have been wondering wether possible link different libraries dynamically , statically @ same time? when have been trying link qt5 (dynamically linked) against other libraries can compiled statically , couldn't work because of error , few other errors complaining multiple definitions of symbols in msvcrtd.lib
:
qtmaind.lib(qtmain_win.obj):-1: error: lnk2038: mismatch detected "runtimelibrary": value "mdd_dynamicdebug" doesn't match value "mtd_staticdebug" in main.obj
i absolutely sure built libraries statically , added qmake_cflags_debug += /mtd
, qmake_cxxflags_debug += /mtd
.pro file.
is not possible mix dynamic , static linking (in qt) or doing wrong?
- qt version: qt 5.5.1 64bit
- compiler: msvc2013 64bit
Comments
Post a Comment