Header-Only Doesn't Work?
aprowe opened this issue · 2 comments
aprowe commented
Hi,
Is there any extra steps to get the header only include to work?
I try building my project as instructed with the nzmqt headers, but it seems that the linker complains all of the functions are not implemented.
machinekoder commented
You can take a look at https://github.com/qtquickvcp/QtQuickVcp/tree/master/3rdparty/nzmqt and https://github.com/qtquickvcp/QtQuickVcp/blob/master/src/zeromq.pri for reference.
aprowe commented
Ok thanks, I think the problem was it wasn't added in my HEADERS define in my qt pro file, it was able to find the header for compiling but had linker errors.