If I run the qmake/hello-world example in debug mode, but it's linked to the tufao1.dll (release mode), courtesy of the LIBS line in tufao1.prf, it behaves weirdly: it runs without errors, it accepts connections on the nominated port, but never serves anything, and the lambda is never executed.
If I link to the debug DLL it's fine. Something like this in the .pro file does the trick (instead of what's in the prf):
win32 {
CONFIG(debug, debug|release): LIBS += -ltufao1d
CONFIG(release, debug|release): LIBS += -ltufao1
}
Following on from Issue #77 , I compiled up both debug and release flavours:
cmake --build . --target install --config debug cmake --build . --target install --config release
If I run the qmake/hello-world example in debug mode, but it's linked to the tufao1.dll (release mode), courtesy of the LIBS line in tufao1.prf, it behaves weirdly: it runs without errors, it accepts connections on the nominated port, but never serves anything, and the lambda is never executed.
If I link to the debug DLL it's fine. Something like this in the .pro file does the trick (instead of what's in the prf): win32 { CONFIG(debug, debug|release): LIBS += -ltufao1d CONFIG(release, debug|release): LIBS += -ltufao1 }