You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Jreen doesn't use jdns library in case of Qt5 as latter has built-in QDnsLookup class. Also what is a benefit of searching jdns by find_package instead of pkg_search_module?
qjdns.pc was renamed to qjdns-qt4.pc in jdns-2.0.3. CMake config file name was not changed. Also cmake config module provides qjdns target which more suitable. With qjdns target no need to explicity set jdns include dir. It enough to do target_link_libraries(${PROJECT_NAME} qjdns). Also cmake is not recommended to use pkg-config when there is cmake module.
jdns/qjdns provides cmake config module. So they should be used instead of pkg-config in CMake. Replace
with
Note. The latest jdns-2.0.3 provides coinstallable Qt4/Qt5 versions of qjdns. So
find_package(QJDns)
is good for both
The text was updated successfully, but these errors were encountered: