[x] Fix doxygen warnings (see log when building with -DBUILD_DOCUMENTATION=ON)
[x] Update doc/doap.xml
[x] Add unit tests
[x] Format the code: Run clang-format -i src/<edited-file(s)> tests/<edited-file(s)>
This commit adds the ability to chose Qt Major Version from outside of the project.
The way it's written right now if a host have some Qt6 packages installed qxmpp automatically builds against Qt6 and there is no other way to affect it apart from patches (read the comments here)
The way I suggest it's going to change nothing by default but if someone is building qxmpp from other CMake project qxmpp is going to be build to the corresponding version of Qt of the parent project. This also is going to enable a way to quickly change Qt version with cmake build flags like -D QT_MAJOR_VERSION=5 or -D QT_MAJOR_VERSION=6
PR check list:
\since QXmpp 1.X
,QXMPP_EXPORT
-DBUILD_DOCUMENTATION=ON
)doc/doap.xml
clang-format -i src/<edited-file(s)> tests/<edited-file(s)>
This commit adds the ability to chose Qt Major Version from outside of the project.
The way it's written right now if a host have some Qt6 packages installed qxmpp automatically builds against Qt6 and there is no other way to affect it apart from patches (read the comments here)
The way I suggest it's going to change nothing by default but if someone is building qxmpp from other CMake project qxmpp is going to be build to the corresponding version of Qt of the parent project. This also is going to enable a way to quickly change Qt version with cmake build flags like
-D QT_MAJOR_VERSION=5
or-D QT_MAJOR_VERSION=6