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 

detailed error messages: detailed error messages

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

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -